Implement texture atlas, details on why it works unclear
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#version 430 core
|
||||
in vec3 vTexPos;
|
||||
out vec4 fColor;
|
||||
|
||||
uniform sampler2DArray tilesetSampler;
|
||||
|
||||
void main()
|
||||
{
|
||||
fColor = texture(tilesetSampler, vTexPos);
|
||||
}
|
||||
Reference in New Issue
Block a user