ForesightMiningSoftwareCorporation / bevy_aabb_instancing

Fast AABB rendering plugin for Bevy Engine.
Apache License 2.0
86 stars 15 forks source link

Alpha Blending / Transparency #3

Open bonsairobo opened 2 years ago

bonsairobo commented 2 years ago

As of writing, the vertex pulling renderer does not support alpha blending for several reasons:

For these reasons, alpha blending is currently disabled in the vertex pulling pipeline (using BlendState::REPLACE).

If we are going to support transparency, I think it should happen in its own pipeline, or at least a specialized pipeline. There will need to be some big changes to the index buffering as well as the shader code.

bonsairobo commented 2 years ago

RE #2 , I will still reserve a byte for alpha in any color mode, but it may go unused for a while.