BabylonJS-CharacterController icon indicating copy to clipboard operation
BabylonJS-CharacterController copied to clipboard

How can I change brightness of the avatars?

Open chopin opened this issue 2 years ago • 2 comments

Hi. Thanks for sharing this great controller.

I upgraded my previous controller version 0.1.0 to 0.4.3 with the avatars in the demo site opened.

I found that the avatars looked too dark (both Vincent, and Npc) in the demo site. They look almost black when I look at the shadowed side without lighting in my web site.

The avatars in the old version looked pretty bright and clearly visible from all directions even without light. It seems that something changed about the brightness of avatars in version 0.4.3 (or before it).

How can I change the brightness of the avatars? I don't use any mesh editor, and I hope that there is an easy way to change brightness of a loaded mesh.

Thanks in advance.

chopin avatar Aug 09 '23 05:08 chopin

I tried mesh.material.emissiveColor= BABYLON.Color3(1,1,1). But, it had no difference.

chopin avatar Aug 11 '23 05:08 chopin

Hi, I am not sure how I can help with that. The character controller doesn't influence the material property of the avatars. Also, the avatars show up ok in my browser. Try turning off shadow and see if that helps.

ssatguru avatar Aug 12 '23 19:08 ssatguru