RetroArch-Wii-U-Slang-Shaders/auto-box/box-center.frag
2020-04-26 18:03:54 -05:00

30 lines
398 B
GLSL

#version 150
#define float2 vec2
#define float3 vec3
#define float4 vec4
layout(std140) uniform UBO
{
vec4 SourceSize;
vec4 OriginalSize;
vec4 OutputSize;
uint FrameCount;
mat4 MVP;
}global;
layout(location = 0) in vec2 vTexCoord;
layout(location = 0) out vec4 FragColor;
uniform sampler2D Source;
void main()
{
FragColor = vec4(texture(Source, vTexCoord). rgb, 1.0);
}