【Question】About object and lights


I may have this newbie question
So im about to share THREEJS with my classmates
But i found this problem
I dont have any lights in this scene as you can see the bird is black
But we are still able to see those points ,oh and the axes.
Why?

MeshBasicMaterial , matcapMaterial, normalMaterial , pointMaterial ,lineMaterial (used by axeshelper) and some others do not get affected by lights.

the bird is probably using meshStandard ,meshPhysical ,lambert or phong which does take light into account

check out the docs for all the material types three.js docs

3 Likes

Thanks for replying! This is great!