mirror of
https://github.com/brl/mutter.git
synced 2025-03-20 02:05:10 +00:00

GLES2 has no glAlphaFunc function so we need to simulate the behaviour in the fragment shader. The alpha test function is simulated with an if-statement and a discard statement. The reference value is stored as a uniform.