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.
13 lines
185 B
13 lines
185 B
varying vec2 V_Texcoord;
|
|
|
|
uniform sampler2D U_MainTexture;
|
|
|
|
void main()
|
|
{
|
|
vec4 color = texture2D(U_MainTexture, V_Texcoord);
|
|
|
|
if(color.r > 2.0){
|
|
discard;
|
|
}
|
|
gl_FragColor = color;
|
|
}
|