Add office furniture and dim fire-lit horror atmosphere
This commit is contained in:
+5
-8
@@ -39,16 +39,13 @@ func _ready() -> void:
|
||||
# Solo sfondo: illuminazione e riflessi non dipendono dal cielo scuro.
|
||||
env.reflected_light_source = Environment.REFLECTION_SOURCE_DISABLED
|
||||
env.ambient_light_source = Environment.AMBIENT_SOURCE_COLOR
|
||||
env.ambient_light_color = Color(0.65, 0.73, 0.85)
|
||||
env.ambient_light_energy = 0.65
|
||||
env.ambient_light_color = Color(0.28, 0.36, 0.48)
|
||||
env.ambient_light_energy = 0.12
|
||||
envnode.environment = env
|
||||
add_child(envnode)
|
||||
var light := OmniLight3D.new()
|
||||
light.position = Vector3(0, 4.5, 0)
|
||||
light.omni_range = 24
|
||||
light.light_energy = 3
|
||||
light.shadow_enabled = true
|
||||
add_child(light)
|
||||
var office := Node3D.new()
|
||||
office.set_script(preload("res://scripts/office_atmosphere.gd"))
|
||||
add_child(office)
|
||||
var canvas := CanvasLayer.new()
|
||||
add_child(canvas)
|
||||
hud = Label.new()
|
||||
|
||||
Reference in New Issue
Block a user