The-Powder-Toy/build/test.frag
2011-10-20 00:36:55 +01:00

6 lines
165 B
GLSL

uniform sampler2D fireAlpha;
void main () {
vec4 texColor = texture2D(fireAlpha, gl_PointCoord);
gl_FragColor = vec4(gl_Color.rgb, texColor.a*gl_Color.a);
}