Skip to content

Commit be58e82

Browse files
authored
Mostly fix shadow artifacts by bias offset
1 parent 4175592 commit be58e82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

www/assets/js/ModelRepository.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export class ModelRepository {
4848
sun.castShadow = true
4949
sun.shadow.mapSize.width = 4096
5050
sun.shadow.mapSize.height = 4096
51+
sun.shadow.bias = -0.00018
5152
sun.shadow.camera.near = 3000
5253
sun.shadow.camera.far = 15500
5354
sun.shadow.camera.left = -5000

0 commit comments

Comments
 (0)