Shaders open source · RobloxExploits.lolShaders open source
HaidarEXE 1 year ago 30K viewsRun it
Copy the script and paste it into your executor.
Shaders open source.lua · 111 lines Lighting = :()
RunService = :()
MaterialService = :()
()
Lighting.ClockTime =
Lighting.GeographicLatitude =
RunService.Heartbeat:(()
()
)
Lighting.GlobalShadows =
Lighting.ShadowSoftness =
Lighting.Brightness =
Lighting.OutdoorAmbient = .(, , )
Lighting.Ambient = .(, , )
Lighting.Technology = .Technology.ShadowMap
sunRays = .()
sunRays.Parent = Lighting
sunRays.Intensity =
sunRays.Spread =
bloom = .()
bloom.Parent = Lighting
bloom.Intensity =
bloom.Size =
atmosphere = .()
atmosphere.Parent = Lighting
atmosphere.Density =
atmosphere.Offset =
atmosphere.Color = .(, , )
atmosphere.Decay = .(, , )
atmosphere.Glare =
atmosphere.Haze =
colorCorrection = .()
colorCorrection.Parent = Lighting
colorCorrection.Saturation = -
colorCorrection.Contrast =
blur = .()
blur.Parent = Lighting
blur.Size =
(part)
part:()
part.Reflectance =
_, part (:())
(part)
.DescendantAdded:((part)
(part)
)
(part)
part:() part.Material == .Material.Glass
part.Transparency =
part.Reflectance =
_, part (:())
(part)
.DescendantAdded:((part)
(part)
)
(performance)
performance ==
bloom.Enabled =
blur.Enabled =
sunRays.Enabled =
Lighting.GlobalShadows =
bloom.Enabled =
blur.Enabled =
sunRays.Enabled =
Lighting.GlobalShadows =
performanceLevel =
(performanceLevel)
About this script
Just some cool lighting and more, I make it for zombie uprising
local
game
GetService
"Lighting"
local
game
GetService
"RunService"
local
game
GetService
"MaterialService"
-- Force the game to stay in daytime
local
function
forceDaytime
12
-- Set time to 12:00 PM (midday)
0
-- Adjust for direct sunlight
end
-- Continuously force daytime (to prevent other scripts from changing it)
Connect
function
forceDaytime
end
-- Configure global lighting settings
true
-- Enable shadows
0.3
-- Softer shadows for better visibility
3
-- Increase overall brightness
Color3
new
0.8
0.8
0.8
-- Brighter ambient light
Color3
new
0.6
0.6
0.6
-- Brighter indoor light
-- Enable realistic lighting technology (ShadowMap or Voxel)
Enum
-- Use ShadowMap for realistic shadows
-- Add SunRays for god rays effect (optional)
local
Instance
new
"SunRaysEffect"
0.2
-- Subtle sun rays
0.5
-- Add Bloom for glowing effects (optional)
local
Instance
new
"BloomEffect"
0.3
-- Reduced bloom intensity
10
-- Add Atmosphere for a light fog effect (optional)
local
Instance
new
"Atmosphere"
0.1
-- Reduced fog density
0.5
Color3
new
0.9
0.9
0.9
-- Lighter fog color
Color3
new
0.9
0.9
0.9
0
0
-- Add ColorCorrection for a slightly desaturated look (optional)
local
Instance
new
"ColorCorrectionEffect"
0.1
-- Slight desaturation
0.1
-- Slight contrast increase
-- Add Blur for a subtle post-processing effect (optional)
local
Instance
new
"BlurEffect"
1
-- Slight blur for a soft effect
-- Disable reflections for all parts
local
function
disableReflections
if
IsA
"BasePart"
then
0
-- Disable reflections
end
end
-- Apply to all existing parts
for
in
ipairs
workspace
GetDescendants
do
disableReflections
end
-- Listen for new parts being added
workspace
Connect
function
disableReflections
end
-- Make glass materials clear but non-reflective (optional)
local
function
makeGlassClear
if
IsA
"BasePart"
and
Enum
then
1
-- Fully transparent
0
-- No reflections
end
end
-- Apply to all existing glass parts
for
in
ipairs
workspace
GetDescendants
do
makeGlassClear
end
-- Listen for new glass parts being added
workspace
Connect
function
makeGlassClear
end
-- Dynamic performance adjustment for low-end devices
local
function
onDevicePerformance
if
"low"
then
false
false
false
false
else
true
true
true
true
end
end
-- Simulate device performance check (replace with actual performance detection)
local
"medium"
-- Assume medium performance by default
onDevicePerformance