Skip to content

RenderPass: Make the render background get the correct Alpha#28459

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
zhaocaho:fix/set-clearAlpha-error
May 22, 2024
Merged

RenderPass: Make the render background get the correct Alpha#28459
Mugen87 merged 1 commit into
mrdoob:devfrom
zhaocaho:fix/set-clearAlpha-error

Conversation

@zhaocaho

@zhaocaho zhaocaho commented May 22, 2024

Copy link
Copy Markdown
Contributor

Description

There's a bug in RenderPass.Before getting the oldClearAlpha = renderer.getClearAlpha(), the method renderer.setClearColor was called to make the oldClearAlpha=1.

@Mugen87 Mugen87 added this to the r165 milestone May 22, 2024
@Mugen87 Mugen87 merged commit 687a4ca into mrdoob:dev May 22, 2024
@Mugen87

Mugen87 commented May 22, 2024

Copy link
Copy Markdown
Collaborator

@zhaocaho Good catch!

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