Files
RedScarfEngine/shaders/shader.frag
T
Piotr Krygier 34665e1c2e Change vertex buffer handling
Previously vertex data was only in shaders. I have removed it from there
and put hardcoded vertex data into cpp source code.
2022-12-14 14:16:30 +01:00

8 lines
147 B
GLSL

#version 450
layout(location = 0) in vec3 fragColor;
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(fragColor, 1.0);
}