6 lines
191 B
GDScript3
Raw Normal View History

2024-01-23 23:09:50 +00:00
@tool
extends DirectionalLight3D
2024-02-27 22:21:44 +00:00
# func _process(_delta: float):
2024-01-23 23:09:50 +00:00
# (%PostProcessing as MeshInstance3D).mesh.surface_get_material(0).set_shader_parameter("light_direction", -global_basis.z)