mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-27 12:03:25 +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);
|
|
}
|