RetroArch
Variables
ffmpeg_es.glsl.frag.h File Reference
#include "shaders_common.h"
Include dependency graph for ffmpeg_es.glsl.frag.h:

Go to the source code of this file.

Variables

static const char * fragment_source
 

Variable Documentation

◆ fragment_source

const char* fragment_source
static
Initial value:
= GLSL(
varying vec2 vTex;
uniform sampler2D sTex0;
uniform sampler2D sTex1;
uniform float uMix;
void main() {
gl_FragColor = vec4(pow(mix(pow(texture2D(sTex0, vTex).bgr, vec3(2.2)), pow(texture2D(sTex1, vTex).bgr, 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