You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
precision highp float;
|
|
varying vec2 texCoords;
|
|
uniform sampler2D textureSampler;
|
|
uniform vec3 drawColor;
|
|
|
|
void main() {
|
|
vec4 textureColor = texture2D(textureSampler, texCoords);
|
|
|
|
gl_FragColor = vec4(drawColor, textureColor.a * 255.0);
|
|
}
|