Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Jul 19, 2023

Related issue: #26435, #26371

Description

Fix the WebGPU examples and follow the changes made in core.

@sunag sunag added this to the r155 milestone Jul 19, 2023
@sunag sunag merged commit e4db75a into mrdoob:dev Jul 20, 2023
@sunag sunag deleted the dev-tonemappingstate branch July 20, 2023 02:58

}

get isToneMappingState() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe applyToneMapping?

const renderer = this.renderer;
const renderTarget = renderer.getRenderTarget();

return renderTarget && renderTarget.isCubeRenderTarget ? false : true;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just ! renderTarget || ! renderTarget.isCubeRenderTarget maybe?

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