[UE4] VRWorks UE4.15 Research

Step 1. Download resources. (special edition unreal engine source code)
Step 2. Setup. (ref readme)
  • Notice!
  • A. Execute "Setup.bat" will pop the message 「Would you like to overwrite your changes (y/n)?」. If you choose y, it could be a mistake in the future.
  • B. There was an error when build lighting. 「Failed to build lighting!!! Lighting build failed. Swarm failed to kick off.」Solution : Open project .sln and build "Programs/UnrealLightmass"
Step 3. VR settings.
  • Project Settings/Engine - Rendering/VR
           -> Unchecked "Instanced Stereo"
           -> Checked "Lens Matched Rendering"
           -> Checked "SinglePassStereo"
  • Execute Console Command
           -> vr.LensMatchedShadingRendering 3

// MultiRes and Lens Matched choose one of the two.
// If you use a Pascal based GPU, Lens Matched is better.

Conclusion
  • In this experiment, VRWorks can improve performance up to 40%.

--------------------------------------------------

Testing report

Engine : 4.15.0
Project : Showdown
Graphics : GTX1070

--------------------------------------------------

[Official]

Original 90 FPS

r.ScreenPercentage 400 30 FPS

r.ScreenPercentage 400 30 FPS
vr.InstancedStereo 1

--------------------------------------------------

[VRWorks]

r.ScreenPercentage 400 40 FPS
vr.SinglePassStereo 1
vr.MultiResRendering 3

r.ScreenPercentage 400 42 FPS
vr.SinglePassStereo 1
vr.LensMatchedShadingRendering 3

r.ScreenPercentage 400 42 FPS
vr.SinglePassStereo 1
vr.MultiResRendering 3
vr.LensMatchedShadingRendering 3

// Command
vr.MultiResRendering [0~3]
0 off (default)
1 conservative (saves 28% pixels)
2 balanced (saves 42% pixels)
3 aggressive (saves 60% pixels)
vr.LensMatchedShadingRendering [0~3]
0 off (default)
1 quality
2 conservative
3 aggressive

這個網誌中的熱門文章

Windows10 版本1607後可啟用支援長路徑檔名 (Maximum Path Length Limitation)

標準使用者如何執行需系統管理者權限的程式