From 08019e487fa8b387927c8f34c6fc34026b398381 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 5 Jul 2012 21:47:53 +0000 Subject: [PATCH] neercs: do not ignore alpha in the simple shader. --- neercs/video/simple.lolfx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/neercs/video/simple.lolfx b/neercs/video/simple.lolfx index 9e33b46..b630c9d 100644 --- a/neercs/video/simple.lolfx +++ b/neercs/video/simple.lolfx @@ -3,10 +3,10 @@ #version 120 void main() - { - gl_Position=gl_Vertex; - gl_TexCoord[0]=gl_MultiTexCoord0; - } +{ + gl_Position = gl_Vertex; + gl_TexCoord[0] = gl_MultiTexCoord0; +} -- GLSL.Frag -- @@ -15,6 +15,7 @@ void main() uniform sampler2D texture; void main(void) - { - gl_FragColor=vec4(texture2D(texture,gl_TexCoord[0].xy).xyz,1.0); - } +{ + gl_FragColor = texture2D(texture, gl_TexCoord[0].xy); +} +