Skip to content

Fix Shadow "Halo"#7494

Merged
BMagnu merged 3 commits into
scp-fs2open:masterfrom
BMagnu:shadow_shader
Jun 2, 2026
Merged

Fix Shadow "Halo"#7494
BMagnu merged 3 commits into
scp-fs2open:masterfrom
BMagnu:shadow_shader

Conversation

@BMagnu

@BMagnu BMagnu commented Jun 2, 2026

Copy link
Copy Markdown
Member

Fixes #4465.
Seems like you need to do the computeShadowFactor before averaging or you get artifacts.
Since its no longer necessary, it also clears the cockpit pass and just changes the bias to a lower value when we render the cockpit pass.

@BMagnu BMagnu added this to the Release 26.0 milestone Jun 2, 2026
@BMagnu BMagnu added fix A fix for bugs, not-a-bugs, and/or regressions. graphics A feature or issue related to graphics (2d and 3d) labels Jun 2, 2026

@JohnAFernandez JohnAFernandez 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.

Looks straightforward enough.

@wookieejedi

Copy link
Copy Markdown
Member

Tests look good, thanks!

@BMagnu BMagnu merged commit 0856b82 into scp-fs2open:master Jun 2, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. graphics A feature or issue related to graphics (2d and 3d)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shadows cause strange light 'fringes'

3 participants