Skip to content

Fix decreasing ReflectionProbe's intensity property below 1.0 not reducing the strength of its ambient light condition - #1370

Merged
Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
DaveTheEggman:rpsip
Sep 3, 2026
Merged

Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
DaveTheEggman:rpsip

Conversation

@DaveTheEggman

Copy link
Copy Markdown
Member

The Forward+/Mobile shader never multiplies the ambient lighting contribution by reflections.data[ref_index].intensity. As a result, reducing a ReflectionProbe's intensity below 1.0 only affects reflected light, while the ambient contribution remains unchanged. This PR applies the intensity multiplier to the ambient contribution as well.

Before (Forward+/Mobile) After (Forward+/Mobile)
Before View After View

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 🙃

… reducing the strength of its ambient light condition
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • servers/rendering/renderer_rd/shaders/scene_forward_lights_inc.glsl is excluded by !**/*.glsl

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: db8dba91-c95d-402c-b0f7-6613fc131b62

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@DaveTheEggman DaveTheEggman added this to the Redot LTS 26.3 milestone Sep 2, 2026

@Arctis-Fireblight Arctis-Fireblight left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Arctis-Fireblight
Arctis-Fireblight merged commit 6768139 into Redot-Engine:master Sep 3, 2026
17 checks passed
@github-project-automation github-project-automation Bot moved this from Open to Done in Engine Overview Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants