最低要求为:
Player 设置中的 Stereoscopic 复选框只能用于 DirectX 11.1 的立体 3D 支持。目前不使用 AMD 的四缓冲区扩展。确保此示例在您的机器上有效。立体支持在全屏模式和窗口化模式下均有效。
启动游戏时,按住 Shift 可调出分辨率对话框。如果检测到支持 Stereo3D 的显示器,分辨率对话框中将显示相应的复选框。Camera 上有几个与 API 相关的选项:stereoEnabled、stereoSeparation 和 stereoConvergence。请使用这几个选项来调整效果。在场景中只需要一个摄像机,两只眼睛的渲染是由这些参数来处理的。
请注意,此复选框不适用于 VR 头盔。
注意:目前,如果将 Unity 设置为在线性颜色空间中渲染,则会破坏立体渲染。这似乎是 Direct3D 的局限性。似乎还有一个问题:如果您启用了某些实时阴影(在前向渲染中),则 camera.stereoconvergence
参数完全不起作用。在延迟光照中,您将获得一些阴影,但左右眼之间不一致。
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.