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 overlay issues

Home Forums Programming Alpha overlay issues

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29306
    web
    Customer

    I got several objects mapped with a transparent png as diffuse map.
    Problem is that when 2 or more objects overlap each other, the overlapping areas are no longer transparent.

    I thought that depthWrite and depthTest should over come that issue, but maybe I’m missing something.

    The material is created during runtime:

    object.material = new v3d.MeshBasicMaterial({
                        map: imageBitmap,
                        transparent: true,
                        depthWrite: true,
                        depthTest: true
                    });
    #29312
    GLiFTeK
    Customer

    Turn off depth write (false) to have material rendered above all others

    (Tool tip shows when hovering over checkmark option in blender if that’s what you’re using)

    #29315
    web
    Customer

    Will try it, thx :good:

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