There are several modifiers for stroke vertex properties (i.e. line color, alpha transparency and thickness) available. As with other modifier stacks in Blender, they are applied from top to bottom.
- The modifier output can be mixed with the base property using the usual methods (see for example the Mix compositing node for further discussion of this topic).
- How much the result of this modifier affects the current property.
Mapping between the defined range and the range input of the modifier. e.g. a range of crease values.
Either a linear progression (from 0.0 to 1.0), or a custom mapping curve.
Note the linear non-inverted option is equivalent to «do nothing», as original values from materials are already in the (0.0 to 1.0) range. That is the case for: Crease Angle, 3D Curvature, Material, Noise, Tangent.
- Inverts the Mapping.
- Min Thickness and Max Thickness
- The minimum and maximum assigned thickness.
- Either a linear progression (from Min Thickness to Max Thickness), or a custom mapping curve (on the same range).
- Inverts the Mapping.
The Along Stroke modifier alters the base property with a new one from a given range mapped along each stroke’s length. In other words, it applies a gradient along each stroke.
The Calligraphy modifier (thickness only) mimics some broad and flat pens for calligraphy. It generates different thickness based on the orientation of the stroke.
- The angle (orientation) of the virtual drawing tool, from the vertical axis of the picture. For example, an angle of 0.0 mimics a pen aligned with the vertical axis. Hence, the thickest strokes will be the vertical ones i.e. stroke’s direction is aligned with the angle, and the thinnest will be the horizontal ones i.e. stroke’s direction is perpendicular to the angle.
A modifier based on the Crease Angle (angle between two adjacent faces). If a stroke segment does not lie on a crease (i.e. the edge does not have the Crease Angle nature), its properties are not touched by the modifier.
- Min Angle and Max Angle
- The range of input values to the mapping. Out-of-range crease angle values will be clamped by the Min and Max angles and their corresponding property values.
A modifier based on radial curvatures of the underlying 3D surface. The curvature of a 2D curve at a point is a measure of how quickly the curve turns at the point. The quicker the turn is, the larger the curvature is at the point. The curvature is zero if the curve is a straight line. Radial curvatures are those computed for a 2D curve that appears at the cross section between the 3D surface and a plane defined by the view point (camera location) and the normal direction of the surface at the point.
For radial curvatures to be calculated (and therefore for this modifier to have any effect), the Face Smoothness option has to be turned on and the object needs to have Smooth Shading.
- Min Curvature and Max Curvature
- The limits of the mapping. If the current point of the stroke is at Min Curvature or less from the target, it will take the start point of the mapping, and conversely, if it is at Max Curvature or more from the target, it will take the end-point value of the mapping.
Distance from Camera/Object¶
The Distance from Camera or Distance from Object modifier alters the base property with a new one from a given range using the distance to the active camera or to a given object as the parameter.
- The object to measure distance from (Distance from Object only).
- Range Min and Range Max
- The limits of the mapping from «distance to camera» to «property in mapping». If the current point of the stroke is at Range Min or less from the active camera or the object, it will take the start value, and conversely, if it is at Range Max or more from the camera/object, it will take the end value. These values are in the current scene’s units, not in pixels!
- Fill Range by Selection
- Set the min/max range values from the distances between the current selected mesh vertices and the camera or the target.
The Material modifier alters the base property with a new one taken from a given range mapped on the current material under the stroke.
You can use various properties of the materials, among which many are mono-component (i.e. give B&W results). In this case for the color modifier, an optional color ramp can be used to map these gray-scale values to colored ones.
In the reverse case properties of the materials, which are multi-components (i.e. give RGB results) the mean value will be used for Alpha and Thickness modifiers.
If used with the Split by Material option in the Stroke tab, the result will not be blurred between materials along the strokes.
The Noise modifier uses a pseudo-random number generator to variably distribute the property along the stroke.
- The maximum value of the noise. A higher amplitude means a less transparent (more solid) stroke.
- The period of the noise. This means how quickly the property value can change. A higher value means a more smoothly changing color along the stroke.
- Seed used by the pseudo-random number generator.
- Thickness only – Allows the thickness to be distributed unevenly at every point. Internally, the stroke is represented as a backbone with a thickness to the right and left side. All other thickness shaders make sure that the left and right thickness values are equal. For the Noise shader however, a meaningful (and good-looking) result can be created by assigning different values to either side of the backbone.
This modifier bases its effect on the traveling direction of the stroke evaluated at the stroke’s vertices.