Skip to content

docs: mark shadow map complete and add implementation summary to README - #6

Draft
fl0a1e with Copilot wants to merge 2 commits into
masterfrom
copilot/update-vulkan-usage-instructions
Draft

docs: mark shadow map complete and add implementation summary to README#6
fl0a1e with Copilot wants to merge 2 commits into
masterfrom
copilot/update-vulkan-usage-instructions

Conversation

Copilot AI commented Apr 9, 2026

Copy link
Copy Markdown

The "shadow map" TODO item was still unchecked despite the feature being fully implemented in commit 0266f57.

Changes

  • README.md — TODO list: - [ ] shadow map- [x] shadow map
  • README.md — new section "Shadow Map 实现说明": documents the two-pass rendering approach, per-file change summary, and how ComputeShadowFactor drives shadow modulation

Two-pass flow at a glance

Pass Output Key files
Shadow pass 2048×2048 depth image (light POV) shadow.vs.hlsl, CreateRpwf_Shadow()
Main pass Color + shadow triangle.vs.hlsl (outputs ShadowPosition), triangle.ps.hlsl (ComputeShadowFactor)

Shadow factor is 1.0 (lit) or 0.28 (occluded) based on depth comparison with a 0.0025 bias, modulating both diffuse and specular terms.

Copilot AI changed the title [WIP] Update Vulkan usage instructions in README docs: mark shadow map complete and add implementation summary to README Apr 9, 2026
Copilot AI requested a review from fl0a1e April 9, 2026 11:50
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.

2 participants