Repository navigation
Add a shadow normal bias to the directional lights of the other 3D examples - #1121
Merged
Merged
Conversation
…amples Like the 3D starters: every shadow-casting directional light of the other examples (23 lights in 14 examples, including the ones of a custom object) gets a shadow normal bias of 1 texel, which removes the shadow acne. The air hockey example already had one. The rendering screenshots of the 3D island and the light playground are updated: the acne stripes on the island trees are gone, and the light playground barely changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GFZna18e8tggLK2kBPwN7V
Contributor
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.
Same change as #1120, for the examples that are not starters: every shadow-casting directional light (23 lights in 14 examples, including 2 inside a custom object of
scrollbar) getsshadowNormalBias: 1. It removes the shadow acne, which was severe in some of them (3D platformer, babyfoot, lane runner, wipeout).3d-air-hockeyalready had it. With both PRs, every shadow-casting directional light of the repository has a normal bias.Before/after screenshots: https://claude.ai/artifact/RRvpemyADCgbF8rvndHCnv
Generated by Claude Code