Mindustry/core/assets/shaders/planetgrid.vertex.glsl
2020-02-26 14:44:06 -05:00

13 lines
242 B
GLSL

attribute vec4 a_position;
attribute vec4 a_color;
uniform mat4 u_projModelView;
varying vec4 v_col;
varying vec4 v_position;
void main() {
gl_Position = u_projModelView * a_position;
v_col = a_color;
v_position = a_position;
}