(I achieved the second image by changing the skybox to black, but that won’t work. I have other buildings and areas that rely on the lighting I have right now, and changing the skybox would ruin the game. I tried using fog meshes from the toolbox but they didn’t look good.
The building is made of unions, and it is all PBR. The lighting is on Future, and here are the lighting settings:
If anyone knows how I could get it to be like the second image WITHOUT effecting the current lighting (at least not to much), please let me know.
The only way that I know of is to add a large part on top of the structure you want to darken. This won’t work if you have areas you want the player to access on top.
Why not just make everything completely dark (change the GlobalBrightness to 0, ToD to 21, etc), and then brighten up the areas that you want to be bright (using PointLights, SpotLights, etc)?
local Lighting = game.Lighting
local skyBox = Lighting.DarkSkyBox
local darkPart = workspace.darkPark
local lightPart = workspace.lightPart
local character = script.parent
local head = character.Head
head.Touched:connect(function(Hit)
if Hit.name == "darkPart" then
-- insert lighting settings
Lighting.Skybox.Enabled = true
end
if Hit.name == "lightPart" then
--insert lighting settings
Lighting.Skybox.Enabled = false
end
end)