how to create texture for modelmesh?
- by Berend
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?