-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtx.lua
88 lines (67 loc) · 1.59 KB
/
rtx.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
local light = game.Lighting
for i, v in pairs(light:GetChildren()) do
v:Destroy()
end
local ter = workspace.Terrain
local color = Instance.new("ColorCorrectionEffect")
local bloom = Instance.new("BloomEffect")
local sun = Instance.new("SunRaysEffect")
local blur = Instance.new("BlurEffect")
color.Parent = light
bloom.Parent = light
sun.Parent = light
blur.Parent = light
-- enable or disable shit
local config = {
Terrain = true;
ColorCorrection = true;
Sun = true;
Lighting = true;
BloomEffect = true;
}
-- settings {
color.Enabled = false
color.Contrast = 0.15
color.Brightness = 0.1
color.Saturation = 0.25
color.TintColor = Color3.fromRGB(255, 222, 211)
bloom.Enabled = false
bloom.Intensity = 0.1
sun.Enabled = false
sun.Intensity = 0.2
sun.Spread = 1
bloom.Enabled = false
bloom.Intensity = 0.05
bloom.Size = 32
bloom.Threshold = 1
blur.Enabled = false
blur.Size = 6
-- settings }
if config.ColorCorrection then
color.Enabled = true
end
if config.Sun then
sun.Enabled = true
end
if config.Terrain then
-- settings {
ter.WaterColor = Color3.fromRGB(10, 10, 24)
ter.WaterWaveSize = 0.15
ter.WaterWaveSpeed = 22
ter.WaterTransparency = 1
ter.WaterReflectance = 0.05
-- settings }
end
if config.Lighting then
-- settings {
light.Ambient = Color3.fromRGB(0, 0, 0)
light.Brightness = 4
light.ColorShift_Bottom = Color3.fromRGB(0, 0, 0)
light.ColorShift_Top = Color3.fromRGB(0, 0, 0)
light.ExposureCompensation = 0
light.FogColor = Color3.fromRGB(132, 132, 132)
light.GlobalShadows = true
light.OutdoorAmbient = Color3.fromRGB(112, 117, 128)
light.Outlines = false
-- settings }
end