From 68ca28d043baf4804ed8621dbb4098ca33f73a20 Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Mon, 23 Feb 2015 20:57:53 +0100 Subject: [PATCH] Fixed lava patches in darknened zones (like a pyroclast daikara + thunderstorm) --- game/modules/tome/data/gfx/shaders/lava.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/data/gfx/shaders/lava.frag b/game/modules/tome/data/gfx/shaders/lava.frag index 8da65f91ec..a9999fb974 100644 --- a/game/modules/tome/data/gfx/shaders/lava.frag +++ b/game/modules/tome/data/gfx/shaders/lava.frag @@ -7,5 +7,5 @@ void main(void) vec4 color1 = vec4(1,1,1,1); vec4 color2 = vec4(1,0.8,1,1); gl_FragColor = mix(color1, color2, smoothstep(0.3,0.7,abs(mod(fTime0_X,2.0)-1.0))); - gl_FragColor *= texture2D(tex, gl_TexCoord[0].xy); + gl_FragColor *= texture2D(tex, gl_TexCoord[0].xy) * gl_Color; } -- GitLab