optimisations skipping empty for loops

This commit is contained in:
DeMuenu
2026-03-28 17:15:19 +01:00
parent 79ad33c5f3
commit 1a30f72010
6 changed files with 7 additions and 6 deletions

View File

@@ -368,7 +368,7 @@ public partial class LightUpdater : UdonSharpBehaviour
if (pushShadowMap) VRCShader.SetGlobalFloatArray(UdonID_ShadowMapIndex, _ShadowMapArray);
VRCShader.SetGlobalFloat(UdonID_LightCount, currentCount);
Debug.Log($"[MoonlightVRC] Pushed {currentCount} lights to shader.");
//Debug.Log($"[MoonlightVRC] Pushed {currentCount} lights to shader.");
// Only now mark them clean
if (pushPositions) { _positons_isDirty = false; }