- extends MeshInstance
- onready var sky_b=get_tree().get_root().get_node("scene/Sky")
- func _ready():
- var iChannel=sky_b.get_viewport().get_texture()
- iChannel.flags=Texture.FLAG_FILTER
- self.get_surface_material(0).set("shader_param/tex_panorama",iChannel)
|