#No Shadows Randomly

1 messages · Page 1 of 1 (latest)

bronze island
#

For some reason my Shadows just disappeared at some point, only now did i notice since i wanted to ship a wip build to my website.

I checked the Lightsource, Lighting Settings and the URP Settings and i rebaked my lights, nothing.

Anyone has a clue, on URP (Unity 6) with WebGL as a Build Setting.

hexed plaza
#

I'd start by unbaking the lights (clear in the baking window) - if it starts working then the issue is with light baking. If not, at least we'll have removed a bit of complexity while debugging.

If that's not it, check the shadow settings for the main light. Biases, clipping plane, etc.

bronze island
#

¯_(ツ)_/¯

bronze island
#

nvm

#

if i bake it it disappears

#

before baking

#

while baking

#

after baking

#

im at a loss

#

the light itself is set to baked

bronze island
#

setting the light to mixed fixed it ?!? i still only use baked lighting in my settings but for some reason now it worked, maybe baked on the light is screwed

split panther
past smelt
#

Doesn't mean it works

bronze island
past smelt
#

Baked lighting depends on the lightmaps you have to work with, so it rarely looks the same as realtime lighting

split panther
#

Oh right this was more about the shadows not baking. Don't you need to set the objects to static too if you've not done that

past smelt
#

Not all meshes practically can be lightmapped, if they're too complex or dense like grass

#

The purpose of mixed lighting is to get the sharp realtime shadows in addition to indirect lighting