overte-org / overte

Overte open source virtual worlds platform.
https://overte.org/
Other
138 stars 50 forks source link

Add support for opaque particles #833

Closed HifiExperiments closed 6 months ago

HifiExperiments commented 7 months ago

(discussed here https://github.com/overte-org/overte/issues/776)

Our particles are always transparent with additive blending (due to sorting complexities). As a result, you can never make black particles. We should support opaque particles by auto-detecting if the particle texture is fully opaque or uses alpha cutout. In the future, we should support directly specifying the alpha blend mode (likely via the existing properties on material entities).