Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let spotlight = new SpotLightDropShadow({ color: appleCrayonColorThreeJS('snow'), intensity: 1.5, shadowSize: 1024, near: 0.8e3, far: 3.0e3, doShowHelper: true });
- spotlight.addToScene(scene);
- const near = 1e3;
- const far = 2e3;
- 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