Is there any way to have the texture of a model loaded from a Png ?
I have a simple prism to test it on, but i just want to be able to edit an image and have the model's texture change.
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.Sign up to join this community
You can use a png as a texture. First you have to add it to the game project content :
And then you call Load method of ContentManager :
You can access the ContentManager through the Content properties of Game class :