shadow toggling

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-14 00:04:25 -07:00
parent b98057007b
commit ac94a2c2ed
21 changed files with 400 additions and 354 deletions

View file

@ -40,6 +40,8 @@ func reload_stage() -> void:
cam_index = 0
var stage = load(Stages.stages_info[current_stage]["scene"]).instantiate()
$SubViewport.add_child(stage)
if (Globalvariables.shadows == 0):
get_tree().set_group("lights", "shadow_enabled", false)
var cam_offset = 4
for i in range(1, Stages.stages_info[current_stage]["camera_count"]+1):