rectangle render

This commit is contained in:
2025-11-24 09:22:10 +00:00
parent a17b76f366
commit a786d26dde
5 changed files with 223 additions and 1 deletions

8
shaders/triangle.frag Normal file
View File

@@ -0,0 +1,8 @@
#version 330 core
out vec4 FragColor;
in vec3 color; // Input color from the vertex shader
void main() {
FragColor = vec4(color, 1.0); // Apply the color directly
}