17 lines
No EOL
167 B
GLSL
17 lines
No EOL
167 B
GLSL
#version 150
|
|
|
|
// Custom attributes.
|
|
|
|
in vec4 vColor;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main()
|
|
{
|
|
if (vColor.a == 0)
|
|
{
|
|
discard;
|
|
}
|
|
|
|
fragColor = vColor;
|
|
} |