shadow toggling
This commit is contained in:
parent
b98057007b
commit
ac94a2c2ed
21 changed files with 400 additions and 354 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue