Crest Water 4 (URP Only)
Open the Ocean.shader file. Then find the blue line and add the yellow code.
Cull [_CullMode] Stencil { Ref 221 Comp Always Pass Replace }
#include "Lighting.cginc" #include "Packages/com.distantlands.cozy.core/Runtime/Shaders/Includes/StylizedFogIncludes.cginc"
if (!underwater) {
//Find this line and comment it out
// col = MixFog(col, input.positionWS_fogFactor.w); col = BlendStylizedFog(input.positionWS_fogFactor, float4(col.xyz, 1)); }
Last updated
Was this helpful?