DevVlog 22 - Shader Debugging (Missing Depth Pass)

Published: 16 April 2022
on channel: Matt Whiting
627
7

One of our AGP teams (Skylost) has a bug with their custom grass shader.
The grass appears semi-transparent, but it should be opaque.
It turned out to be an interaction between the grass and the fog shaders.
The fog shader relies on the depth pre-pass, and the grass didn't have one set up.
In Unity URP, there are separate shaders for the various passes, and that includes the depth pre-pass.


On this page of the site you can watch the video online DevVlog 22 - Shader Debugging (Missing Depth Pass) with a duration of hours minute second in good quality, which was uploaded by the user Matt Whiting 16 April 2022, share the link with friends and acquaintances, this video has already been watched 627 times on youtube and it was liked by 7 viewers. Enjoy your viewing!