mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
![Neil Roberts](/assets/img/avatar_default.png)
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.