Lighting Shadow Don't Work

So I made a script that use roblox lights to make some shadows but when I layered the lights the shadow on other lights don’t work so like 5 pointlights put inside the part and one of them work even tho all of them are shadow enabled and the rest don’t work like in this image

And this is how is supposed to be :

Screenshot 2023-11-12 100900

In the video first light works with shadows on and the second doesn’t even though the shadow is on

light test.rbxl (667.9 KB)

If u think there is another way to fix this, please let me know

And even tho I tried to make a bunch of parts with a same position and different light
it’s still bugging

2 Likes

We’ve filed a ticket into our internal database for this issue, and will come back as soon as we have updates!

Thanks for flagging!

4 Likes

The video and rbxl files linked in the original post seem private, so we cannot access them. Please unprivate them if you can.

To clarify, you expect the shadows to increase in intensity as you add more lights. Do I understand the issue correctly? The bug would be that it looks like there is only ever one light worth of shadows, even if you have several point lights in the same spot.

3 Likes

Oh sorry what do you mean by unprivate?

And about the lighting shadow bug let me explain it so this is how light without shadow’s on

And this is what it looks like when its the shadow is on

So now if i stacked the part with lights the other’s shadow will not work even its on so let’s say i stacked the light 3 times 1 light shadow’s work and the 2 will not work same as the first picture above

image

It looks like this

You notice the first light shadow and the other 2 just go through the block

I hopefully you understand what i mean now and about the unprivate i don’t get what do you mean by that

1 Like

I think you need to re-upload the file, the link has broken somehow. I managed to repro the bug, it looks like having a light source with shadows enabled on Future lighting, then duplicating it, will make the shadows look brighter even though they are shadows:

One PointLight:

Two PointLights (yes, both have shadows enabled):

As you can see, the shadow is brighter with two PointLights than with one, even though they are in the same position and thus should not be getting more light than before.

shadows_get_brigher_with_more_lights.rbxl (53.3 KB)

3 Likes

if roblox fixed this bug i got so many ideas to come and sure i’ll re-upload it

3 Likes

here’s the game i hope it works now

Shadow Bug.rbxl (668.3 KB)

3 Likes

I believe I have a fix working. The bugfix should be queued up. It’s the holidays and rollouts are a bit slower but know that this issue has been dealt with. Look out for the following line or something similar in future patch notes as this is the version where the fix will be rolled out in.

Fixes bug where some lights with shadow toggled on would not have shadows and light would contribute behind the casting object.

Thanks so much for sending out this bug ticket, we really appreciate them. I hope you send out more in the future and keep developing on Roblox!

4 Likes

This is rolled out as of release 607, I think this bug can be closed now

2 Likes

where did you find that? can’t find in studio

oh never mind i found it thanks for letting me know

It’s been turned on in production for the last 10-ish days now as well. Please let us know if anything like this happens again. We’ll stomp these bugs as fast as we reasonably can.

Thank you for reporting this so well also. We really appreciate bug reports with as much detail as this in getting things fixed.

1 Like

Hope you get to run these ideas finally :roblox: . Would love to see them.

1 Like

thanks and i already made a module that makes lighting a little bit better

the way i explain this module might be terrible but i just want it to be simple and thanks for fixing the bugs this helps many people

1 Like


I’m unsure how to reproduce this with 100% rate but it seems the steps im doing sometimes cause this weird thing to occur (and im unsure if crash has something to do with lighting)

Posted it here because this very likely has something to do with the new lighting shadow behavior.

welp i guess they have to fix this again @LightSettingsGuy

I’ll take time to look into this. @vvv331 Would you mind sending the placefile over please? I was trying and couldn’t properly reproduce the video you sent.

reproductionplace.rbxl (54.4 KB)
i’ve attached a reproduction file, read the read me module for further instructions.
unsure if this can happen live, but it consistently happens when you use a dragger (i tried disabling dragger beta feature, it still happened)

I’ve filed a bug internally specific to the dragging bug. This seems like a bug revealed only after the previous bug was fixed, but ultimately a separate bug. It’s on my things to do now :slight_smile:

Hey @vvv331 this second shadow merging issue should be fixed in the next few releases.