How do I convert an image loaded into Blitz into a texture?
This is what I want to do: I want to take the texture from a mesh convert it into an image, add a bullet hole, convert it back to a texture and apply it to the mesh.
I've been trying to add a bullet hole to a mesh for over a week and nothing seems to work. I've tried sprites but when the mesh is animated (falling down) the sprite hangs in mid air above the mesh. I thought image drawing might work but I can't use the image as a texture directly and saving it to disc would slow down my game too much. It all has to happen in a fraction of a second.
Thanks
This is what I want to do: I want to take the texture from a mesh convert it into an image, add a bullet hole, convert it back to a texture and apply it to the mesh.
I've been trying to add a bullet hole to a mesh for over a week and nothing seems to work. I've tried sprites but when the mesh is animated (falling down) the sprite hangs in mid air above the mesh. I thought image drawing might work but I can't use the image as a texture directly and saving it to disc would slow down my game too much. It all has to happen in a fraction of a second.
Thanks