stick-the-quick/vfx/DirtCheapGlobalIllumination...

6 lines
237 B
GDScript3
Raw Permalink Normal View History

class_name DirtCheapGlobalIlluminationSubstitute extends DirectionalLight3D
func _process(_delta: float) -> void:
var camera := FX.get_camera() as RunnerObserver
look_at(-camera.basis.z.slide(camera.up_normal) - 2.0*camera.up_normal)