Go to the source code of this file.
◆ fragment_source
const char* fragment_source |
|
static |
Initial value: varying vec2 vTex;
uniform float uMix;
gl_FragColor = vec4(
pow(mix(
pow(texture2D(sTex0, vTex).rgb, vec3(2.2)),
pow(texture2D(sTex1, vTex).rgb, vec3(2.2)), uMix), vec3(1.0 / 2.2)), 1.0);
}
)
sampler2DBase< glm::vec4 > sampler2D
Definition: sampler.hpp:94
#define GLSL(src)
Definition: shaders_common.h:10
int main(int argc, char *argv[])
Definition: send-presence.c:197
#define pow(x, y)
Definition: math.h:22