19 lines
644 B
GLSL
Executable file
19 lines
644 B
GLSL
Executable file
uniform sampler2DRect particles0;
|
|
uniform sampler2DRect particles1;
|
|
uniform sampler2DRect particles2;
|
|
|
|
uniform sampler2DRect u_depth;
|
|
uniform sampler2DRect u_world;
|
|
uniform sampler2DRect u_v4l2cam;
|
|
uniform sampler2DRect imageTexture;
|
|
|
|
in vec2 texCoordVarying;
|
|
in float vTemperature;
|
|
|
|
void main()
|
|
{
|
|
fragColor = vec4(1);//vec4(texture(u_world, texCoordVarying.st).rgb,1);
|
|
// fragColor = vec4(texCoordVarying.st/100,1.0,1.0);//vec4(texture(u_world, texCoordVarying.st).rgb,1);
|
|
// fragColor = vec4(texture(u_v4l2cam, texCoordVarying.st).rgb,1);
|
|
fragColor = vec4(texture(imageTexture, vec2(vTemperature*1024, 0.5)).xyz,1);
|
|
}
|