Unity-Technologies / BoatAttack

Demo Project using the Universal RP from Unity3D
Other
2.54k stars 954 forks source link

Fix and improve shadows on the water #130

Closed Verasl closed 3 years ago

Verasl commented 3 years ago

Shadow on the water shader had issue since it was not wrapped in the correct keywords to disable them when the keyword itself is disabled. Took this opportunity to also tweak the shadows themselves, now rather than just simply blueing with the blue noise texture, they are stretched with the view direction, this gives the illusion of volumetric shadowing in the water volume.