My issue is that my lighting vanishes from my game once a cutscene begins to play
is it maybe due to the fact that i am using run service to constantly re weld my camera or is it something else?
No i dont change the global lighting
No i dont change the spotlights from the lights
No i dont change shadows
nothing changes besides the cameras position and the obvious animations that play
local CinematicsFolder = game.ReplicatedStorage:FindFirstChild(foldername)
local CurrentCameraCFrame = workspace.CurrentCamera.CFrame
local FrameTime = 0
local Connection
Connection = rs.RenderStepped:Connect(function(DT)
FrameTime += (DT * 60)
local NeededFrame = CinematicsFolder.Frames:FindFirstChild(tonumber(math.ceil(FrameTime)))
if NeededFrame then
workspace.Camera.CFrame = hrp.CFrame * NeededFrame.Value
else
Connection:Disconnect()
end
end)
my camera reweld code
video and screenshot of before and after the cutscene begins
the lighting service “glitches” the map loses its shadows and lighting so in a sense, you could say that unless it is night time, then it is darker…
already done this, from now i know its not my settings, could it be that the cutscene is tens of thousands of blocks away from the origin of the workplace??
Exactly, your parts with lighting inside dont render after a certain distance, you can change this variable with the StreamingTargetRadius (default is 1024) Property inside of Workspace.
Although at a larger amount, some lower end clients may encounter a little bit of lag.
I’d recommend making the player nearer to the cutscene when you load the cutscene, (1000-2000) blocks away and change the SteamingTargetRadius based on the distance your player is from the cutscene