Software Development

What are the best optimization techniques for VR to maintain a steady 90 FPS?

AL Asked by Alice Henderson · 08-08-2023
0 upvotes 11,410 views 0 comments
The question

My team is struggling with performance on standalone VR headsets. We’re seeing significant frame drops in complex scenes, which is causing motion sickness for our testers. Beyond the basic "reduce poly count," what are some advanced Rendering or draw call optimization techniques specifically for mobile-chipset VR hardware like the Snapdragon XR2? 

3 answers

0
ME
Answered on 10-08-2023

On mobile VR, the CPU is usually the bottleneck due to Draw Calls. You must use Static and Dynamic Batching, but more importantly, look into GPU Instancing for repetitive objects. Another "must-have" is Fixed Foveated Rendering (FFR), which reduces the resolution at the periphery of the lens where the user isn't looking. This can give you a 15-20% performance boost immediately. Also, check your shaders. Avoid expensive transparency and standard lit shaders; use highly optimized Mobile/VertexLit shaders instead. Finally, ensure you are using the Multiview or Single Pass Instanced rendering setting to cut your draw calls in half by rendering both eyes in a single pass.

0
DA
Answered on 13-08-2023

Are you using the Profiler to see if your spikes are caused by garbage collection or by the GPU's fragment shading?

 

MI 16-08-2023

David brings up a vital point. Alice, if your profiler shows high "GC.Alloc," your 90 FPS dream will die every time the collector runs. In VR, you should avoid Instantiate during gameplay and use Object Pooling for everything from bullets to UI elements. Also, check your physics timestep; if it’s too high, the CPU will choke trying to calculate collisions. Keep the physics at a fixed rate that matches your target refresh rate for the smoothest possible movement.

0
S
Answered on 18-08-2023

Don't forget Texture Atlasing. Combining 50 textures into one reduces your draw calls significantly and is a lifesaver for mobile-based VR.

 

AL 20-08-2023

Sarah is right. We used atlasing for our last project and saw a huge jump in performance. It's a boring task but highly effective.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session