maplibre / maplibre-rs

Experimental Maps for Web, Mobile and Desktop
Apache License 2.0
1.33k stars 76 forks source link

Support transparency #252

Open maxammann opened 1 year ago

maxammann commented 1 year ago

I deliberately removed all support for transparency from maplibre-rs because it should be solved separately.

🤔 Expected Behavior

Objects with transparency should render correctly.

😯 Current Behavior

No support.

💁 Possible Solution

We can use OIT rendering like it is also used in caesium:

🔦 Context

None

💻 Examples

None

maxammann commented 1 year ago

Related article: https://answers.unity.com/questions/1586184/why-the-opaque-is-rendered-not-in-the-order-of-fro.html