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

16 lines
236 B
GLSL
Executable File

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