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

LightingModel: Refactor indirect lighting #28824

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Jul 6, 2024

Related issue: #28819 (comment)

Description

This looks cleaner and maintains compatibility between lighting models.

@sunag sunag added this to the r167 milestone Jul 6, 2024
Copy link

github-actions bot commented Jul 6, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
683.5 kB (169.2 kB) 683.5 kB (169.2 kB) +0 B

🌳 Bundle size after tree-shaking

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

Filesize dev Filesize PR Diff
460.6 kB (111.1 kB) 460.6 kB (111.1 kB) +0 B

@sunag sunag marked this pull request as ready for review July 6, 2024 10:52
@sunag sunag merged commit 807d042 into mrdoob:dev Jul 6, 2024
11 of 12 checks passed
@sunag sunag deleted the dev-refactor-indirect branch July 6, 2024 12:30
0b5vr added a commit to 0b5vr/three-ts-types that referenced this pull request Jul 26, 2024
`.ambientOcclusion` also integrated into `.indirect`

Sequel of 9724d59

See: mrdoob/three.js#28824
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