Repository navigation
fix(stereo) allowing shaders to work with singlepass - #393
Conversation
Many of the holotoolkit shaders weren't working correctly with the single-pass stereo instancing option enabled in unity 5.5. This change adds the instanceId and sets up the rendertarget index as required. See issue microsoft#390
|
Hi Adam Hines (@thebanjomatic), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
|
I have a test scene that I built for this as well with a bunch of spheres in a circle around the camera with different materials and text labels. I didn't include it as part of the merge request because it didn't seem particularly useful outside of this change, but I can do so if you think its worth adding. Testing again after the fix:
|
|
David Bastien (@dbastienMS) How does this look? |
|
Kurtis (@keveleigh) / David Bastien (@dbastienMS) is there anyone else that can look at this, or anything else I can do to help validate this change? |
|
Adam Hines (@thebanjomatic) changes look good to me for enabling Stereo instance rendering. David Bastien (@dbastienMS) was working on something similar before the holidays so I would love for him to take a look. Thanks! |
David Bastien (dbastienMS)
left a comment
There was a problem hiding this comment.
Looks good, thanks! Did that test shader ever get removed? I don't see it updated here.
|
David Bastien (@dbastienMS) I'm not sure which test shader you are referring to. I had a test scene that I was using to verify this locally, but I never added it to my branch |
|
David Bastien (@dbastienMS) / Neeraj Wadhwa (@NeerajW) Is there any additional work needed on this pull request, or can this be merged? |
Many of the holotoolkit shaders weren't working correctly with the
single-pass stereo instancing option enabled in unity 5.5. This change
adds the instanceId and sets up the rendertarget index as required.
See issue #390