local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local Players = game:GetService("Players") local Lighting = game:GetService("Lighting") local player = Players.LocalPlayer local Window = Rayfield:CreateWindow({ Name = "SpectiumPro RTX", LoadingTitle = "Loading the Hub...", LoadingSubtitle = "Made by SpectravaxISBACK...", Theme = "DarkBlue", ConfigurationSaving = { Enabled = false }, KeySystem = false }) for _, v in ipairs(Lighting:GetChildren()) do if v:IsA("PostEffect") or v:IsA("Atmosphere") then v:Destroy() end end local Bloom = Instance.new("BloomEffect", Lighting) local CC = Instance.new("ColorCorrectionEffect", Lighting) local SunRays = Instance.new("SunRaysEffect", Lighting) local DOF = Instance.new("DepthOfFieldEffect", Lighting) local Atmos = Instance.new("Atmosphere", Lighting) Bloom.Enabled = false SunRays.Enabled = false DOF.Enabled = false Atmos.Enabled = false CC.Enabled = false local function setAtmosphere(state) Atmos.Enabled = state if state then Atmos.Density = 0.35 Atmos.Color = Color3.fromRGB(255, 210, 180) Atmos.Glare = 0.3 Atmos.Haze = 0.1 end end local function realisticAfternoon() Lighting.ClockTime = 15 Lighting.GlobalShadows = true SunRays.Enabled = true SunRays.Intensity = 0.35 SunRays.Spread = 0.2 Bloom.Enabled = true Bloom.Intensity = 1.2 Bloom.Threshold = 0.7 CC.Enabled = true CC.Contrast = 0.15 CC.Saturation = 0.2 CC.TintColor = Color3.fromRGB(255, 244, 214) DOF.Enabled = true DOF.FocusDistance = 500 DOF.InFocusRadius = 60 setAtmosphere(true) end local RTX = Window:CreateTab("RTX", "sun") local PostFX = Window:CreateTab("Post FX", "circle-play") local Presets = Window:CreateTab("Presets", "align-horizontal-distribute-center") local Universal = Window:CreateTab("Universal", "globe") local Info = Window:CreateTab("Your Info", "user-round") RTX:CreateLabel("SpectiumPro RTX Engine") RTX:CreateSection("Lighting Core") RTX:CreateDropdown({ Name = "Lighting Technology", Options = {"Future","ShadowMap","Compatibility"}, CurrentOption = "Future", Callback = function(v) Lighting.Technology = v == "Future" and Enum.Technology.Future or v == "ShadowMap" and Enum.Technology.ShadowMap or Enum.Technology.Compatibility end }) RTX:CreateToggle({ Name = "Global Shadows", CurrentValue = Lighting.GlobalShadows, Callback = function(v) Lighting.GlobalShadows = v end }) RTX:CreateSlider({ Name = "Brightness", Range = {0, 5}, Increment = 0.1, CurrentValue = Lighting.Brightness, Callback = function(v) Lighting.Brightness = v end }) RTX:CreateSection("Time Of Day") RTX:CreateDropdown({ Name = "Time Presets", Options = {"Morning","Noon","Afternoon","Evening","Night"}, CurrentOption = "Noon", Callback = function(v) if v == "Morning" then Lighting.ClockTime = 8 elseif v == "Noon" then Lighting.ClockTime = 12 elseif v == "Afternoon" then realisticAfternoon() elseif v == "Evening" then Lighting.ClockTime = 18 elseif v == "Night" then Lighting.ClockTime = 22 end end }) PostFX:CreateToggle({ Name = "Bloom", CurrentValue = false, Callback = function(v) Bloom.Enabled = v end }) PostFX:CreateToggle({ Name = "Sun Rays", CurrentValue = false, Callback = function(v) SunRays.Enabled = v end }) PostFX:CreateToggle({ Name = "Depth Of Field", CurrentValue = false, Callback = function(v) DOF.Enabled = v end }) PostFX:CreateToggle({ Name = "Atmosphere", CurrentValue = false, Callback = function(v) setAtmosphere(v) end }) Presets:CreateButton({ Name = "Realistic Afternoon RTX", Callback = function() realisticAfternoon() end }) Universal:CreateButton({ Name = "Reset Lighting", Callback = function() for _, v in ipairs(Lighting:GetChildren()) do if v:IsA("PostEffect") or v:IsA("Atmosphere") then v:Destroy() end end end }) Info:CreateParagraph({ Title = "Player Info", Content = "Username: "..player.Name.."\nDisplay Name: "..player.DisplayName })