This is an example of alpha cutoff. And the alpha of color of the fragment which isn't discarded by shader is set to 1.0.
This is an example of alpha cutoff. And the alpha of color of the fragment which isn't discarded by shader isn't set to 1.0.
No-Library (pure JS), HTML, CSS, JavaScript