Fix decreasing ReflectionProbe's intensity property below 1.0 not reducing the strength of its ambient light condition - #1370
Conversation
… reducing the strength of its ambient light condition
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
The Forward+/Mobile shader never multiplies the ambient lighting contribution by
reflections.data[ref_index].intensity. As a result, reducing aReflectionProbe's intensity below1.0only affects reflected light, while the ambient contribution remains unchanged. This PR applies the intensity multiplier to the ambient contribution as well.MRP
test_reflection_probe_intensity.zip
AI Disclosure:
This PR doesn't use AI, it's all human written code & same goes for the desc 🙃