extends MeshInstance3D class_name OceanTile var time:float # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Replace with function body. # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: time += delta var mat : ShaderMaterial = mesh.surface_get_material(0) mat.set_shader_parameter("wave_time",time) pass