branchrust_reboot/main/naval_update/boat_water_fx_optimcancel
4 Commits over 0 Days - ∞cph!
Even more fx optimisations, move the blocks into a work queue and support breaking out mid processing if we take too long to avoid queue overruns
Also added early returns for disabling fx (so fully occluded blocks are now effectively free) and bypassed the Angle calculation if a block is fully occluded
GetWorldVelocity of the boat once instead of for every block
Only check against other hull blocks, not all blocks.
Don't run UpdateSplashFx at all on non hull blocks.
1.85ms to 0.65ms in a quick test with 6 simple boats.
Stiil seems to function ok.
Additional profiling for boat water effects