How to use the VIEW_ANGLE function from three

Find comprehensive JavaScript three.VIEW_ANGLE code examples handpicked from public code repositorys.

41
42
43
44
45
46
47
48
49
50

var light = new THREE.HemisphereLight(0xffffff, 0xffffff, 0.5);
scene.add(light);

var light = new THREE.PointLight(0xffffff, 0.5);
light.shadowCameraFov = THREE.VIEW_ANGLE;
light.castShadow = true;
// light.shadowBias = 0.0001;
// light.shadowDarkness = 0.5;
// light.shadowMapSoft = true;
fork icon0
star icon3
watch icon2

+ 5 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)