shaders/default.frag
branchv_0
changeset 15 1eb7cfefbeea
parent 14 ceeb36fad818
child 18 c4384f43c739
equal deleted inserted replaced
14:ceeb36fad818 15:1eb7cfefbeea
    13 void main(){
    13 void main(){
    14 	fColor = texture(uTexture, vTextureXY).rgba;
    14 	fColor = texture(uTexture, vTextureXY).rgba;
    15 	// fColor = grayscale(fColor);
    15 	// fColor = grayscale(fColor);
    16 	// fColor *= vec4(0.8, 1., 0.2, 1.);
    16 	// fColor *= vec4(0.8, 1., 0.2, 1.);
    17 
    17 
    18 	if (fColor.a < 0.1) discard;
    18 	// if (fColor.a < 0.1) discard;
    19 }
    19 }