mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
e062b98088
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
13 lines
372 B
C
13 lines
372 B
C
#include "shaders_common.h"
|
|
|
|
static const char *fragment_source = GLSL(
|
|
varying vec2 vTex;
|
|
uniform sampler2D sTex0;
|
|
uniform sampler2D sTex1;
|
|
uniform float uMix;
|
|
|
|
void main() {
|
|
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);
|
|
}
|
|
);
|