Skip to content

WebGPURenderer: Unlit materials should not be tone mapped  #28831

@WestLangley

Description

@WestLangley

Description

WebGLRenderer:

MeshNormalMaterial inherits the .toneMapped property as true, but the material omits the tone mapping shader chunks, so the material is never tone mapped.

This is the correct behavior. We never want the material to be tone mapped.

WebGPURenderer:

MeshNormalMaterial responds to tone mapping. It should not. This needs to be fixed.

Note: There are other problems with MeshNormalMaterial that cause the material to be washed out when rendered with WebGPURenderer. That will be addressed in a separate PR after this issue is resolved.

Reproduction steps

Code

// code goes here

Live example

Screenshots

No response

Version

r167dev

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions