Late init
This commit is contained in:
7
assets/shaders/fragment.glsl
Normal file
7
assets/shaders/fragment.glsl
Normal file
@@ -0,0 +1,7 @@
|
||||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
|
||||
void main() {
|
||||
FragColor = vec4(1.0, 1.0, 1.0, 1.0);
|
||||
}
|
||||
8
assets/shaders/vertex.glsl
Normal file
8
assets/shaders/vertex.glsl
Normal file
@@ -0,0 +1,8 @@
|
||||
#version 330 core
|
||||
layout (location =0) in vec3 aPos;
|
||||
|
||||
uniform mat4 proj;
|
||||
|
||||
void main() {
|
||||
gl_Position = vec4(aPos, 1.0) * proj;
|
||||
}
|
||||
Reference in New Issue
Block a user