We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

alpha blend mode / add shader compatbility

Home Forums Graphics / Blender alpha blend mode / add shader compatbility

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #43442

    since we are trying to avoid alpha sorting issues, we are looking to use additive alpha blending, which should work oder-independent.

    now, in eevee you can achieve this by setting the material to alpha blend, and using an add shader (see attached image). unfortunately, this does not export to verge3d in the same way. the material will not blend additively.

    as a workaround, we are trying to output the color directly, and setting the blend mode via script manually:
    while this works, it is not completely the same blend effect, and it also will not look correct in the blender viewport.

    future support of the add shader with transparency would be much appreciated. alpha or multiply blend modes are very useful, as they do not depend on the draw order.

    You must be logged in to view attached files.

    Verge3D now supports this feature.

    Verge3D’s Tech Chief
    FB | Twitter | VK



    Can the latest version (OIT) support the blending transparency & opacity from 0 – 100 & 100 – 0 as well?


    Hi visualizer,

    For now, it works, but usually the more opacity the objects have (except opaque objects), the worse the blending result will be. Therefore, the recommended opacity range is 0.0 to 0.5 (i.e 0-50).

    I still recommend to check, maybe in your case there will be an acceptable result.

    Verge3D Developer

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.