Skip to content

Shadow Shading, Fade Out, Per Quality Shadow Bias & Optimization#952

Closed
RuffledPlume wants to merge 12 commits into117HD:masterfrom
RuffledPlume:RenableShadowEdgeBlend
Closed

Shadow Shading, Fade Out, Per Quality Shadow Bias & Optimization#952
RuffledPlume wants to merge 12 commits into117HD:masterfrom
RuffledPlume:RenableShadowEdgeBlend

Conversation

@RuffledPlume
Copy link
Copy Markdown
Contributor

Now that the shadow bounds calculations have been improved, we can renable the fadeout since it no longer fades out the shadow when zoomed in on the player

Main Branch:

2026-02-24.21-39-45.mp4

PR Branch:

2026-02-24.21-40-42.mp4

@RuffledPlume RuffledPlume changed the title Renable Smoothstep Fadeout on Shadows Shadow Shading, Fade Out, Per Quality Shadow Bias & Optimization Feb 24, 2026
@RuffledPlume RuffledPlume force-pushed the RenableShadowEdgeBlend branch 3 times, most recently from 8d88d42 to 11e6364 Compare February 25, 2026 15:31
 * Renable Smoothstep Fadeout on Shadows
 * Added Shadow Shading Config
   * Smooth (Default)
   * Dithered
   * Pixilated
 * Unrolled the Shadow PCF
    * Added Early out, where if the 4 corners of the kernal are fully in shadow then we can save 5 texelFetches
 * Defined a bias per shadow Quality Level
 * Added Support for shadowAlphaMap in the Material
@RuffledPlume RuffledPlume force-pushed the RenableShadowEdgeBlend branch from 11e6364 to 828861a Compare February 27, 2026 16:48
@aHooder aHooder force-pushed the RenableShadowEdgeBlend branch from 0a7106a to 93c9116 Compare February 27, 2026 21:20
@aHooder
Copy link
Copy Markdown
Member

aHooder commented Feb 27, 2026

This looks good to me 🙂. I think we should still consider whether we want to support shadow distance and expand shadow draw. I've noticed on rare occasions, expand shadow draw still prevents pop-in, but I'm not sure how significant the cost is anymore.

@RuffledPlume RuffledPlume force-pushed the RenableShadowEdgeBlend branch from 0bc86be to 300a864 Compare February 28, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants