1
0
forked from 0ad/0ad

Fix a shader glitch I left in when removing conditional defines. Fixes #3119 .

We ought to add more anisotropic filtering on normal textures with
parallax too or it breaks the effect too quickly.

This was SVN commit r16821.
This commit is contained in:
wraitii 2015-06-28 13:16:05 +00:00
parent e0838c5326
commit dc29884f6e

View File

@ -129,7 +129,7 @@ void main()
float height = 1.0;
float scale = effectSettings.z;
int iter = int(min(30, 70.0/dist));
int iter = int(min(20, 25.0 - dist/10.0));
if (iter > 0.01)
{