fix(linear lighting): Fix PBR specular with DALC#1696
Conversation
Made sure DALC feeding into reflections goes through the same "dimming filter" that other parts of the lighting system use.
📝 WalkthroughWalkthroughA minor shader change: the directional ambient input is now wrapped with Color::Ambient before converting to luminance in two shader files, altering the intermediate luminance used in specular/lighting calculations. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (3)**/*.{cpp,cxx,cc,c,h,hpp,hxx,hlsl,hlsli,fx,fxh,py}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
features/*/Shaders/**/*.{hlsl,hlsli,fx,fxh}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (3)📓 Common learnings📚 Learning: 2025-08-03T18:37:19.690ZApplied to files:
📚 Learning: 2025-07-18T15:21:03.641ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (1)
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: |
Made sure DALC feeding into reflections goes through the same "dimming filter" that other parts of the lighting system use.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.