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

Editor: Fixed wrong camera aspect ratio when window resized for REALISTIC shading #28412

Merged
merged 1 commit into from
May 18, 2024

Conversation

ycw
Copy link
Contributor

@ycw ycw commented May 17, 2024

The issue: viewport rendering doesn't update aspect ratio on window resize when shading is REALISTIC

pathtracer.cam.not.update.mp4

The PR fixed that by updating pathtracer's camera on resize

preview: https://raw.githack.com/ycw/three.js/editor-pathtracer-aspectratio-on-resize/editor/index.html

@gkjohnson gkjohnson changed the title Ediot: Fixed wrong camera aspect ratio when window resized for REALISTIC shading Editor: Fixed wrong camera aspect ratio when window resized for REALISTIC shading May 18, 2024
@Mugen87 Mugen87 added this to the r165 milestone May 18, 2024
@Mugen87 Mugen87 merged commit 6955746 into mrdoob:dev May 18, 2024
11 checks passed
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