yupplemayham/Resources/shaders/GL_tile.frag
2024-06-21 16:59:06 -04:00

11 lines
No EOL
264 B
GLSL

#version 330 core
out vec4 FragColor;
in vec2 texCoord;
uniform sampler2D tileTexture;
void main()
{
FragColor = texture(tileTexture, texCoord);
//FragColor = vec4(mod(tileindex / float(tilesperrow), 1.0), mod(tileindex / float(tilesperrow), 1.0), 0.0, 1.0);
}