fix(render3d): a body hidden from the camera still stands in the sun
Actor.cast_hidden separates drawn from casting. ac_visible rejected a hidden actor from the shadow pass too, so hiding the player's own body for first person took the player's shadow with it - and in a sunlit basin your own shadow is what tells you where you are. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
ab6f310013
commit
a88aecb993
2 changed files with 16 additions and 1 deletions
8
changes/a-hidden-body-still-stands-in-the-sun.md
Normal file
8
changes/a-hidden-body-still-stands-in-the-sun.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
bump: patch
|
||||
type: fix
|
||||
`Actor.cast_hidden` separates being DRAWN from CASTING. `ac_visible` rejected any hidden
|
||||
actor from the shadow pass as well as the scene pass, so a game that hides the player's
|
||||
own body - first person, or a viewfinder held to the eye - lost that player's shadow
|
||||
entirely. An actor hidden because the camera is inside its head is still standing in the
|
||||
sun; set this on it and it keeps its shadow. Everything else still stops casting when it
|
||||
is hidden.
|
||||
Loading…
Add table
Add a link
Reference in a new issue