Skip to content

Commit

Permalink
Fix light.shadow.bias missing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirox authored and donmccurdy committed Dec 30, 2016
1 parent 9cb1e65 commit 98bb556
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shadows/shadow-light.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ module.exports = {
if (!data.castShadow) { return light; }

light.castShadow = data.castShadow;
light.shadow.bias = data.shadowBias;
light.shadow.darkness = data.shadowDarkness;
light.shadow.mapSize.height = data.shadowMapHeight;
light.shadow.mapSize.width = data.shadowMapWidth;
Expand Down

0 comments on commit 98bb556

Please sign in to comment.