mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-14 19:38:41 -06:00
14 lines
211 B
GLSL
14 lines
211 B
GLSL
|
#version 300 es
|
||
|
|
||
|
precision highp float;
|
||
|
precision highp sampler2D;
|
||
|
|
||
|
out vec4 out_color;
|
||
|
in vec4 vtx_color;
|
||
|
in vec2 vtx_uv;
|
||
|
uniform sampler2D tex;
|
||
|
|
||
|
void main() {
|
||
|
out_color = texture(tex, vtx_uv) * vtx_color;
|
||
|
}
|