start adding PCSS shading

This commit is contained in:
Joshua Seigler 2018-10-11 16:20:46 -04:00
parent ee38101670
commit 9dc521e39a
3 changed files with 105 additions and 4 deletions

View file

@ -11,7 +11,7 @@ class Lighting extends THREE.Object3D {
dirLight.castShadow = true;
dirLight.shadow.mapSize.width = 1024;
dirLight.shadow.mapSize.heigth = 1024;
dirLight.shadow.mapSize.height = 1024;
dirLight.shadow.radius = 3;
let d = 10;