Files
loop/shader/picture/charArray.frag
2023-03-23 14:59:33 +00:00

10 lines
226 B
GLSL

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