Lighting Shadow Don't Work

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 :

Screenshot 2023-11-12 100900

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:


image

only one light source
image

#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() 

Put your graphics 4+,
Keep your game in future.

Do you mean “Technology” in lighting?

this one is in studio run Quality 21:

and this one is in studio play test Quality 10/max :

Try this i guess (if im not wrong)

i am using Future lighting idk if this really a bug

image

Oh, probably a bug or something

yea i already told roblox bug support about it i hope they will fix this next announcement or week since they update studio and roblox every thursday

Have you tried using other lighting technologies?

nope just future idk if that would work but i’ll try

Future:


Compability:

Voxel:

ShadowMap (same result as Voxel):

1 Like

Voxel and shadow map does got a bit of working. It seems like roblox is taking the diffraction of light a bit too seriously.

yea i got this result which kinda worked but the bottom of the part still see the light



1 Like

i might make my own lighting render system but it will be laggy since this gonna be in real time i don’t want my pc to take half of my fps

do you think that its a good way? to make this more accurate?

Nope its not. You can either use well one light source or use shadow map OR wait for roblox. Out of these 3 the one light source would be the best.

i’ll better wait and make another one but there’s this guy told me that dynamicimages might help when its released

why not use viewport frames in order to create stencil shadows?

first of all viewframes don’t have much settings for the lighting and its laggy if u make it in real time