VR 및 대부분의 MR 기기에서는 Unity 씬을 스테레오로 렌더링해야 합니다.Unity XR은 다음과 같이 두 가지 스테레오 렌더 모드를 지원합니다.
참고:싱글 렌더 패스를 사용하여 씬을 더블 와이드 텍스처로 렌더링하는 이전 기법은 더 이상 사용할 수 없습니다.
배경 정보는 고급 스테레오 렌더링으로 AR 및 VR 성능을 극대화하는 방법을 참조하십시오.싱글 패스 인스턴스화 스테레오 렌더링은 현재 대부분의 VR 플랫폼에서 사용할 수 있습니다.
Project Settings의 XR Plug-in Management에서 Render mode 설정을 찾을 수 있습니다.각 XR 공급자 플러그인은 지원되는 경우 자체 설정을 제공합니다.
렌더 모드를 설정하려면 다음 단계를 따르십시오.
Project Settings(메뉴:Edit > Project Settings)를 엽니다.
필요한 경우 XR Plugin Management 섹션을 확장합니다.
관련 공급자 플러그인의 설정 페이지를 선택합니다.
리스트에서 모드를 선택합니다.
MockHMD 공급자 플러그인의 렌더 모드 옵션
참고:일부 플러그인은 설정 이름이 Stereo Rendering Mode입니다.
싱글 패스 인스턴스화 렌더 모드는 다음 플랫폼과 기기에서 지원됩니다.
VPAndRTArrayIndexFromAnyShaderFeedingRasterizer
확장자를 지원해야 합니다.GL_NV_viewport_array2
GL_AMD_vertex_shader_layer
GL_ARB_shader_viewport_layer_array
해당 모드가 지원되지 않을 때 Render Mode를 Single Pass Instanced로 설정하면 렌더링이 멀티 패스 모드로 되돌아갑니다.
참고:Unity는 디퍼드 렌더링을 사용할 때 빌트인 레거시 렌더 파이프라인에서 싱글 패스 스테레오 인스턴싱을 지원하지 않습니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.