mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 07:07:03 +07:00
13 lines
243 B
GLSL
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;
|
|
} |