Author Topic: Cant change texture?  (Read 1569 times)

Lone-Wolf

  • Guest
Cant change texture?
« on: October 12, 2011, 10:30:57 pm »
im in object maker, and I have a .material file. the inside says
 

material GrassMat2
{
        technique
       {
               pass
               {
                    cull_hardware none
                    cull_software none
                    texture
                    {
                      texture Grass.png
                     }
               }
       }
}


but when i put it on plateau1.mesh it comes up white, but doesnt say BaseWhite. im confused.. help! :\

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Cant change texture?
« Reply #1 on: October 13, 2011, 05:21:36 am »
Well i would usually save these things as a jpg not png but dk if that makes a difference. Wen it turns up white thats because i think maybe the codes wrong, the image size is to big or little, it was saved as the wrong thing, it was put in the wrong place. Check these things with the other object textures and see if their the same as urs. Hope this helps
Will be inactive due to work and exams.

Thierry

  • Guest
Re: Cant change texture?
« Reply #2 on: October 13, 2011, 03:41:20 pm »
when something is white but it doesn't say BaseWhite is because maybe scripts or images are wrong, just like Ingredient says.

plateau1.mesh by default it tries to load rockMat1. At object maker select your mesh and change rockMat1 to GrassMat2 (your material script). Be sure to have the file Grass.png where your script is.