Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Jul 16, 2023

Description

Some materials like MeshNormalMaterial not be affected by settings defined in Renderer.colorSpace.

@sunag sunag added this to the r155 milestone Jul 16, 2023
@sunag sunag merged commit 3d53596 into mrdoob:dev Jul 16, 2023
@sunag sunag deleted the dev-work branch July 16, 2023 19:49
this.lights = true;
this.normals = true;
this.unlit = this.constructor === NodeMaterial.prototype.constructor; // Extended materials are not unlit by default
this.colorSpace = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe applyColorSpace?

Copy link
Collaborator Author

@sunag sunag Sep 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can make it more like material.toneMapped?

this.toneMapped = true;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So... colorSpaced?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants