Forum Discussion
BESpectacle
8 years agoProtege
Avatar Hands sorting oddly with transparent objects (TextMeshPro) in Unity.
Transparent objects that should appear in front of the hands getting clipped. Trying to use TextMeshPro but same issue on any transparent material. Saw it in Unity 5.6.4 have since upgraded to Unity 2...
BESpectacle
7 years agoProtege
@imperativity - I was not able to use the OVROverlay components because it selects a static texture but the TextMeshPro Unity package "texture" is a font atlas and the text is generated in realtime by the shader. Did I miss something?
I did have success with an alternative solution based on another forum post: https://forums.oculusvr.com/developer/discussion/comment/491844/#Comment_491844
Copied the TMP_SDF shader from the TextMeshPro package and modified the SubShader section to:
Tags
{
"Queue" = "Geometry+10000"
"RenderType"="Outline"
"RenderType" = "Transparent"
}
Blend One OneMinusSrcAlphawhich seems to work for transparent text either in front or behind the Avatar hands.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 1 year ago
- 3 years agoAnonymous