mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
9baba9adcd
commit
a7e1ddf04b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue