mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 15:19:24 +07:00
17 lines
301 B
GLSL
17 lines
301 B
GLSL
uniform mat4 u_projTrans;
|
|
|
|
attribute vec4 a_position;
|
|
attribute vec2 a_texCoord0;
|
|
attribute vec4 a_color;
|
|
|
|
varying vec4 v_color;
|
|
varying vec2 v_texCoord;
|
|
|
|
uniform vec2 u_viewportInverse;
|
|
|
|
void main() {
|
|
gl_Position = u_projTrans * a_position;
|
|
v_texCoord = a_texCoord0;
|
|
v_color = a_color;
|
|
}
|