mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
ep2: Finish input system+opengl window+glsl compilation
This commit is contained in:
8
res/shaders/simple.frag.glsl
Executable file
8
res/shaders/simple.frag.glsl
Executable file
@ -0,0 +1,8 @@
|
||||
#version 460
|
||||
|
||||
out vec4 FragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = vec4(1, 0, 0, 1.0);
|
||||
}
|
||||
8
res/shaders/simple.vert.glsl
Executable file
8
res/shaders/simple.vert.glsl
Executable file
@ -0,0 +1,8 @@
|
||||
#version 460
|
||||
|
||||
in vec3 vertPos;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(vertPos, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user