Skip to content

Player Silhouette & Canopy#1011

Open
RuffledPlume wants to merge 2 commits into117HD:masterfrom
RuffledPlume:PlayerSilhouette
Open

Player Silhouette & Canopy#1011
RuffledPlume wants to merge 2 commits into117HD:masterfrom
RuffledPlume:PlayerSilhouette

Conversation

@RuffledPlume
Copy link
Contributor

PlayerSilhouette.mp4

@RuffledPlume RuffledPlume marked this pull request as ready for review March 14, 2026 16:59
@RuffledPlume RuffledPlume force-pushed the PlayerSilhouette branch 2 times, most recently from 77d9945 to 965439a Compare March 15, 2026 05:04
@RuffledPlume RuffledPlume changed the title Player Silhouette Player Silhouette & Canopy Mar 15, 2026
@RuffledPlume
Copy link
Contributor Author

RuffledPlume commented Mar 15, 2026

Added support for canopy fading (Note Canopy faces need tagging to write into the stencil & material flags)
image

@RuffledPlume RuffledPlume marked this pull request as draft March 15, 2026 05:06
@RuffledPlume RuffledPlume force-pushed the PlayerSilhouette branch 3 times, most recently from 620ef29 to 5ae5c66 Compare March 15, 2026 14:52
@RuffledPlume RuffledPlume marked this pull request as ready for review March 15, 2026 15:38
@RuffledPlume RuffledPlume force-pushed the PlayerSilhouette branch 2 times, most recently from c3ecd6b to 7f03d8f Compare March 15, 2026 18:48
Occlusion Based player silhouette

Calculate potentially visible samples

Added Depth Only Shader
Fixed Silhouette not applying to trees

Support fading the canopy whilst the player is behind it

Blend the CanopyFadeStrength

Improved Silhouette

 * Fixed CommandBuffer Stencil Command Encoding/Decoding
 * Added Alpha Support for the silhouette without it doubling up
 * Removed Edge Highlight
Added IsCanopy to materials & tagged materials with it
Fixes

Fixes

Increase radius & discard if fully faded

Draw Actors seperatly from Dynamic VAOs
Support for drawing multiple Silhouettes

 * All NPCS & Players can have a Silhouettes
 * Moved Silhouette pass out of ZoneRenderer and into its own class
 * Added Config Options for Player & NPCs, defaulting to the least noisy options
Fixes & Improvements
Fix silhouetteThreshold conflicting key

Fix NPE

Clear Map before rebuild

Remove Additional VAO in favour of doing fast depth draw for silhouettes
added fading

Added FadeTime constant

Sync
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.

1 participant