Performance
The fog of war system is built with performance in mind using Unity's DOTS (ECS, Jobs, and Burst compiler) to achieve exceptional efficiency.
Performance
The system has been tested and optimized to handle up to 100,000 units with smooth performance.
Watch the performance demonstration with 100k units on YouTube:
Performance Test - 100,000 Units
Quick Optimization Tips
If you need to improve performance further:
- Texture Size - Lower resolution (
512×512or1024×1024) reduces GPU memory and rendering cost - Max Vision Sources - Set this to match your actual unit count to avoid wasting memory
- Blur Strength - Set to
0to skip blur passes if soft edges aren't needed - Vision Shape -
Circleis the cheapest shape; use it when possible