user1663544
user1663544

Reputation: 135

Alternative for shadow darkness in ThreeJS

Now that shadow darkness is removed in r74 of Three.js, what alternative is there to still not make the shadows that dark? The default value is literally pitch black and there's no way to change it anymore.

Upvotes: 6

Views: 4858

Answers (1)

salihcenap
salihcenap

Reputation: 1937

Since shadow darkness has been removed, to adjust shadow intensity you need to use ambient light. If no ambient light exists yet, make sure you add one to your scene. Then you adjust the intensity of your ambient and spotlights.

Upvotes: 1

Related Questions