Shader compilation, uniforms, vertex buffers and notes.
This commit is contained in:
8
assets/shaders/glsl/triangles_from_buffer.vert
Normal file
8
assets/shaders/glsl/triangles_from_buffer.vert
Normal file
@@ -0,0 +1,8 @@
|
||||
#version 460
|
||||
|
||||
layout(location = 0) in vec2 i_position;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(i_position, 0.0, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user