meat_madness_redux/godot/tests/ground_squish/Plane.gd

5 lines
131 B
GDScript

extends MeshInstance
func _process(_delta):
get_active_material(0).set_shader_param("player_pos", Util.player.camera_position())