mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
13 lines
172 B
GLSL
Executable File
13 lines
172 B
GLSL
Executable File
#version 330 core
|
|
|
|
in vec2 texCoords;
|
|
|
|
out vec4 FragColor;
|
|
|
|
uniform sampler2D tex;
|
|
uniform vec4 color;
|
|
|
|
void main(){
|
|
FragColor=vec4(color.xyz,texture(tex,texCoords).r);
|
|
}
|