Files
sophia/sandbox/shaders/triangle.frag
T
2026-10-07 11:51:14 -07:00

14 lines
196 B
GLSL

#version 450
//shader input
layout (location = 0) in vec3 inColor;
//output write
layout (location = 0) out vec4 outFragColor;
void main()
{
//return red
outFragColor = vec4(inColor,1.0f);
}