Fixes #1714. Also updates the Mediterranean Cove map water settings.
This was SVN commit r12831.
This commit is contained in:
parent
c722fbd93f
commit
669b7e6e2c
BIN
binaries/data/mods/public/maps/scenarios/Mediterranean_Cove.xml
(Stored with Git LFS)
BIN
binaries/data/mods/public/maps/scenarios/Mediterranean_Cove.xml
(Stored with Git LFS)
Binary file not shown.
@ -174,7 +174,7 @@ void main()
|
||||
float distoFactor = clamp((waterDepth/v.y)/4.0,0.0,7.0);
|
||||
#endif
|
||||
|
||||
fresnel = pow(1.0 - ndotv, 1.3333); // approximation
|
||||
fresnel = pow(1.05 - ndotv, 1.3333); // approximation. I'm using 1.05 and not 1.0 because it causes artifacts, see #1714
|
||||
|
||||
#if USE_FOAM
|
||||
// texture is rotated 90°, moves slowly.
|
||||
|
Loading…
Reference in New Issue
Block a user