Disable Texture Repeating?

Everything related to 3D programming
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 756
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: Disable Texture Repeating?

Post by Samuel »

Are you using a material script or just normal materials?

If your using a material script make sure the scale is set to 1.
For example.

Code: Select all

material NameOfMaterial
{
   technique
   {
      pass
      {
         lighting off
         texture_unit
         {
            texture NameOfTexture.png
            scale 1 1
         }
      }

   }
}