first commit
This commit is contained in:
11
content/shaders/ui_tex.ps
Normal file
11
content/shaders/ui_tex.ps
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 120
|
||||
|
||||
varying vec2 v_texcoord;
|
||||
varying vec4 v_color;
|
||||
|
||||
uniform sampler2D u_texture;
|
||||
|
||||
void main() {
|
||||
vec4 tex = texture2D( u_texture, v_texcoord );
|
||||
gl_FragColor = v_color * tex;
|
||||
}
|
||||
Reference in New Issue
Block a user