Mindustry/core/assets/shaders/atmosphere.vert
2020-03-29 17:08:25 -04:00

13 lines
243 B
GLSL

attribute vec4 a_position;
varying vec4 v_position;
varying mat4 v_model;
uniform mat4 u_model;
uniform mat4 u_projection;
void main(){
v_position = a_position;
v_model = u_model;
gl_Position = u_projection*u_model*a_position;
}