Santarh / MToon

Toon Shader with Unity Global Illumination
MIT License
538 stars 60 forks source link

Add support for single pass instanced stereo rendering #106

Closed amamagi closed 3 years ago

amamagi commented 3 years ago

Fixed an issue where the right eye was not rendered when rendering in Single Pass Instanced mode.

Before

image

After

image

Verified to work with Unity 2020.3.1f1 + OpenVR XR Plugin and Unity 2019.4.23f1 + OpenVR built-in XR.

Santarh commented 3 years ago

https://docs.unity3d.com/Manual/SinglePassInstancing.html

Santarh commented 3 years ago

LGTM