quakeforge/libs/video/renderer/glsl/quakepnt.frag
2012-01-04 18:47:03 +09:00

10 lines
154 B
GLSL

//precision mediump float;
varying float color;
void
main (void)
{
if (color == 1.0)
discard;
gl_FragColor = texture2D (palette, vec2 (pix, 0.5));
}