Skip to content

Multi-View Rendering

Multi-pass

右目と左目で2回レンダリングする。

XrSwapchainCreateInfo::arraySize=1

Single-pass

右目と左目をまとめてレンダリングする。

https://community.khronos.org/t/what-is-the-right-way-to-implement-single-pass-rendering-with-openxr/109157/3

XrSwapchainCreateInfo::arraySize=2

VK_KHR_multiview

https://amini-allight.org/post/openxr-tutorial-addendum-2-single-swapchain

https://www.saschawillems.de/blog/2018/06/08/multiview-rendering-in-vulkan-using-vk_khr_multiview/

OCULUS_multiview OVR_multiview OVR_multiview2

VPAndRTArrayIndexFromAnyShaderFeedingRasterizer

XrSwapchainCreateInfo

https://registry.khronos.org/OpenXR/specs/1.1/man/html/XrSwapchainCreateInfo.html

note

openxr-vulkan-example

https://github.com/janhsimon/openxr-vulkan-example