mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Actual 3D block icons
This commit is contained in:
parent
cfda17e21d
commit
1fda002e0b
5 changed files with 81 additions and 61 deletions
|
|
@ -6,9 +6,10 @@ out vec2 a_textureCoord;
|
|||
out vec4 a_color;
|
||||
|
||||
uniform mat4 u_projview;
|
||||
uniform mat4 u_apply;
|
||||
|
||||
void main(){
|
||||
a_textureCoord = v_textureCoord;
|
||||
a_color = v_color;
|
||||
gl_Position = u_projview * vec4(v_position, 1.0);
|
||||
gl_Position = u_apply * u_projview * vec4(v_position, 1.0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue