Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPURenderer: Revert and fix updateBefore() - (2) #26422

Merged
merged 3 commits into from Jul 14, 2023

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Jul 14, 2023

Related issue: #26417, #26391

Description

I think it's the last fix for updateBefore() in that sense, seems the best approach.
The latest updates although fix some problems brought others in viewportTexture(), this PR looks like a general fix.

@sunag sunag added this to the r155 milestone Jul 14, 2023
@sunag sunag merged commit 8155acd into mrdoob:dev Jul 14, 2023
18 checks passed
@sunag sunag deleted the dev-revert-mv branch July 14, 2023 03:34

//

object.modelViewMatrix.multiplyMatrices( camera.matrixWorldInverse, object.matrixWorld );
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't these lines be called twice in case of double-pass transparent rendering?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Wouldn't these lines be called twice in case of double-pass transparent rendering?

The updateBefore() can made RTT because of some nodes, and this can affect the current modelViewMatrix, I'll improve this once I have a better idea, I'm currently prioritizing stability.

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.

None yet

2 participants