The big texturing tutorial
Texturing is a technique that involves adding local shading and details on surfaces to better represent the material of an object.
This technique is of course closely linked to shading in general. This is usually applied after defining a global shading.
From left to right:
- Global shading
- Completed sprite
One of the big differences between global and local shading is homogeneity. The very principle of global shading is to give a sufficiently contrasting effect between the shaded and lit areas to bring out volume and depth.
Conversely, a texture must be as homogeneous as possible. It must be able to be applied on large, uniform surfaces, without making it look bad.
2. Applying a texture
A texture being homogeneous in terms of its luminosity/contrast, if it is applied to an object without taking into account the global shading, we will lose any effect of volume and depth.
A texture applied to a sphere without shading. Only the deformation of the texture can give us a clue on the shape of the object, but it is still difficult to discern.
When applying a texture to an object, shadows must also be taken into account. It is therefore important to maintain a uniform contrast between colours. A dark line separating a light zone from a dark zone should not keep the same colour between these two zones.
The color of the line will be lighter on the lighter side and darker on the darker side to preserve its contrast with the background.
In the same way it is possible to apply a texture or pattern on a shaded object, by proceeding to a simple color shifting in our palette.
Combination of a texture (left) and an object that is not textured but shaded (middle).
3. Local shading
Since shading is used to highlight the bumps, there are generally two possible cases:
- A groove
- A bump
Each of these cases can be more or less accentuated by playing on the colors, the intensity of shadows and lights.
On the upper line, troughs ranging from the weakest to the strongest bumps. On the second line, these are bumps that stand out.
The mastery of these light bumps is very important, it is the basis of the textures, and will make it possible to manage all the simple cases, such as wood or matte plastic.Example of application on a simple object:
The application of a reflection is done in a simple way, by applying diagonal strips of light of varying thicknesses, and following a few rules.
5. Dithering and granularity
Dithering consists in creating a new false color from a checkerboard or other regular pattern of two colors close enough to give an illusion of mixing. The closer the colours are, the stronger the illusion will be. The more the colours are contrasted, the stronger the granularity effect will be.
The nature of the pattern totally changes the roughness aspect.Example of the application of a sandy rock on our drawers:
6. The art of destruction
The more complex a texture is, the more it will combine fundamental techniques such as bumpiness, reflections or granularity. However, some materials need to go further, by cutting, slash or breaking the base support.
It works much like bump, but on a much finer surface. We are subject to the same rules, of which here is a summary image:
From the finest to the most pronounced, on the first line of the cuts, and on the second of the bumps.A concrete example on our crate:
Since nothing beats practice to learn, here is a series of examples from the simplest to the most complicated.
For each exercise resolved, post your results.
- Add a strong bump on the text of this image, except the ‘x’ which must be a groove (the center must be dug more strongly than the rest of the ‘x’):
- Add reflections on the image obtained between the two red lines shown below:
- Now cut and break the letter ‘e’ as well as possible.
- Add grain to the letter ‘l’.
Finalize a sprite
- Texturize/colorize this sprite:
- Add reflections on the inside of the doors to give the impression that there are windows.
- Add damage (cuts etc) on the right side of the wardrobe.
- Make a variant of this cabinet by redoing it in gold using the palette of the gold drawers example in the tutorial.
- Do the same with the sandy rock.
Sample solutionsHere are some solutions by a talented friend: