This commit is contained in:
2023-03-23 14:08:48 +00:00
parent 3350a8dc30
commit 02ee4b01c9
2 changed files with 22 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#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;
}