How to make a Primitive render to texture?

Thanks for your help!

I wrote a example of render to texture. I hope it can help others

It is a rough(and probably imperfect) example, if someone has a better idea, please feel free to improve it.

Omar Shehata omar.sameh.shehata@gmail.com 于2019年2月18日周一 上午11:50写道: