How to set mesh opacity without directly changing it's material's property

Yes, you can use the setParameter method to change any material/shader uniform directly on a meshInstance, instead of a material, without affecting other entities using the same material. That would have to be done in code.

Here is a helpful thread: ☑ I have some problem when I change the material

Just note if you are using batching, those entities can’t be batched since a requirement for batching is having the same shader uniforms.

2 Likes