mirror of
https://github.com/Kugelschieber/go-game.git
synced 2026-01-18 06:40:28 +00:00
14 lines
151 B
GLSL
14 lines
151 B
GLSL
#version 130
|
|
precision highp float;
|
|
|
|
uniform sampler2D tex;
|
|
uniform vec4 color;
|
|
|
|
in vec2 tc;
|
|
|
|
out vec4 c;
|
|
|
|
void main(){
|
|
c = texture(tex, tc)*color;
|
|
}
|