Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
3 years ago

Change Meta avatar transparency

Hello, I want to make a remote Meta Avatar fade in and out. I can't find a way to make the avatar transparent. I can't find a way to access the mesh render and change the alpha channel. It must be possible as in the documentation they put best practice to fade in the avatar on loading:

 

Picture from Meta best practice

5 Replies

Replies have been turned off for this discussion
  • Did you ever figure out how to do this with the built in Horizon shaders? I'm wanting to do a similar thing.

    • Anonymous's avatar
      Anonymous

      No I still havent found a solution. I will post here if I find out. Please let me know if you find a way

  • This is such an important question. Finding how to change the material of these avatars is no small task. 
    Any Meta Developer wants to chime in?

  • jtriveri's avatar
    jtriveri
    Start Partner

    Maybe this will work - not the best way, but straightforward: 

    • get all MeshRenderers with GetComponentsInChildren
    • set up alpha blending on each material (not sharedMaterial!)

    I don’t know what material shader the avatars have, so I don’t know exactly how you’ll need to set up alpha blending.