Skip to content

fix(stereo) allowing shaders to work with singlepass - #393

Merged
Neeraj Wadhwa (NeerajW) merged 1 commit into
microsoft:masterfrom
thebanjomatic:stereoinstancing
Jan 4, 2017
Merged

Neeraj Wadhwa (NeerajW) merged 1 commit into
microsoft:masterfrom
thebanjomatic:stereoinstancing

Conversation

@thebanjomatic

Copy link
Copy Markdown

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

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
@msftclas

Hi Adam Hines (@thebanjomatic), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.

TTYL, MSBOT;

@thebanjomatic

Adam Hines (thebanjomatic) commented Dec 13, 2016 •

Copy link
Copy Markdown
Author

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:

Shader Name Status
StandardFast ✅
BlinnPhong ✅
Lambertian ✅
Cursor ✅
EditorHands ✅
Occlusion ✅
SpatialUnderstanding\Mapping ✅
SpatialUnderstanding\Understanding ✅
UnlitConfigurable ✅
VertexLit ✅
WindowOcclusion ✅
Wireframe ✅

@thebanjomatic Adam Hines (thebanjomatic) changed the title fix(stereo) setting shaders to use singlepass fix(stereo) allowing shaders to work with singlepass Dec 13, 2016
@keveleigh

Copy link
Copy Markdown
Contributor

David Bastien (@dbastienMS) How does this look?

@thebanjomatic

Copy link
Copy Markdown
Author

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?

@NeerajW

Copy link
Copy Markdown

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!

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! Did that test shader ever get removed? I don't see it updated here.

@thebanjomatic

Copy link
Copy Markdown
Author

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

@thebanjomatic

Copy link
Copy Markdown
Author

David Bastien (@dbastienMS) / Neeraj Wadhwa (@NeerajW) Is there any additional work needed on this pull request, or can this be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants