mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
Add files via upload
This commit is contained in:
commit
e1cdcf01e9
49 changed files with 2866 additions and 0 deletions
13
res/lines.glslv
Normal file
13
res/lines.glslv
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 330 core
|
||||
|
||||
layout (location = 0) in vec3 a_position;
|
||||
layout (location = 1) in vec4 a_color;
|
||||
|
||||
out vec4 v_color;
|
||||
|
||||
uniform mat4 projview;
|
||||
|
||||
void main(){
|
||||
v_color = a_color;
|
||||
gl_Position = projview * vec4(a_position, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue