2D Toolkit Forum

2D Toolkit => Support => Topic started by: dhb118 on March 16, 2012, 03:27:58 am

Title: About Render Texture
Post by: dhb118 on March 16, 2012, 03:27:58 am
How can use the 'Render Texture' to sprite? Help me. :-\
Title: Re: About Render Texture
Post by: unikronsoftware on March 16, 2012, 08:32:01 am
I don't really understand this quesion, could you please elaborate? Do you want to use a Render Texture as a sprite?
Title: Re: About Render Texture
Post by: dhb118 on March 16, 2012, 08:58:22 am
I want render 3DModel to tk2dSprite all the time.so i don't konw how to use Unity3D build in'Render Texture' with sprite.
Title: Re: About Render Texture
Post by: unikronsoftware on March 16, 2012, 09:54:24 am
You can't do that. If you want to do something similar, I suggest writing a script to take your 3d model, render into a texture and then save out png textures from it. That way you get the benefit of using sprites, without doing all the render to texture stuff while the game is running (which while possible, will be quite expensive once you have more than a few models simultaneously)