You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
555 B

#version 330 core
uniform sampler2D texture;
varying vec2 vTexCoord;
varying vec3 color;
void main()
{
if(texture2D(texture, vTexCoord).w == 0)
discard;
gl_FragColor = vec4(color.x,color.y,color.z,1);
}