What to do to make the face that is opposite the camera brighter?

I want to make a bjs scene perform as sketchup, a face will brighter when the face normal is closer to the camera look direction. Is there any parameter can control this?


You should not use the emissive but the diffuse color instead and add some lights to your scene:

1 Like

Yeah, In fact, in my project I have used diffuse color instead emissive color, and I want to add a directlight which follow camera in look direction and position, you know, just like put a flashlight on my head. but I don’t how to make the direction of directlight correspond with camera look direction.

Something like that - https://playground.babylonjs.com/#1OTIFL#4


Thanks, that’s what I want.