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