Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

directional light three js

// White directional light at half intensity shining from the top.
const directionalLight = new THREE.DirectionalLight( 0xffffff, 0.5 );
scene.add( directionalLight );
 
PREVIOUS NEXT
Tagged: #directional #light #js
ADD COMMENT
Topic
Name
4+9 =