Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
phr00t's avatar
phr00t
Honored Guest
10 years ago

Rendering faster with instancing: 10-80% improvement

Hey guys!

I'm working on jMonkeyVR, a plugin for jMonkeyEngine that supports all SteamVR devices (Rift, Vive, OSVR etc.). Both are free, open-source projects anyone can use even for commercial purposes.

Unity & Unreal have been working on instancing as a way to render a VR scene in one pass efficiently, so I took out to do the same with jMonkeyVR. Working pretty good!



When draw calls are a bottleneck in simple scenes, you get about 80% faster rendering with this method. In the screenshot above where fragment shaders are a bottleneck, I get about 10% faster. I'd suspect most uses would see 20%-40% improvement with no loss in resolution. Special effects shouldn't need to be run twice, since only one viewport & rendering pass is being made, which can save performance too (which wasn't tested in the above screenshot).

The main thread on this is here:

http://hub.jmonkeyengine.org/t/vr-rende ... cing/34461

Engine & plugin information (github) is here:

https://github.com/phr00t/jMonkeyVR/

My site: http://www.phr00t.com/

I hope someone finds it useful!

- Phr00t

4 Replies

  • phr00t's avatar
    phr00t
    Honored Guest
    Posted a video of 5089, which is using VR instancing:


  • phr00t's avatar
    phr00t
    Honored Guest
    Made many improvements -- complex scenes now see far more than 10% improvements. I also got shadows & other effects, like SSAO, working alongside VR instancing:



    This means there are no additional passes or shadow maps needed for VR rendering (vs non-VR rendering).