Skip to content

fix(SimpleScene): build the ambient light from the ambient light config - #869

Merged
agviegas merged 1 commit into
mainfrom
fix/simple-scene-ambient-light
Nov 23, 2026
Merged

agviegas merged 1 commit into
mainfrom
fix/simple-scene-ambient-light

Conversation

@agviegas

Copy link
Copy Markdown
Contributor

The ambient light was built from the directional light's colour and intensity. One line.

🤖 Generated with Claude Code

setup() destructured config.directionalLight when creating the AmbientLight,
so the ambientLight config was copied into config and then never read. The
ambient light always mirrored the directional one, and the default scene
rendered with ambient 1.5 instead of 1, washing out mid tones.

Fixes #771.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@agviegas
agviegas merged commit 6bedaa4 into main Nov 23, 2026
1 check passed
@agviegas
agviegas deleted the fix/simple-scene-ambient-light branch November 23, 2026 16:12
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