Finished OpenGL rewrite§
This commit is contained in:
parent
86468a9ce4
commit
f634d70a2f
448 changed files with 111254 additions and 127 deletions
13
shaders/grid.vert
Normal file
13
shaders/grid.vert
Normal file
|
@ -0,0 +1,13 @@
|
|||
#version 460 core
|
||||
|
||||
layout (location = 0) in vec3 aPos;
|
||||
layout (location = 1) in float aArg;
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 view;
|
||||
uniform mat4 projection;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0f);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue