Fill the room with dense animated knee-high fog
This commit is contained in:
@@ -128,6 +128,9 @@ func flush():
|
||||
node.cast_shadow=GeometryInstance3D.SHADOW_CASTING_SETTING_OFF
|
||||
|
||||
func update(camera):
|
||||
if is_instance_valid(growth.smog):
|
||||
growth.smog.material.set_shader_parameter("player_position",g.player.position)
|
||||
growth.smog.material.set_shader_parameter("fog_time",g.time)
|
||||
# Cut away near-side upper walls, so 360-degree orbit cannot hide the work bay.
|
||||
for n in walls:
|
||||
if not is_instance_valid(n):continue
|
||||
|
||||
Reference in New Issue
Block a user