sdl3.c3l/test/shaders/source/SolidColor.frag.glsl

9 lines
220 B
GLSL

#version 450 core
layout(location = 0) in vec4 Color; // Explicit location for fragment input
layout(location = 0) out vec4 FragColor; // Explicit location for fragment output
void main()
{
FragColor = Color;
}