much less underwater distortion

actorid
scrawl 13 years ago
parent c169f9e171
commit 114e8ae2a0

@ -9,7 +9,7 @@ float4 main_ps(float2 iTexCoord : TEXCOORD0,
float4 normal = tex2D(NormalMap, noiseCoord) * 2 - 1; float4 normal = tex2D(NormalMap, noiseCoord) * 2 - 1;
return tex2D(RT, iTexCoord + normal.xy * 0.05) + return tex2D(RT, iTexCoord + normal.xy * 0.015) +
(tex2D(CausticMap, noiseCoord) / 5) + (tex2D(CausticMap, noiseCoord) / 5) +
tintColour ; tintColour ;
} }

Loading…
Cancel
Save