Load shaders from file

This commit is contained in:
abdelrahman committed 2024-09-21 18:01:11 +01:00
1 parent 0b7da3fad7
commit a711521f17
3 files changed
+40 -19

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#version 460 core
out vec4 color;
void main() {
color = vec4(0.93f, 0.42f, 0.35f, 1.0f);
};
+7
View File
@@ -0,0 +1,7 @@
#version 460 core
in vec4 position;
void main() {
gl_Position = vec4(position.x, position.y, position.z, position.w);
};