9 lines
154 B
GLSL
9 lines
154 B
GLSL
#version 450 core
|
|
in vec3 vTexPos;
|
|
out vec4 fColor;
|
|
uniform sampler2DArray tilesetSampler;
|
|
void main()
|
|
{
|
|
fColor = texture(tilesetSampler, vTexPos);
|
|
}
|