mirror of
https://github.com/open-goal/jak-project
synced 2026-06-08 04:17:28 -04:00
882c45f077
When the `dp-bipedal`s get blown up by the nuke gun, their bones go to NaNs on the last frame. The shadow renderer doesn't handle this well and draws all possible triangles as single tris. This overflows the vif `unpack` field and triggered an assert when sizes inside the shadow renderer weren't consistent. My guess is that this works on the real game either because: - their shadow renderer draws garbage data, but you can't tell because the screen is white from the nuke - no NaN on PS2 means that the shadow renderer behaved differently, not using all single tris. As a workaround, if the bones are NaN, the shadow renderer treats them as 0, meaning there is no shadow drawn. --------- Co-authored-by: water111 <awaterford1111445@gmail.com>