fix(linear lighting): Fix projected diffuse with linear lighting#1710
Conversation
Fixes PBR single pass projected diffuse and non PBR single pass projected diffuse linear lighting conversion.
📝 WalkthroughWalkthroughThis PR modifies projection-based diffuse color computation in the lighting shader, adjusting color-space linearization for projected UV contributions and envmap influence. It introduces a new LOD blending fallback path and changes base color assignment when projecting UVs. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 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 (2)**/*.{cpp,cxx,cc,c,h,hpp,hxx,hlsl,hlsli,fx,fxh,py}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (10)📓 Common learnings📚 Learning: 2025-08-03T18:37:19.690ZApplied to files:
📚 Learning: 2025-06-17T05:40:22.785ZApplied to files:
📚 Learning: 2025-08-17T18:37:35.839ZApplied to files:
📚 Learning: 2025-07-01T18:01:07.079ZApplied to files:
📚 Learning: 2025-06-08T11:25:14.536ZApplied to files:
📚 Learning: 2025-08-05T17:40:44.828ZApplied to files:
📚 Learning: 2025-06-08T11:25:14.536ZApplied to files:
📚 Learning: 2025-08-17T18:37:35.839ZApplied to files:
📚 Learning: 2025-07-05T05:20:45.823ZApplied 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 (3)
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: |
Fixes PBR single pass projected diffuse and non PBR single pass projected diffuse linear lighting conversion.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.