- What do you want to achieve? Keep it simple and clear!
I’ve created a procedural backrooms generator but I’m encountering some unexpected lighting issues. I’m not sure if this is a me problem or an actual studio bug so I’ll post it here.
- What is the issue? Include screenshots / videos if possible!
I’m using future lighting and the shadows are very broken:
The lights are point lights inside of attachments that are slightly under the lamps. I cannot replicate this bug inside outside of testing.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried searching it up on the developer hub, disabling shadows (this worked at the cost of graphics) and replicating it outside of the testing environment (I failed).
Some possibly useful information?:
This is a wave function collapse based generator. It creates 3 layers above and under you within a set render distance. It is also tile based and creates the lights in the script when the tile is created. The lamps are created with the following script:
local attach = Instance.new("Attachment",v)
attach.Position = Vector3.new(0,-1.6,0)
local light = Instance.new("PointLight",attach)
v.Color = Color3.fromRGB(255, 253, 222)
light.Color = v.Color
llight.Range = 18
light.Brightness = 1
light.Shadows = true
All parts have cast shadow on currently, and all lights have shadows on.
Any help would be very appreciated, thank you/.