6 lines
237 B
GDScript3
6 lines
237 B
GDScript3
|
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)
|