Answers for "directional light three js"

1

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 );
Posted by: Guest on October-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language