30 August 2005

Textures

I recently discovered how to easily make seamless textures for use with 3D graphics.
The basic process is:
  • Shooting a picture with a digital camera of the texture with as little perspective as possible
  • Cropping the picture in Photoshop or GIMP to a square size that is a power of 2 (games require power of two sizes like 256, 512, 1024, etc. I suggest using 1024x1024 and resizing later if you need a smaller texture)
  • Offsetting the image to x/2 which should give you 4 tiles of the same image
  • Blurring the edges with the clone tool and painting fuzzy brush strokes along the edges with this tool.
  • Offsetting the image by x/2 again and voila, you have a seamless texture ready for games!

No comments: