summaryrefslogtreecommitdiff
path: root/demos/viewport/2d_in_3d/pong3d.gd
blob: 046d4dd859792c9927f9c2e35b94297bfcba7962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

extends Spatial

# member variables here, example:
# var a=2
# var b="textvar"

func _ready():
	# Initalization here
	var tex = get_node("Viewport").get_render_target_texture()
	get_node("Quad").get_material_override().set_texture(FixedMaterial.PARAM_DIFFUSE,tex)
	pass