iChannels.gd 237 B

123456789101112
  1. extends Sprite
  2. onready var global_v=get_tree().get_root().get_node("scene")
  3. func _ready():
  4. pass
  5. func _process(delta):
  6. self.material.set("shader_param/iTime",global_v.iTime)
  7. self.material.set("shader_param/iFrame",global_v.iFrame)