Skip to content

Commit

Permalink
FIXED A BUG WHERE ALL EFFECTS WERE APPLIED
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsKorin committed Feb 19, 2024
1 parent 888aadb commit 685e4c1
Show file tree
Hide file tree
Showing 31 changed files with 80 additions and 80 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -114,86 +114,86 @@ func _update_shaders():
for child in get_children():
if child.name.begins_with("ChromaticAberration"):
child.visible = false
if Blur == true:
for child in get_children():
if child.name.begins_with("Blur"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Blur"):
child.visible = false
if FishEye == true:
for child in get_children():
if child.name.begins_with("FishEye"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("FishEye"):
child.visible = false
if Vignette == true:
for child in get_children():
if child.name.begins_with("Vignette"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Vignette"):
child.visible = false
if Glitch == true:
for child in get_children():
if child.name.begins_with("Glitch"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Glitch"):
child.visible = false
if Outline == true:
for child in get_children():
if child.name.begins_with("Outline"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Outline"):
child.visible = false
if ScreenShake == true:
for child in get_children():
if child.name.begins_with("ScreenShake"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("ScreenShake"):
child.visible = false
if AnalogMonitor == true:
for child in get_children():
if child.name.begins_with("AnalogMonitor"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("AnalogMonitor"):
child.visible = false
if Grain == true:
for child in get_children():
if child.name.begins_with("Grain"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Grain"):
child.visible = false
if CircularWaves == true:
for child in get_children():
if child.name.begins_with("CircularWaves"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("CircularWaves"):
child.visible = false
if SpeedLines == true:
for child in get_children():
if child.name.begins_with("SpeedLines"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("SpeedLines"):
child.visible = false
if Blur == true:
for child in get_children():
if child.name.begins_with("Blur"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Blur"):
child.visible = false
if FishEye == true:
for child in get_children():
if child.name.begins_with("FishEye"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("FishEye"):
child.visible = false
if Vignette == true:
for child in get_children():
if child.name.begins_with("Vignette"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Vignette"):
child.visible = false
if Glitch == true:
for child in get_children():
if child.name.begins_with("Glitch"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Glitch"):
child.visible = false
if Outline == true:
for child in get_children():
if child.name.begins_with("Outline"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Outline"):
child.visible = false
if ScreenShake == true:
for child in get_children():
if child.name.begins_with("ScreenShake"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("ScreenShake"):
child.visible = false
if AnalogMonitor == true:
for child in get_children():
if child.name.begins_with("AnalogMonitor"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("AnalogMonitor"):
child.visible = false
if Grain == true:
for child in get_children():
if child.name.begins_with("Grain"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("Grain"):
child.visible = false
if CircularWaves == true:
for child in get_children():
if child.name.begins_with("CircularWaves"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("CircularWaves"):
child.visible = false
if SpeedLines == true:
for child in get_children():
if child.name.begins_with("SpeedLines"):
child.visible = true
else:
for child in get_children():
if child.name.begins_with("SpeedLines"):
child.visible = false



Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
Binary file added addons/post_processing/post_processing.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 685e4c1

Please sign in to comment.