Fix all 7 Cut 5d Soul findings: GL3 Sion perf >=57fps, PVS death gating, crater dedupe, hit-marker filter, loadout baseline, remote dust yaw/speed, distance-gated death trauma

This commit is contained in:
Meta Vens 2026-12-05 10:48:54 +01:00
commit fcb91edb0d
16 changed files with 574 additions and 143 deletions

View file

@ -110,10 +110,10 @@ public partial class MultiMeshPartPool : Node3D
return;
}
bool castShadow = wantsShadow && bucket.LocalRadius >= 0.55f;
bool castShadow = wantsShadow && bucket.LocalRadius >= 1.15f;
if (castShadow && _hasFrustum)
{
float maxShadowDist = 85f + scaledRadius;
float maxShadowDist = 45f + scaledRadius;
if (worldCenter.DistanceSquaredTo(_camPos) > maxShadowDist * maxShadowDist)
{
castShadow = false;