Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. let spotlight = new SpotLightDropShadow({ color: appleCrayonColorThreeJS('snow'), intensity: 1.5, shadowSize: 1024, near: 0.8e3, far: 3.0e3, doShowHelper: true });
  2. spotlight.addToScene(scene);
  3.  
  4. const near = 1e3;
  5. const far = 2e3;
  6. spotlight.pose({ position: new THREE.Vector3(-400, 1500, -400), target: new THREE.Vector3(-400, 0, -400), near, far });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement