Skip to content

WebGLRenderer: Reversed Depth not working correctly #31413

@WestLangley

Description

@WestLangley

Description

Several examples are rendering black when reversed depth buffer is set.

webgl_loader_gltf_compressed.html is one of them.

The bug appears to be related to the use of PMREMGenerator.fromScene().

Reproduction steps

Set reversed depth buffer in webgl_loader_gltf_compressed.html.

Code

n/a

Live example

n/a

Screenshots

No response

Version

r179dev

Device

Desktop

Browser

Chrome

OS

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions