mirror of
https://github.com/SangeloDev/SangeFault.git
synced 2024-11-10 07:32:43 +00:00
a50683c84e
basically starting over... this is gonna be fun!
17 lines
329 B
GLSL
17 lines
329 B
GLSL
#version 150
|
|
|
|
uniform sampler2D DiffuseSampler;
|
|
|
|
uniform vec4 ColorModulator;
|
|
|
|
in vec2 texCoord;
|
|
in vec4 vertexColor;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main() {
|
|
vec4 color = texture(DiffuseSampler, texCoord) * vertexColor;
|
|
|
|
// blit final output of compositor into displayed back buffer
|
|
fragColor = color * ColorModulator;
|
|
}
|