1
0
forked from 0ad/0ad

Fixes #1714. Also updates the Mediterranean Cove map water settings.

This was SVN commit r12831.
This commit is contained in:
wraitii 2012-11-07 15:40:34 +00:00
parent c722fbd93f
commit 669b7e6e2c
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -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.