decrease shadows k

This commit is contained in:
Kseninia Mikhaylova 2024-07-12 16:44:24 +03:00
parent ce6d9428e9
commit 3a5df5dae4
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function shadows_and_pos(scene: any) {
el.castShadow = true
if (el.isPointLight) {
el.shadow.bias = -0.01
const k = 8
const k = 6
el.shadow.mapSize = new Vector2(512 * k, 512 * k)
}
shadows_and_pos(el)