Alpha Testing

Alpha Testing This node tests if a pixel has to be drawn. This depends on the alpha value of this pixel.

Similar to the Z-Testing node and Stencil Testing nodes, the alpha value of a fragment can be used to reject it before the respective pixel is drawn.

The Alpha Testing node compares the alpha value of the fragment (after it has been lit and textures have been blended) to the value specified in RefAlpha using the operation set in Function:

If RefInherit is active, the value in RefAlpha will be ignored and instead the value of a parent Alpha Testing node is used or 0 if non exists.