mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-09 06:37:30 +07:00
14 lines
244 B
GLSL
14 lines
244 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;
|
|
}
|