chore(skylighting): minor tweaks#1478
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughRemoved skylighting modulation from water refraction color in Water.hlsl. Adjusted Skylighting::Settings defaults by lowering MinDiffuseVisibility and MinSpecularVisibility from 0.25f to 0.1f. No public API/signature changes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant F as Fragment
participant W as Water Pixel Shader
participant S as Skylighting (old)
Note over F,W: Refraction color computation
rect rgba(200,230,255,0.25)
Note over W: Old flow (removed)
F->>W: Shade pixel
W->>W: Base refraction (shallow/deep lerp)
W->>S: Sample skylight (SH eval, visibility)
S-->>W: Skylight diffuse
W->>W: Mix skylight into refraction
W-->>F: Output color
end
rect rgba(200,255,200,0.25)
Note over W: New flow
F->>W: Shade pixel
W->>W: Base refraction (shallow/deep lerp)
W-->>F: Output color (no skylight modulation)
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ A pre-release build is available for this PR: |
Summary by CodeRabbit