dev #10

Merged
ksenia_mikhailova merged 46 commits from dev into main 2024-07-24 12:58:58 +03:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 770fbc9335 - Show all commits

View File

@ -16,6 +16,9 @@ function shadows_and_pos(scene: any) {
scene.children.forEach((el: any) => { scene.children.forEach((el: any) => {
el.receiveShadow = true el.receiveShadow = true
el.castShadow = true el.castShadow = true
if(el.isPointLight) {
el.shadow.bias = -0.01
}
shadows_and_pos(el) shadows_and_pos(el)
}) })
} }