Files
kaizen/backends/sdlgpu3/shader.frag
SimoZ64 f5d634a5f6 Squashed 'external/imgui/' content from commit f4d935909
git-subtree-dir: external/imgui
git-subtree-split: f4d9359095eff3eb03f685921edc1cf0e37b1687
2025-04-15 09:33:17 +02:00

16 lines
249 B
GLSL

#version 450 core
layout(location = 0) out vec4 fColor;
layout(set=2, binding=0) uniform sampler2D sTexture;
layout(location = 0) in struct
{
vec4 Color;
vec2 UV;
} In;
void main()
{
fColor = In.Color * texture(sTexture, In.UV.st);
}