Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AmbientLight No Longer Works #755

Closed
jstin opened this issue Nov 14, 2011 · 2 comments
Closed

AmbientLight No Longer Works #755

jstin opened this issue Nov 14, 2011 · 2 comments

Comments

@jstin
Copy link

jstin commented Nov 14, 2011

Upgrading to r46 causes my ambient lights to be dark.

ambientLight = new THREE.AmbientLight( 0xbbbbbb );
scene.add( ambientLight );

Everything is dark now.

@alteredq
Copy link
Contributor

Ambient lighting works, just it's different from how it was before.

Before Lambert material didn't have ambient color property (before it was like if it had 0xffffff ambient color).

Now Lambert is consistent with Phong and has ambient color (default to 0x050505, like Phong, so it's darker compared to before).

@jstin
Copy link
Author

jstin commented Nov 14, 2011

Thanks, that works.

@jstin jstin closed this as completed Nov 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants