Advertisement
crehdit

Shaders Script

Nov 12th, 2022
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. -- Roblox Graphics Enhancer
  2. local light = game.Lighting
  3. for i, v in pairs(light:GetChildren()) do
  4. v:Destroy()
  5. end
  6.  
  7. local ter = workspace.Terrain
  8. local color = Instance.new("ColorCorrectionEffect")
  9. local bloom = Instance.new("BloomEffect")
  10. local sun = Instance.new("SunRaysEffect")
  11. local blur = Instance.new("BlurEffect")
  12.  
  13. color.Parent = light
  14. bloom.Parent = light
  15. sun.Parent = light
  16. blur.Parent = light
  17.  
  18. -- enable or disable shit
  19.  
  20. local config = {
  21.  
  22. Terrain = true;
  23. ColorCorrection = true;
  24. Sun = true;
  25. Lighting = true;
  26. BloomEffect = true;
  27.  
  28. }
  29.  
  30. -- settings {
  31.  
  32. color.Enabled = false
  33. color.Contrast = 0.15
  34. color.Brightness = 0.1
  35. color.Saturation = 0.25
  36. color.TintColor = Color3.fromRGB(255, 222, 211)
  37.  
  38. bloom.Enabled = false
  39. bloom.Intensity = 0.1
  40.  
  41. sun.Enabled = false
  42. sun.Intensity = 0.2
  43. sun.Spread = 1
  44.  
  45. bloom.Enabled = false
  46. bloom.Intensity = 0.05
  47. bloom.Size = 32
  48. bloom.Threshold = 1
  49.  
  50. blur.Enabled = false
  51. blur.Size = 6
  52.  
  53. -- settings }
  54.  
  55.  
  56. if config.ColorCorrection then
  57. color.Enabled = true
  58. end
  59.  
  60.  
  61. if config.Sun then
  62. sun.Enabled = true
  63. end
  64.  
  65.  
  66. if config.Terrain then
  67. -- settings {
  68. ter.WaterColor = Color3.fromRGB(10, 10, 24)
  69. ter.WaterWaveSize = 0.15
  70. ter.WaterWaveSpeed = 22
  71. ter.WaterTransparency = 1
  72. ter.WaterReflectance = 0.05
  73. -- settings }
  74. end
  75.  
  76.  
  77. if config.Lighting then
  78. -- settings {
  79. light.Ambient = Color3.fromRGB(0, 0, 0)
  80. light.Brightness = 4
  81. light.ColorShift_Bottom = Color3.fromRGB(0, 0, 0)
  82. light.ColorShift_Top = Color3.fromRGB(0, 0, 0)
  83. light.ExposureCompensation = 0
  84. light.FogColor = Color3.fromRGB(132, 132, 132)
  85. light.GlobalShadows = true
  86. light.OutdoorAmbient = Color3.fromRGB(112, 117, 128)
  87. light.Outlines = false
  88. -- settings }
  89. end
  90. wait(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement