fix non-compliant glsl casts (always test on something that isn't nvidia!).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4091 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-07-21 23:34:48 +00:00
parent 9baba9adcd
commit a7e1ddf04b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void main (void)
ntc.t = tc.t + sin(tc.s+e_time)*0.125;
//generate the two wave patterns from the normalmap
n = (texture2D(s_t1, TXSCALE*tc + vec2(e_time*0.1, 0)).xyz);
n = (texture2D(s_t1, TXSCALE*tc + vec2(e_time*0.1, 0.0)).xyz);
n += (texture2D(s_t1, TXSCALE*tc - vec2(0, e_time*0.097)).xyz);
n -= 1.0 - 4.0/256.0;