Files
loop/shader/picture/charArray.frag
T
2025-11-20 22:33:23 +00:00

8 lines
222 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; }