mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 21:49:55 +00:00
much less underwater distortion
This commit is contained in:
parent
c169f9e171
commit
114e8ae2a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue