Angled texture tutorial

Started by vampirefrog, May 30, 2013, 12:23:01 AM

Previous topic - Next topic

vampirefrog

Hi guys. I'm going to explain briefly how to make an angled texture. Sometimes this is needed in-game, since the engine can only rotate 90 degrees at a time.

Using GIMP, open the original texture, go to Filters -> Map -> Tile, choose 200%.
Next, press Shift+R to rotate. Enter your desired angle. For a 1/2 slope, the angle is 26.57. Next, select a 512x512 (or whatever your original size was) rectangle, choose Image -> Crop to Selection. Then go to Filters -> Map -> Make Seamless. Now you can save it and import it in sauerbraten with texture 0 path/to/your_image.jpg

This method works for simple textures such as wood textures. For proper tiles, you need to edit by hand instead of using Make Seamless.