Adding Outlines
You can read here which outlines are supported in this project.
Last updated
You can read here which outlines are supported in this project.
Last updated
extends Node
@export var tree : Node3D
func _ready() -> void:
OutlineUtils3D.add_outline(tree, OutlineUtils3D.OUTLINE_TYPE.OUTLINE_SILHOUETTE)
OutlineUtils3D.set_outline_color(tree, Color.RED)
var time : float = 0.0
func _process(delta: float) -> void:
time += delta * 2.0
OutlineUtils3D.set_outline_thickness(tree, sin(time) / 2.0 + 0.5)