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() 
3 Likes

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

1 Like

Do you mean “Technology” in lighting?

1 Like

this one is in studio run Quality 21:

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

1 Like

Try this i guess (if im not wrong)

1 Like

i am using Future lighting idk if this really a bug

2 Likes

image

2 Likes

Oh, probably a bug or something

1 Like

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

2 Likes

Have you tried using other lighting technologies?

1 Like

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

1 Like

Future:


Compability:

Voxel:

ShadowMap (same result as Voxel):

2 Likes

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

2 Likes

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



2 Likes

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

2 Likes

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

2 Likes

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.

2 Likes

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

2 Likes

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

2 Likes

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

2 Likes