12 lines
168 B
GLSL
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);
|
|
} |