Tangent Normal Brush Engine¶
The Tangent Normal Brush Engine is an engine that is specifically designed for drawing normal maps, of the tangent variety. These are in turn used in 3d programs and game engines to do all sorts of lightning trickery. Common uses of normal maps include faking detail where there is none, and to drive transformations (Flow Maps).
A Normal map is an image that holds information for vectors. In particular, they hold information for Normal Vectors, which is the information for how the light bends on a surface. Because Normal Vectors are made up of 3 coordinates, just like colors, we can store and see this information as colors.
Normals can be seen similar to the stylus on your tablet. Therefore, we can use the tilt-sensors that are available to some tablets to generate the color of the normals, which can then be used by a 3d program to do lighting effects.
Skratka, namesto barv boste lahko slikali s površinami.
The following options are available to the tangent normal brush engine:
Specific Parameters to the Tangent Normal Brush Engine¶
Tangencialno, nagnjeno¶
These are the options that determine how the normals are calculated from tablet input.
- Tangentno kodiranje
This allows you to set what each color channel means. Different programs set different coordinates to different channels, a common version is that the green channel might need to be inverted (-Y), or that the green channel is actually storing the x-value (+X).
- Možnosti nagiba
Omogoča izbor, katero tipalo se uporablja za X in Y.
- Nagni
Uporablja nagib za X in Y.
- Smer
Uses the drawing angle for the X and Y and Tilt-elevation for the Z, this allows you to draw flowmaps easily.
- Vrtenje
Uses rotation for the X and Y, and tilt-elevation for the Z. Only available for specialized Pens.
- Občutljivost na dvig
Allows you to change the range of the normal that are outputted. At 0 it will only paint the default normal, at 1 it will paint all the normals in a full hemisphere.
Raba¶
The Tangent Normal Map Brush Engine is best used with the Tilt Cursor, which can be set in
.Drawing Direction Maps¶
Direction maps are made with the Direction option in the Tangent Tilt options. These normal maps are used to distort textures in a 3d program (to simulate for example, the flow of water) or to create maps that indicate how hair and brushed metal is brushed. Krita can’t currently give feedback on how a given direction map will influence a distortion or shader, but these maps are a little easier to read.
Just set the Tangent Tilt option to Direction, and draw. The direction your brush draws in will be the direction that is encoded in the colors.
Urejanje samo enega kanala¶
Sometimes you only want to edit a single channel. In that case set the blending mode of the brush to Copy <channel>, with <channel> replaced with red, green or blue. These are under the Misc section of the blending modes.
So, if you want the brush to only affect the red channel, set the blending mode to Copy Red.
This can also be done with filter layers. So if you quickly want to flip a layer’s green channel, make an invert filter layer with Copy Green above it.
Mixing Normal Maps¶
For mixing two normal maps, Krita has the Combine Normal Map blending mode under Misc.