Optimizing a laser light show chip
🌙 Lua•Updated 2 days ago•0 views
Hologram methods are the main slowdown - render.beam is a lot faster. Also: reuse Vector objects instead of recreating per frame, localize timer.realtime() out …
How to optimize a Starfall laser light show that fails to scale before CPU limit
Hologram methods are the main slowdown - render.beam is a lot faster. Also: reuse Vector objects instead of recreating per frame, localize timer.realtime() out of loops, reduce method-call chains. Use the fprofiler addon (disable SF's CPU limiter) to find hotspots.