plutoengine/engine-demo/basic-application/mods/tefek.plutospritesheet/default/shaders/f2D.glsl

16 lines
232 B
GLSL
Executable File

#version 330 core
in vec2 uvCoordinates;
uniform sampler2D textureSampler;
uniform vec4 recolor;
out vec4 out_Color;
void main(void)
{
vec4 color = texture(textureSampler, uvCoordinates) * recolor;
out_Color = color;
}