Browse Source

neercs: do not ignore alpha in the simple shader.

master
Sam Hocevar 12 years ago
parent
commit
08019e487f
1 changed files with 8 additions and 7 deletions
  1. +8
    -7
      neercs/video/simple.lolfx

+ 8
- 7
neercs/video/simple.lolfx View File

@@ -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);
}


Loading…
Cancel
Save