Files
loop/shader/picture/textureArray.frag
T
2023-03-23 14:08:48 +00:00

10 lines
206 B
GLSL

#version 450 core
layout (location=0) out vec4 fColor;
uniform sampler2DArray thetexture;
in vec4 vColor;
in vec3 vTexCoord;
void main()
{
fColor = texture(thetexture, vec3 (vTexCoord.xyz)) * vColor;
}