Too much changes
This commit is contained in:
16
shaders/ui_base.vs
Normal file
16
shaders/ui_base.vs
Normal file
@@ -0,0 +1,16 @@
|
||||
#version 120
|
||||
|
||||
attribute vec2 a_position;
|
||||
attribute vec2 a_texcoord;
|
||||
attribute vec4 a_color;
|
||||
|
||||
varying vec2 v_texcoord;
|
||||
varying vec4 v_color;
|
||||
|
||||
uniform mat4 u_projectionMatrix;
|
||||
|
||||
void main() {
|
||||
v_texcoord = a_texcoord;
|
||||
v_color = a_color;
|
||||
gl_Position = u_projectionMatrix * vec4(a_position.xy,0,1);
|
||||
}
|
||||
Reference in New Issue
Block a user