instantiateModelsToScene. How change visibility for a specific instance?

I can’t figure out how to change the transparency, I change it, but there is no change, the model is also visible at 100%, and I need it at 50%. Help, preferably with pg :smiling_face_with_tear: (method instantiateModelsToScene)

It may depend on model’s materials, probably you could provide some repro?

3 Likes

I don’t have an example, that’s why I would like to see pg with such an implementation.
It’s just not very easy to rewrite both the server and client logic for ph

Here is the PG which may be taken as a starting point - https://playground.babylonjs.com/#S7E00P#441

1 Like

Adding a couple of parameters leaves the original mesh non-transparent - https://playground.babylonjs.com/#S7E00P#442

instantiateModelsToScene(undefined,true)
1 Like

Thank you very much, everything worked out. I saw this somewhere, but I couldn’t find it. This is not the first time you help me out :heart:

2 Likes

your game looks stunning !!!

2 Likes

Can’t agree more!

1 Like