mirror of
https://github.com/seigler/webgl-threejs-hello
synced 2025-07-28 02:06:13 +00:00
⚡ start adding PCSS shading
This commit is contained in:
parent
ee38101670
commit
9dc521e39a
3 changed files with 105 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue