added uniforms and played with vsync

This commit is contained in:
MichaelFisher1997
2025-01-08 22:04:07 +00:00
parent 13d3b73357
commit c8764b135a
3 changed files with 28 additions and 6 deletions

View File

@@ -9,6 +9,9 @@ void main() {
#shader fragment
#version 330 core
layout(location = 0) out vec4 color;
uniform vec4 u_Color;
void main() {
color = vec4(0.2, 0.3, 0.8, 1.0);
color = u_Color;
};