This commit is contained in:
Anuken
2020-05-06 19:07:37 -04:00
parent 8b5adca750
commit 5aec051d9b
8 changed files with 515 additions and 288 deletions

12
core/assets/shaders/mesh.vert Executable file
View File

@@ -0,0 +1,12 @@
attribute vec4 a_position;
attribute vec3 a_normal;
attribute vec4 a_color;
uniform mat4 u_proj;
varying vec4 v_col;
void main(){
v_col = a_color;
gl_Position = u_proj * a_position;
}