started work on async loading
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user