Skip to content

Commit

Permalink
fixed shadow (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish authored Jan 20, 2021
1 parent 94612dc commit 61487f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/model-viewer/src/three-components/ModelScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,11 @@ export class ModelScene extends Scene {
}
}


/**
* Sets the shadow's intensity, lazily creating the shadow as necessary.
*/
setShadowIntensity(shadowIntensity: number) {
this.shadowIntensity = shadowIntensity;
let shadow = this.shadow;
const side =
(this.element as any).arPlacement === 'wall' ? 'back' : 'bottom';
Expand Down

0 comments on commit 61487f7

Please sign in to comment.