fix for fussy drivers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4162 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2532507afd
commit
a6e278ca21
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ void main (void)
|
|||
n -= 1.0 - 4.0/256.0;
|
||||
|
||||
#ifdef RIPPLEMAP
|
||||
n += texture2D(s_t3, stc)*3;
|
||||
n += texture2D(s_t3, stc).rgb*3.0;
|
||||
#endif
|
||||
|
||||
//the fresnel term decides how transparent the water should be
|
||||
|
|
Loading…
Reference in a new issue