13 lines
262 B
GDScript3
13 lines
262 B
GDScript3
|
|
extends DirectionalLight3D
|
||
|
|
|
||
|
|
|
||
|
|
# Called when the node enters the scene tree for the first time.
|
||
|
|
func _ready():
|
||
|
|
if OS.has_feature("web"):
|
||
|
|
light_color /= PI
|
||
|
|
|
||
|
|
|
||
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||
|
|
func _process(delta):
|
||
|
|
pass
|