mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
resources paths refact
This commit is contained in:
parent
12db8a1448
commit
2ee9e33c6d
20 changed files with 19 additions and 8 deletions
16
res/ui.glslv
16
res/ui.glslv
|
|
@ -1,16 +0,0 @@
|
|||
#version 330 core
|
||||
|
||||
layout (location = 0) in vec2 v_position;
|
||||
layout (location = 1) in vec2 v_textureCoord;
|
||||
layout (location = 2) in vec4 v_color;
|
||||
|
||||
out vec2 a_textureCoord;
|
||||
out vec4 a_color;
|
||||
|
||||
uniform mat4 u_projview;
|
||||
|
||||
void main(){
|
||||
a_textureCoord = v_textureCoord;
|
||||
a_color = v_color;
|
||||
gl_Position = u_projview * vec4(v_position, 0.5, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue