Game Development Reference
In-Depth Information
Time for action - creating a tiled texture
You will use this technique of blending layers together over and over again in the future.
Let's move on and see whether we can get this texture to repeat seamlessly. This is called
iling . Tiling is useful when we have a large area to cover with the texture.
1. Go to Layer ¦ Layer to Image Size .
2. Save your project as a GIMP XCF file before doing the next command. Now, go to
Image ¦ Flaten image . This removes all the layer informaion:
Before transforming a layer as per the next step, you will need an image that
is an even number of pixels, wide and high. If your image is not, use Image ¦
Canvas Size to take of a row of pixels where needed. Remember to uncheck
the chain icon so that the height and width don't change together.
3. Go to Layer ¦ Transform ¦ Offset . Click on the buton that says Offset by X/2, Y/2 .
Now click on Offset. .
4. Everything should look absolutely fine, apart from a black strip down the middle.
It's there because the second texture didn't quite fit, and left a gap at the edge.
No problem!
Select the clone tool. Hold down Ctrl (Cmd on Mac) and click at the corner of the
steel frame as you can see in the following screenshot:
Search Nedrilad ::

Custom Search