riiablo/mpqviewer/assets/shaders/indexpalette3.vert

14 lines
255 B
GLSL
Raw Normal View History

2019-01-12 16:04:56 +07:00
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;
}