dev #10
|
@ -18,7 +18,7 @@ function shadows_and_pos(scene: any) {
|
||||||
el.castShadow = true
|
el.castShadow = true
|
||||||
if (el.isPointLight) {
|
if (el.isPointLight) {
|
||||||
el.shadow.bias = -0.01
|
el.shadow.bias = -0.01
|
||||||
const k = 8
|
const k = 6
|
||||||
el.shadow.mapSize = new Vector2(512 * k, 512 * k)
|
el.shadow.mapSize = new Vector2(512 * k, 512 * k)
|
||||||
}
|
}
|
||||||
shadows_and_pos(el)
|
shadows_and_pos(el)
|
||||||
|
|
Loading…
Reference in New Issue