started work on async loading

This commit is contained in:
derek
2025-03-22 20:01:43 -05:00
parent c1746a92cb
commit 8447589c82
7 changed files with 540 additions and 38 deletions

View File

@@ -1,4 +1,3 @@
@tool
extends Node3D
@export var sun_color : GradientTexture1D
@@ -19,7 +18,7 @@ func change_sun():
sun.rotation.x = sun_details["angle"]
sun.rotation.y = north_offset
sun.light_energy = sun_details["energy"]
moon.light_energy = (2 - sun_details["energy"]) * .25
moon.light_energy = (2 - sun_details["energy"]) * .5
func sun_angle_from_time():
var time_dict = Time.get_time_dict_from_system()