Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add order-independent transparency for translucent blocks #3

Merged
merged 1 commit into from
Feb 23, 2021
Merged

Commits on Feb 5, 2021

  1. Add order-independent transparency for translucent blocks

    The algorithm used is "Weighted, Blended Order-Independent Transparency"[1], which allows for a
    fast and simple implementation at a small cost to color accuracy. This should solve all issues of
    translucent faces not rendering behind others, such as with water behind stained glass or with blocks
    containing translucent faces, such as slime and honey blocks.
    
    More testing is required to confirm compatibility with limited OpenGL 2.0 implementations, such as
    those of macOS or older iGPUs, as well as to determine the impact on performance.
    
    Fixes CaffeineMC#38
    
    [1]: https://casual-effects.blogspot.com/2015/03/implemented-weighted-blended-order.html
    Samadi van Koten committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    2219b8c View commit details
    Browse the repository at this point in the history