KoiKoi/res/card.fs
2022-01-13 23:24:39 +01:00

12 lines
168 B
GLSL

#version 440 core
in vec2 uvCoord;
out vec4 FragColor;
uniform vec2 offset;
uniform sampler2D motive;
void main()
{
FragColor = texture(motive, uvCoord + offset);
}