so i made a module that use roblox lights to make some realistic light but when i layered the lights the shadow on other lights don’t work if your confused its like 5 pointlights put inside the part and one of them work even and the rest don’t work tho all of them are shadow enabled like in this image
and this is how is supposed to be :
if u think there another way to fix this please let me know
and if your questions are:
why u need layers or lights instead of 1
try duplicating the part
are they enabled
what’s the inside of the script?
#1 cuz its more realistic than one light souce here’s the samples:
with lower light range:
only one light source
#2 yes already tried same result the shadow don’t work except for one of them this is the result
#3 yes all of them are enabled
#4 this is the inside of the script
local ez = require(game.ReplicatedStorage.EzScriptX)
local part = workspace:WaitForChild("Sphere")
local lighttest = ez.CreateLight(5,"PointLight",part,1,50,50,true,Color3.new(0.6313725490196078, 1, 0.43137254901960786))
lighttest:EnableLight()