Skip to content

Option to disable two-pass rendering of transparent objects #24711

@dmikis

Description

@dmikis

Is your feature request related to a problem? Please describe.

There's a hardcoded path for rendering transparent objects with doublesided materials. However it's not particularly suitable for our use-case since our models are optimized for a single blended pass with backface fulling disabled. That leads to artifacts.

Describe the solution you'd like

An option for materials to override this behaviour.

Describe alternatives you've considered

Right now we're forced to patch by hand and commit into our repo a copy of threejs build.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions