mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-10 15:20:25 +07:00
14 lines
255 B
GLSL
14 lines
255 B
GLSL
|
attribute vec4 a_position;
|
||
|
attribute vec4 a_color;
|
||
|
attribute vec2 a_texCoord0;
|
||
|
|
||
|
uniform mat4 u_projTrans;
|
||
|
|
||
|
varying vec2 v_texCoord;
|
||
|
varying vec4 tint;
|
||
|
|
||
|
void main() {
|
||
|
tint = a_color;
|
||
|
v_texCoord = a_texCoord0;
|
||
|
gl_Position = u_projTrans * a_position;
|
||
|
}
|