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

WebGLRenderer: Fixed transmission rendering when using ArrayCamera #23491

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Feb 14, 2022

Description

The depth buffer was not writable when rendering the opaque objects for the transmissive pass in the second eye.

Before After
Screen Shot 2022-02-14 at 8 27 53 AM Screen Shot 2022-02-14 at 8 26 43 AM

@mrdoob mrdoob added this to the r138 milestone Feb 14, 2022
@mrdoob mrdoob merged commit e4b2edb into dev Feb 14, 2022
@mrdoob mrdoob deleted the transmission branch February 14, 2022 14:05
donmccurdy pushed a commit to donmccurdy/three.js that referenced this pull request Mar 10, 2022
…rdoob#23491)

* WebGLRenderer: Fixed transmission rendering when using ArrayCamera.

* WebGLRenderer: Reset polygonOffset inside renderScene too.
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.

1 participant