mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-09 06:37:30 +07:00
13 lines
207 B
GLSL
13 lines
207 B
GLSL
attribute vec3 a_position;
|
|
|
|
varying vec3 v_texCoords;
|
|
|
|
uniform mat4 u_proj;
|
|
|
|
const float SCALE = 50.0;
|
|
|
|
void main(){
|
|
v_texCoords = a_position;
|
|
gl_Position = u_proj * vec4(a_position * SCALE, 1.0);
|
|
}
|