Use canvas as texture

@xiehangyun
Wow!This is just what I need! Thank you for your help! i learned a lot :crossed_fingers: