Repository navigation
Use the new shadow rendering mode in the 3D island - #1095
Merged
Merged
Conversation
The directional light of the 3D island had no shadow rendering mode, so it used the legacy "centered around camera" mode. It now uses "fitted to camera view", with a shadow distance of 3000 pixels, like the other 3D examples. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BJr8NHQoc1VdQ5fSM9TPzT
Contributor
Preview the game(s) changed or added in this Pull RequestThis is an automatic message displaying links to the games in this PR - double check the JSON in case of doubt. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The directional light of the 3D island (
3d-island-terrain) had noshadowRenderingMode, so it used the legacy "Centered around camera" mode, which is the default value for effects that don't set it. It now uses Fitted to camera view, with a shadow distance of 3000, like the 3D GTA with a map and the other 3D examples since #1075.It was the only example whose directional light didn't use the new mode: I checked the directional lights of all the example projects on
main.How it was tested
🤖 Generated with Claude Code
https://claude.ai/code/session_01BJr8NHQoc1VdQ5fSM9TPzT
Generated by Claude Code