Hey! I am DomTheMomRBLX. I made an Auto Exposure script, but its not working…
local Camera = game.Workspace.CurrentCamera
local l1 = Camera.CFrame.LookVector
local l2 = (game.Workspace.gaga.Position - Camera.CFrame.Position).Unit
local mIntensity = l1:Dot(l2)
while wait() do
mIntensity = (mIntensity + 1) * 0.5
game.Lighting.ExposureCompensation = mIntensity
end
What am I doing wrong?
(I want it to look like this: Dynamic Exposure - Roblox)