12 lines
217 B
GLSL
12 lines
217 B
GLSL
|
|
#version 450
|
||
|
|
|
||
|
|
layout (binding = 1) uniform sampler2DArray samplerArray;
|
||
|
|
|
||
|
|
layout (location = 0) in vec3 inUV;
|
||
|
|
|
||
|
|
layout (location = 0) out vec4 outFragColor;
|
||
|
|
|
||
|
|
void main()
|
||
|
|
{
|
||
|
|
outFragColor = texture(samplerArray, inUV);
|
||
|
|
}
|