From a6e278ca2153622942c9e8ce3023704be46e4e35 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 12 Dec 2012 18:45:07 +0000 Subject: [PATCH] fix for fussy drivers. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4162 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/shaders/glsl/altwater.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/shaders/glsl/altwater.glsl b/engine/shaders/glsl/altwater.glsl index 02e3f609a..b3cc932c0 100644 --- a/engine/shaders/glsl/altwater.glsl +++ b/engine/shaders/glsl/altwater.glsl @@ -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