pint_9
(pint_9)
November 12, 2023, 10:47am
#1
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()
3 Likes
Funn3y_Ro
(sillyracky)
November 12, 2023, 10:50am
#2
Put your graphics 4+,
Keep your game in future.
1 Like
Do you mean “Technology” in lighting?
1 Like
pint_9
(pint_9)
November 12, 2023, 10:54am
#4
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
pint_9
(pint_9)
November 12, 2023, 10:56am
#6
i am using Future lighting idk if this really a bug
2 Likes
Oh, probably a bug or something
1 Like
pint_9
(pint_9)
November 12, 2023, 10:59am
#9
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
NoxhazeI
(Johnathan)
November 12, 2023, 11:06am
#10
Have you tried using other lighting technologies?
1 Like
pint_9
(pint_9)
November 12, 2023, 11:10am
#11
nope just future idk if that would work but i’ll try
1 Like
pint_9
(pint_9)
November 12, 2023, 11:17am
#12
Future:
Compability:
Voxel:
ShadowMap (same result as Voxel):
2 Likes
NoxhazeI
(Johnathan)
November 12, 2023, 11:19am
#13
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
pint_9
(pint_9)
November 12, 2023, 11:20am
#14
yea i got this result which kinda worked but the bottom of the part still see the light
2 Likes
pint_9
(pint_9)
November 12, 2023, 11:21am
#15
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
pint_9
(pint_9)
November 12, 2023, 11:28am
#16
do you think that its a good way? to make this more accurate?
2 Likes
NoxhazeI
(Johnathan)
November 12, 2023, 11:29am
#17
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
pint_9
(pint_9)
November 12, 2023, 11:30am
#18
i’ll better wait and make another one but there’s this guy told me that dynamicimages might help when its released
2 Likes
Ultimax_84
(イカルド・トルテリーニ)
November 15, 2023, 10:30pm
#19
why not use viewport frames in order to create stencil shadows?
2 Likes
pint_9
(pint_9)
November 16, 2023, 7:24am
#20
first of all viewframes don’t have much settings for the lighting and its laggy if u make it in real time
2 Likes