13 lines
238 B
GLSL
13 lines
238 B
GLSL
#version 450
|
|
#extension GL_ARB_separate_shader_objects : enable
|
|
|
|
layout(location = 0) in vec4 inVertexColor;
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
void main()
|
|
{
|
|
outColor = inVertexColor;
|
|
if(outColor.w < 0.1)
|
|
discard;
|
|
} |