Edit

Share via


Alpha Test

The alpha test (performed only in RGBA mode) discards a fragment, depending on the outcome of a comparison between the fragment's alpha value and a constant reference value. You specify the comparison function and reference value with glAlphaFunc.