Skip to content

Material opacity 0 #12

@bennlich

Description

@bennlich

I'm wondering if it would make sense for the picking texture to take material opacity into account. Maybe the expected behavior would be to render the picking texture only if material.opacity > 0?

This came up in a situation where I set a mesh.material.opacity = 0, but was still able to pick it. My current workaround is to set mesh.visible = false, but I think this is a hack, because an object might have multiple materials, and each material can have its own opacity (though I have no idea how common this is in practice).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions