The-Powder-Toy/build/test.frag

6 lines
165 B
GLSL
Raw Normal View History

2011-10-19 18:36:55 -05:00
uniform sampler2D fireAlpha;
2011-10-19 18:35:24 -05:00
void main () {
vec4 texColor = texture2D(fireAlpha, gl_PointCoord);
gl_FragColor = vec4(gl_Color.rgb, texColor.a*gl_Color.a);
}