Skip to content

Depthtextures should not need to be explicitly constructed #18860

@khlorghaal

Description

@khlorghaal

Depthtextures explicitly require construction and assignment

target.depthTexture = new THREE.DepthTexture();
which is bizarrely inconsistent with how the color texture is constructed automatically.

It would make sense only if #15440 were on master, however attempting to assign a depthtexture to multiple rendertargets instead results in silent undefined behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions