mirror of
https://github.com/libretro/RetroArch
synced 2025-02-13 03:40:33 +00:00
git-subtree-dir: deps/SPIRV-Cross git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
21 lines
630 B
GLSL
21 lines
630 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
precision highp int;
|
|
|
|
layout(location = 0) uniform mediump sampler2D samp;
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
layout(location = 2) in vec2 vUV;
|
|
layout(location = 1) in vec3 vNormal;
|
|
|
|
void main()
|
|
{
|
|
FragColor = vec4(texture(samp, vUV).xyz, 1.0);
|
|
FragColor = vec4(texture(samp, vUV).xz, 1.0, 4.0);
|
|
FragColor = vec4(texture(samp, vUV).xx, texture(samp, vUV + vec2(0.100000001490116119384765625)).yy);
|
|
FragColor = vec4(vNormal, 1.0);
|
|
FragColor = vec4(vNormal + vec3(1.7999999523162841796875), 1.0);
|
|
FragColor = vec4(vUV, vUV + vec2(1.7999999523162841796875));
|
|
}
|
|
|