Skip to content

docs: restructure shadows page into a tuning pipeline#1037

Merged
willeastcott merged 2 commits into
mainfrom
docs/shadows-restructure
Jun 10, 2026
Merged

docs: restructure shadows page into a tuning pipeline#1037
willeastcott merged 2 commits into
mainfrom
docs/shadows-restructure

Conversation

@willeastcott

@willeastcott willeastcott commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What changed

Restructures the Shadows page (docs/user-manual/graphics/lighting/shadows.md) so it reads as a pipeline — enable → choose technique → tune quality → fix artifacts → mind performance — with the Japanese translation mirrored identically.

New structure:

  • Enabling Shadows (unchanged)
  • Shadow Types (renamed from "Shadow Type") — PCF / VSM / PCSS unchanged
  • Tuning Shadows — reordered to Resolution → Distance → Cascades → Intensity
    • Shadow Cascades is demoted from its own top-level section into Tuning Shadows, placed right after Shadow Distance (it continues the same finite-resolution story); its "Number of cascades" / "Distribution of cascades" sub-headings are folded into prose
  • Fixing Shadow Artifacts (new) — groups Shadow Bias and Normal Offset Bias so troubleshooting content is discoverable from the TOC
  • Performance Considerations (unchanged, stays last)

A second commit adds two content changes on top of the restructure:

  • Gsplat shadow casting: the Enabling Shadows section now notes that gsplat components can cast (but not receive) shadows, with casting disabled by default, and all four workflow tabs (Engine / Editor / React / Web Components) gain a gsplat example.
  • Anchor rename: #shadow-type#shadow-types to match the renamed heading, with the internal cross-reference and the inbound links from the Clustered Lighting page (EN + JA) updated in the same commit.

Why

The previous structure had "Tuning Shadows" as a grab-bag in arbitrary order, Shadow Cascades stranded after it despite being a directional-quality control, and the bias properties (problem-solving content) buried among quality knobs. Gsplat shadow casting was undocumented on this page.

Notes for reviewers

  • In the restructure commit, body text moves verbatim apart from minimal connective edits (the cascades sub-heading sentences flow into prose; the Shadow Bias opener becomes the Fixing Shadow Artifacts lead-in).
  • Every pre-existing anchor ID is preserved except #shadow-type (renamed with all references updated) and the unreferenced #number-of-cascades / #distribution-of-cascades (folded into prose). External bookmarks to the old #shadow-type fragment will land at the top of the page, which is harmless.
  • Gsplat facts verified against the engine: GSplatComponent has castShadows (default false) and no receiveShadows.

🤖 Generated with Claude Code

Reorder the page into a clean reading pipeline: enable, choose
technique, tune quality, fix artifacts, mind performance.

- Rename "Shadow Type" to "Shadow Types" (anchor unchanged)
- Reorder Tuning Shadows to Resolution, Distance, Cascades, Intensity
  so the finite-resolution narrative flows naturally
- Demote Shadow Cascades from its own top-level section into Tuning
  Shadows, folding its two sub-headings into prose
- Group Shadow Bias and Normal Offset Bias under a new "Fixing Shadow
  Artifacts" section so troubleshooting is discoverable from the TOC
- All existing anchor IDs are preserved; no inbound links break
- Mirror the restructure in the Japanese translation

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Mention in Enabling Shadows that gsplat components can cast (but not
  receive) shadows, with casting disabled by default; add gsplat
  examples to the Engine, Editor, React and Web Components tabs
- Rename the #shadow-type anchor to #shadow-types to match the heading,
  updating the internal cross-reference and the inbound links from the
  clustered lighting page
- Mirror all changes in the Japanese translation

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures the “Shadows” user manual page to present shadow setup and troubleshooting as a clear tuning pipeline (enable → choose type → tune quality → fix artifacts → performance), and mirrors the same structural changes in the Japanese translation.

Changes:

  • Renames Shadow TypeShadow Types while preserving the existing #shadow-type anchor.
  • Reorders and reorganizes the Tuning Shadows subsections (Resolution → Distance → Cascades → Intensity), demoting Shadow Cascades to a subsection and folding its former subheadings into prose.
  • Introduces a new Fixing Shadow Artifacts section that groups Shadow Bias and Normal Offset Bias for better TOC discoverability.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
docs/user-manual/graphics/lighting/shadows.md Restructures the English Shadows page into the new pipeline flow; preserves existing anchors and reorganizes cascades/bias content.
i18n/ja/docusaurus-plugin-content-docs/current/user-manual/graphics/lighting/shadows.md Mirrors the same restructuring in the Japanese translation, including the new troubleshooting section and updated tuning order.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@willeastcott willeastcott merged commit 24a08b8 into main Jun 10, 2026
3 checks passed
@willeastcott willeastcott deleted the docs/shadows-restructure branch June 10, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants