A method for generating textured graphics, comprising: 1.1 a first identifying step for identifying with a processor a first border of pixels having a first color around a first texture image including a first plurality of pixels formed in a first rectangle; 1.2 a second identifying step for identifying with the processor a second border of pixels having a second color around a second texture image including a second plurality of pixels formed in a second rectangle, the second rectangle having a length and width that is equal to a length and a width of the first rectangle; 1.3 generating with the processor at least a first rectangular border tile (652A-652E) formed from a third plurality of texels having the first color, the first rectangular border tile having a length and a width that is equal to a length and a width of the first rectangle; 1.4 generating with the processor at least a second rectangular border tile formed from a fourth plurality of texels having the second color, the second rectangular border tile having a length and a width that is equal to a length and a width of the second rectangle; 1.5 generating with the processor a texture atlas including a two-dimensional arrangement of texels including the first rectangle with the respective first texture image, with the at least one first rectangular border tile of the third plurality of texels positioned on at least one side of the first rectangle with the first texture image, and including the second rectangle with the respective second texture image, with the at least one second rectangular border tile of the fourth plurality of texels positioned on at least one side of the second rectangle with the second texture image; wherein 1.51 the generation of the texture atlas further comprises positioning with the processor one side of the first texture image adjacent to one side of the second texture image in the texture atlas in response to the first color being the same as the second color such that the texture atlas comprises an arrangement of texture images together with the rectangular border tiles around the borders of grouped texture images with the same border colors, 1.6 storing with the processor the texture atlas in a memory to enable generation of repeated textures using mip-mapping on an object in a virtual environment using at least one of the first texture image and the second texture image as a repeated texture without seam artifacts between repeated textures. 1.1 a first identifying step for identifying with a processor a first border of pixels having a first color around a first texture image including a first plurality of pixels formed in a first rectangle; 1.2 a second identifying step for identifying with the processor a second border of pixels having a second color around a second texture image including a second plurality of pixels formed in a second rectangle, the second rectangle having a length and width that is equal to a length and a width of the first rectangle; 1.3 generating with the processor at least a first rectangular border tile (652A-652E) formed from a third plurality of texels having the first color, the first rectangular border tile having a length and a width that is equal to a length and a width of the first rectangle; 1.4 generating with the processor at least a second rectangular border tile formed from a fourth plurality of texels having the second color, the second rectangular border tile having a length and a width that is equal to a length and a width of the second rectangle; 1.5 generating with the processor a texture atlas including a two-dimensional arrangement of texels including the first rectangle with the respective first texture image, with the at least one first rectangular border tile of the third plurality of texels positioned on at least one side of the first rectangle with the first texture image, and including the second rectangle with the respective second texture image, with the at least one second rectangular border tile of the fourth plurality of texels positioned on at least one side of the second rectangle with the second texture image; wherein 1.51 the generation of the texture atlas further comprises positioning with the processor one side of the first texture image adjacent to one side of the second texture image in the texture atlas in response to the first color being the same as the second color such that the texture atlas comprises an arrangement of texture images together with the rectangular border tiles around the borders of grouped texture images with the same border colors, 1.6 storing with the processor the texture atlas in a memory to enable generation of repeated textures using mip-mapping on an object in a virtual environment using at least one of the first texture image and the second texture image as a repeated texture without seam artifacts between repeated textures.