2014-04-10 05:18:27 +02:00
|
|
|
|
|
|
|
extends Spatial
|
|
|
|
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
# Initalization here
|
|
|
|
var tex = get_node("Viewport").get_render_target_texture()
|
2015-12-09 08:38:23 +01:00
|
|
|
get_node("Quad").get_material_override().set_texture(FixedMaterial.PARAM_DIFFUSE, tex)
|