mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
much less underwater distortion
This commit is contained in:
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…
x
Reference in New Issue
Block a user