You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Do you know any way to be makin the voumetric fog with a cut out shader ?
Since you said it need to write to depth texture and standard cutout doesn't.
Thanks !
Baptiste
The text was updated successfully, but these errors were encountered:
Implement a pass with tag "LightMode"="ShadowCaster", in that pass render your geometry in grey scale color using z coordinate, and do alpha testing to discard transparent pixels.
This way, when Unity renders depth pass, your material will appear with depth and transparent pixels discarded.
Hi,
Do you know any way to be makin the voumetric fog with a cut out shader ?
Since you said it need to write to depth texture and standard cutout doesn't.
Thanks !
Baptiste
The text was updated successfully, but these errors were encountered: