Added written basic shaders

This commit is contained in:
2026-01-11 19:06:12 +01:00
parent d2db31292a
commit 85df7154a7
3 changed files with 15 additions and 0 deletions

6
build/shader.f Normal file
View File

@@ -0,0 +1,6 @@
#version 460 core
out vec4 FragColor;
void main(){
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
}

7
build/shader.v Normal file
View File

@@ -0,0 +1,7 @@
#version 460 core
layout (location = 0) in vec3 aPos;
void main(){
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
}