Files
Mindustry/core/assets/shaders/cubemap.vert
summetdev a3abadd8c2 Revert "Newlines"
This reverts commit a78faa57
2020-10-27 21:55:40 +03:00

12 lines
206 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);
}