Mindustry/core/assets/shaders/mesh.vert
2020-05-06 19:07:37 -04:00

13 lines
192 B
GLSL
Executable File

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;
}