Jump to content
Posted 08 July 2012 - 08:12 AM
Posted 08 July 2012 - 01:52 PM
You need to add the texture to your content-pipeline too.
Posted 08 July 2012 - 02:07 PM
Posted 08 July 2012 - 02:51 PM
I have added the "rocks.bmp" to the Content. I did not see the texture because it is not displayed on the whole terrain but only on the edges.
You copied the CODE but not the content like image files. Just drag and drop the image to your content project. Or click right mouse button on it and choose "add existing element". Pay attention to the LoadContent()-method.The relative path after Content.Load<Texture2D> has to be exactly the same as in your content-project.
Edited by Belos, 08 July 2012 - 03:00 PM.
Posted 08 July 2012 - 03:08 PM
Posted 08 July 2012 - 03:41 PM