how to create texture for modelmesh?

Posted by Berend on Game Development See other posts from Game Development or by Berend
Published on 2012-09-07T11:26:19Z Indexed on 2012/09/07 15:51 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

Is there a possibiltiy to create a texture from a meshpart in xna. By getting a flat version of the mesh. So I can create a texture for it and edit that texture(via rendertarget)? I need to get the texture(wich is not yet a texture) so I can put another texture on it.

I can create a texture and put it on a certain mesh. But I just cant figure out how I can create a texture with the right size.

I also already found out i can use text2dproj in hlsl. But when i do this i get a gray stripe in the look.

Is there a better solution?

© Game Development or respective owner

Related posts about XNA

Related posts about c#