Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StandardStyle : Discard fragments with zero texture alpha
We were already trying to discard fragments with zero alpha so that they don't affect selection hits. But we were doing that before taking the texture alpha into account. Although the original motivation was selection hits, discarding zero alpha also avoids depth buffer writes, which is important now that Backdrops use depth buffering to control the order of nesting.
- Loading branch information