My project uses URP. After migrating to Unity 6, I set Rendering Path to Forward+, because it is a requirement to enable the rendering option - GPU Resident Drawer. With Forward+ water shader doesn’t display foam and blending between top and bottom water colors doesn’t work. After switching back to Forward it works as expected. Unity 6000.0.23. Is this a Unity bug or do I need to fix something in the shader settings?
After updating to version 6000.0.24 the shader partially broke even when setting “Forward” is set.
I found a strange solution, if I turn on the gizmo button in the game window, the shader works completely with both foam and depth effect, mixing two colors. Why is this happening?
it has to do with the depth buffer, that’s all i can tell you. my water shader doesn’t quite work until i enter playmode, for what it’s worth.
you might have to initialize it, but i’m not a urp user.
Depth Texture is enabled in the URP settings. Main Camera’s Depth Texture uses URP settings. I did not have such problems with this URP water shader in the Unity 2022.3. In the 6000.0.24 shader works with Forward+ setting. But requires Gizmo to be enabled (I do not understand why).