6 lines
184 B
GDScript3
Raw Permalink Normal View History

2024-12-18 16:35:26 -05:00
extends MeshInstance3D
# Called when the node enters the scene tree for the first time.
func _ready():
mesh.surface_get_material(0).set_shader_parameter("offset", randf_range(0, 5))