mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-18 02:31:31 +00:00
10 lines
154 B
GLSL
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));
|
|
}
|