Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
16 lines
No EOL
445 B
GLSL
16 lines
No EOL
445 B
GLSL
// this shader program sets values into a mosaic texture
|
|
// which is the same size as the screen (frame buffer)
|
|
// Use depth buffer texture
|
|
|
|
uniform sampler2D radarData;
|
|
uniform sampler2D mosaicTexture;
|
|
uniform sampler2D depthTexture;
|
|
uniform int height;
|
|
uniform int width;
|
|
|
|
void main(void)
|
|
{
|
|
// TODO: Mimic mosaicMax except use depthTexture to look up current
|
|
// depth buffer info (which will actually store the current distance
|
|
|
|
} |