/parallax_unity

Testing pallax view with cinemachine camera in Unity

Primary LanguageC#

Parallax effect

Simulation of depth of field with parallax effect applying movement to different background layers. This technique is based on an optical illusion, the further away the elements are, the smaller we see them.


Taking as a reference the camera that follows the character, a higher or lower multiplier is applied to each layer depending on how far away we want to place it. In this case, the Cinemachine package has been used to achieve the effect.