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

Rendered Font does not face in the forward vector

Open StephenHodgson opened this issue 9 years ago • 3 comments

Font is rendered backwards in regard to its transform forward vector direction.

Might be how it's implemented in the shader?

StephenHodgson avatar Dec 14 '16 15:12 StephenHodgson

I just looked into this. This might be what we want. For scripts like Billboard and TapToPlace the rotation of the object is based off the rotation of the camera, so when the camera looks at the object it will be looking at it from behind. For the text to be readable we want it to face in the opposite direction of the forward vector.

madvlad avatar Dec 21 '16 19:12 madvlad

I disagree. Most likely the text will be a child of the GameObjects that have the scripts on them in the first place so it wouldn't be difficult to rotate if needed. Generally you'd want things to be facing in the forward direction, so if you need to do some maths on said object, you don't need to guess which direction it's facing.

S-Hodgson-MMOARgames avatar Dec 21 '16 22:12 S-Hodgson-MMOARgames

I'm going to go ahead and close this. I rewrote the shader once and couldn't get a good way of doing it without breaking stuff.

StephenHodgson avatar Feb 24 '17 18:02 StephenHodgson