2015-04-07 20:39:10 +03:00
|
|
|
---
|
|
|
|
title: Creating Textures
|
|
|
|
layout: default
|
2018-07-15 21:36:35 +03:00
|
|
|
root: ../..
|
2018-07-15 17:28:10 +03:00
|
|
|
idx: 2.2
|
2020-07-06 02:26:25 +03:00
|
|
|
description: An introduction to making textures in your editor of choice, and a guide on GIMP.
|
2018-07-15 21:13:16 +03:00
|
|
|
redirect_from: /en/chapters/creating_textures.html
|
2015-04-07 20:39:10 +03:00
|
|
|
---
|
|
|
|
|
2019-05-31 20:32:40 +03:00
|
|
|
## Introduction <!-- omit in toc -->
|
2015-04-07 20:39:10 +03:00
|
|
|
|
2018-09-27 18:37:53 +03:00
|
|
|
Being able to create and optimise textures is a very useful skill when
|
|
|
|
developing for Minetest.
|
|
|
|
There are many techniques relevant to working on pixel art textures,
|
|
|
|
and understanding these techniques will greatly improve
|
|
|
|
the quality of the textures you create.
|
2015-04-07 20:39:10 +03:00
|
|
|
|
2018-10-20 03:37:41 +03:00
|
|
|
Detailed approaches to creating good pixel art are outside the scope
|
|
|
|
of this book, and instead only the most relevant basic techniques
|
|
|
|
will be covered.
|
|
|
|
There are many [good online tutorials](http://www.photonstorm.com/art/tutorials-art/16x16-pixel-art-tutorial)
|
|
|
|
available, which cover pixel art in much more detail.
|
|
|
|
|
2019-05-31 20:32:40 +03:00
|
|
|
- [Techniques](#techniques)
|
|
|
|
- [Using the Pencil](#using-the-pencil)
|
|
|
|
- [Tiling](#tiling)
|
|
|
|
- [Transparency](#transparency)
|
2022-08-01 20:37:18 +03:00
|
|
|
- [Color Palettes](#color-palettes)
|
2019-05-31 20:32:40 +03:00
|
|
|
- [Editors](#editors)
|
|
|
|
- [MS Paint](#ms-paint)
|
2022-08-01 20:37:18 +03:00
|
|
|
- [Aseprite / LibreSprite](#aseprite--libresprite)
|
2019-05-31 20:32:40 +03:00
|
|
|
- [GIMP](#gimp)
|
2015-04-07 20:39:10 +03:00
|
|
|
|
2017-09-16 05:07:20 +03:00
|
|
|
## Techniques
|
2015-04-07 20:39:10 +03:00
|
|
|
|
2017-09-16 05:07:20 +03:00
|
|
|
### Using the Pencil
|
2015-04-07 20:39:10 +03:00
|
|
|
|
2017-09-16 05:07:20 +03:00
|
|
|
The pencil tool is available in most editors. When set to its lowest size,
|
|
|
|
it allows you to edit one pixel at a time without changing any other parts
|
|
|
|
of the image. By manipulating the pixels one at a time, you create clear
|
2018-10-20 03:37:41 +03:00
|
|
|
and sharp textures without unintended blurring. It also gives you a high
|
2017-09-16 05:07:20 +03:00
|
|
|
level of precision and control.
|
|
|
|
|
|
|
|
### Tiling
|
|
|
|
|
|
|
|
Textures used for nodes should generally be designed to tile. This means
|
|
|
|
when you place multiple nodes with the same texture together, the edges line
|
2018-09-27 18:37:53 +03:00
|
|
|
up correctly.
|
2017-09-16 05:07:20 +03:00
|
|
|
|
2018-09-27 18:37:53 +03:00
|
|
|
<!-- IMAGE NEEDED - cobblestone that tiles correctly -->
|
2017-09-16 05:07:20 +03:00
|
|
|
|
|
|
|
If you fail to match the edges correctly, the result is far less pleasing
|
2018-09-27 18:37:53 +03:00
|
|
|
to look at.
|
2017-09-16 05:07:20 +03:00
|
|
|
|
2018-09-27 18:37:53 +03:00
|
|
|
<!-- IMAGE NEEDED - node that doesn't tile correctly -->
|
2017-09-16 05:07:20 +03:00
|
|
|
|
|
|
|
### Transparency
|
|
|
|
|
2018-10-20 03:37:41 +03:00
|
|
|
Transparency is important when creating textures for nearly all craftitems
|
|
|
|
and some nodes, such as glass.
|
|
|
|
Not all editors support transparency, so make sure you choose an
|
|
|
|
editor which is suitable for the textures you wish to create.
|
2017-09-16 05:07:20 +03:00
|
|
|
|
2022-08-01 20:37:18 +03:00
|
|
|
### Color Palettes
|
|
|
|
|
|
|
|
Using a consistent color palette is an easy way to make your art look a lot
|
|
|
|
better. It's a good idea to use one with a limited number of colors, perhaps 32
|
|
|
|
at most. Premade palettes can be found at
|
|
|
|
[lospec.com](https://lospec.com/palette-list).
|
|
|
|
|
2017-09-16 05:07:20 +03:00
|
|
|
## Editors
|
|
|
|
|
|
|
|
### MS Paint
|
|
|
|
|
|
|
|
MS Paint is a simple editor which can be useful for basic texture
|
|
|
|
design; however, it does not support transparency.
|
|
|
|
This usually won't matter when making textures for the sides of nodes,
|
|
|
|
but if you need transparency in your textures you should choose a
|
|
|
|
different editor.
|
|
|
|
|
2022-08-01 20:37:18 +03:00
|
|
|
### Aseprite / LibreSprite
|
|
|
|
|
|
|
|
[Aseprite](https://www.aseprite.org/) is a proprietary pixel art editor.
|
|
|
|
It contains a lot of useful features by default such as color palettes and
|
|
|
|
animation tools.
|
|
|
|
|
|
|
|
[LibreSprite](https://libresprite.github.io/) is an open-source fork of Aseprite
|
|
|
|
from before it went proprietary.
|
|
|
|
|
2017-09-16 05:07:20 +03:00
|
|
|
### GIMP
|
2015-04-07 20:39:10 +03:00
|
|
|
|
|
|
|
GIMP is commonly used in the Minetest community. It has quite a high
|
2017-09-16 05:07:20 +03:00
|
|
|
learning curve because many of its features are not immediately
|
|
|
|
obvious.
|
2015-04-07 20:39:10 +03:00
|
|
|
|
2022-08-01 20:37:18 +03:00
|
|
|
When using GIMP, make sure to use the Pencil tool with the Pixel brush and a
|
|
|
|
size of 1. It's also advisable to select the "Hard edge" checkbox for the Eraser
|
|
|
|
tool.
|