progress
This commit is contained in:
12
core/assets/shaders/mesh.vert
Executable file
12
core/assets/shaders/mesh.vert
Executable 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;
|
||||
}
|
||||
Reference in New Issue
Block a user