mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 15:31:49 +00:00
refactor res/shaders
This commit is contained in:
parent
52381d5afa
commit
8e159009eb
16 changed files with 85 additions and 61 deletions
|
|
@ -8,7 +8,7 @@ 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);
|
||||
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