ludic/changes/a-hidden-body-still-stands-in-the-sun.md
Orkuncakilkaya a88aecb993 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>
2026-09-19 21:32:11 +03:00

473 B

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.