mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-20 07:50:45 +00:00
11 lines
154 B
GLSL
11 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));
|
||
|
}
|