quakeforge/libs/video/renderer/glsl/quakepar.frag
Bill Currie 8345f07db2 Implement QF style particles.
Actually looks pretty good against the sw style world.
2012-01-21 19:51:18 +09:00

11 lines
163 B
GLSL

//precision mediump float;
uniform sampler2D texture;
varying vec4 color;
varying vec2 st;
void
main (void)
{
gl_FragColor = texture2D (texture, st) * color;
}