MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Stereo Instancing broken on 3DTextShader

Open thebanjomatic opened this issue 9 years ago • 8 comments

Currently it only renders in the one eye... It looks like this was likely broken with this commit: https://github.com/Microsoft/HoloToolkit-Unity/commit/9f6530459af5875577bb1b6807d2b653229d1662

thebanjomatic avatar Mar 07 '17 15:03 thebanjomatic

I can take a look at this later today unless anyone else wants to tackle it sooner.

thebanjomatic avatar Mar 07 '17 15:03 thebanjomatic

My apologies, I'll look into this as well seeing as I'm to blame haha. Not sure when I'll get the time though.

StephenHodgson avatar Mar 07 '17 16:03 StephenHodgson

I'd argue that stereo instancing was never implemented. (Could be wrong though)

StephenHodgson avatar Mar 08 '17 00:03 StephenHodgson

@thebanjomatic, are you sure it's not that their using stereo rendering in the player settings?

StephenHodgson avatar Jun 17 '17 04:06 StephenHodgson

I filed this originally on behalf of @jessemcculloch who wasn't on github at the time. Perhaps he can let you know if this is still an issue for him and how to reproduce if it is.

thebanjomatic avatar Jun 21 '17 19:06 thebanjomatic

If you change it to single pass rendering it will also break a lot of the shaders at run time, and they will only render on the left eye,

On Wed, Jun 21, 2017 at 3:05 PM, Adam Hines [email protected] wrote:

I filed this originally on behalf of @jessemcculloch https://github.com/jessemcculloch who wasn't on github at the time. Perhaps he can let you know if this is still an issue for him and how to reproduce if it is.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/HoloToolkit-Unity/issues/551#issuecomment-310175542, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnmpwoM_-GI4tvPKrxqrHlvQHwKuHOzks5sGWmXgaJpZM4MVlyP .

--

Charles Poole Mathematician at Large. http://www.isstudios.net http://www.isstudios.net

If you have no critics, you’ll likely have no success.

  • Malcolm X

drakep avatar Jun 21 '17 20:06 drakep

For a quick work around you can change the shader of the material to GUI/Text Shader. I'm not sure of all the ramifications, but it fixed the single eye rendering issue in some recent prototypes.

It would be nice to see if the 3DTextShader needs to be updated and how to update it properly. We created it to fix z-sorting issues with the previous default text shader.

killerantz avatar Aug 23 '17 16:08 killerantz

I just created a pull request to fix the shader. #904

The built-in TextShader does not properly z short, so text will show up through other 3D geometry. The HoloToolkit/3DTextShader is still the way to go.

killerantz avatar Aug 30 '17 15:08 killerantz