From 114e8ae2a02b54f3cb34945cba13816e69cbb923 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 6 Apr 2012 16:45:45 +0200 Subject: [PATCH] much less underwater distortion --- files/water/GlassFP.cg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/water/GlassFP.cg b/files/water/GlassFP.cg index 0ce343b0a..1e6c53984 100644 --- a/files/water/GlassFP.cg +++ b/files/water/GlassFP.cg @@ -9,7 +9,7 @@ float4 main_ps(float2 iTexCoord : TEXCOORD0, 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) + tintColour ; }