14 lines
192 B
GLSL
14 lines
192 B
GLSL
#version 450 core
|
|
|
|
in vec3 textureCoord;
|
|
|
|
out vec4 color;
|
|
|
|
uniform sampler2DArray textureSampler;
|
|
|
|
void main()
|
|
{
|
|
color = texture(textureSampler, textureCoord);
|
|
if (color.w < 0.1) discard;
|
|
}
|