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: Simplify env map rotation. #27788

Merged
merged 1 commit into from
Feb 21, 2024
Merged

WebGLRenderer: Simplify env map rotation. #27788

merged 1 commit into from
Feb 21, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Feb 21, 2024

Related issue: -

Description

This restores my original computation of the env map rotation for testing. It should be functionally equal to #27785 but require less computations. The change can be tested with the updated webgl_materials_envmaps demo (see #27787).

@Mugen87 Mugen87 added this to the r162 milestone Feb 21, 2024
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
678 kB (168.6 kB) 678 kB (168.6 kB) -18 B

🌳 Bundle size after tree-shaking

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

Filesize dev Filesize PR Diff
458.5 kB (111.3 kB) 458.4 kB (111.3 kB) -20 B

@Mugen87 Mugen87 merged commit 7f65c01 into mrdoob:dev Feb 21, 2024
12 checks passed
Mugen87 added a commit that referenced this pull request Feb 21, 2024
Mugen87 added a commit that referenced this pull request Feb 21, 2024
@Mugen87 Mugen87 removed this from the r162 milestone Feb 21, 2024
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