Created
April 8, 2019 20:11
-
-
Save turner/443e44feb30077d566f71811e531b3f2 to your computer and use it in GitHub Desktop.
Driver App for SpotlightDropShadow Class.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment