Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
10 lines
No EOL
265 B
GLSL
10 lines
No EOL
265 B
GLSL
// this shader program sets values into a mosaic texture
|
|
// which is the same size as the screen (frame buffer)
|
|
|
|
uniform sampler2D radarData;
|
|
|
|
void main(void)
|
|
{
|
|
vec4 radarVal = texture2D(radarData,gl_TexCoord[0].st);
|
|
gl_FragColor = vec4(radarVal.r,0.0,0.0,1.0);
|
|
} |