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

Nodes: Add StereoPassNode. #29173

Merged
merged 2 commits into from
Aug 19, 2024
Merged

Nodes: Add StereoPassNode. #29173

merged 2 commits into from
Aug 19, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Aug 19, 2024

Related issue: -

Description

This PR adds StereoPassNode as a WebGPU pendant for StereoEffect. Since it is a pass node, you can do the same things like with a normal pass so it can be part of a post processing effect chain.

Side note: The issue mentioned in #29125 (comment) was not related to StereoCamera.update(). The projection matrices for the right and left eye were already correct. It was just important to specify the coordinateSystem for both cameras otherwise Renderer would override the matrices.

Copy link

github-actions bot commented Aug 19, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
685.4 kB (169.7 kB) 685.4 kB (169.7 kB) +0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
462 kB (111.4 kB) 462 kB (111.4 kB) +0 B
@sunag sunag added this to the r168 milestone Aug 19, 2024
@sunag sunag merged commit cd8f55c into mrdoob:dev Aug 19, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants