6 lines
165 B
GLSL
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);
|
|
}
|