Glitter / Sparkle
The Glitter feature is a simple effect that adds a voronoi-based sparkle to the color of the mesh. It can be used to add a sparkle to a mesh, or to simulate specular lighting on a glittery surface.
Glitter / Sparkle received a complete rewrite as of Poiyomi 9.0. Therefore, some features have been changed and reorganized.
UV
Type
: Dropdown, Options:UV0
/UV1
/UV2
/UV3
/Panosphere
/World Pos
/Local Pos
/Polar UV
/Distorted UV
Which UV to project the glitter effect on.
The UV used for this should be relatively even for the glitter effect to not be distorted. If the UV is distorted, the glitter effect will be distorted. For example, if part of the mesh is projected larger than the rest, the glitter effect will be larger in that area.
Mode
Type
: Dropdown, Options:Angle
/Linear Emission
/Light Reflections
Which mode to use for glitter.
Angle
: The glitter effect is masked according to the angle between the view direction and the normal of the mesh. This threshold is controlled by the Glitter Angle Range Property.Linear Emission
: The glitter effect is emitted in a linear fashion, with all areas of the mesh having an equal amount of glitter.Light Reflections
: The glitter effect is masked by the specular reflection of the mesh. The size of the effect is controlled by the Glitter Angle Range Property. Glitter in this mode will always be hidden in dark areas of the mesh, as there's no light to reflect off of.
Shape
Type
: Dropdown, Options:Circle
/Square
What shape to use for the glitter effect, within each Voronoi cell. The shape can only be seen when Glitter Size is set low enough to not take up the entire cell.
Blend Mode
Type
: Dropdown, Options:Add
/Replace
How the glitter should be blended with the base color.
Add
: The glitter effect is added to the base color. Generally results in a brighter effect.Replace
: The glitter effect replaces the base color. Generally results in a richer effect.
Use Normals
Type
: Float, Range:0.0 - 1.0
At 0
, only vertex normals are taken into account when calculating glitter. At 1
, normal maps (pixel normals) are also taken into account at full strength. Values in between blend.
Layers
Type
: Integer, Range:1 - 4
How many layers of the glitter effect should be applied.
Shape & Color
Shape Texture
Type
: Color Texture (sRGB ON)
Texture to use for the individual glitter particles. These particles are placed in each voronoi cell. The glitter texture should generally be used with large glitter particles (smaller Glitter Density).
Color Map
Type
: Color Texture (sRGB ON)
Map of what color the glitter should be in different areas of the mesh. This offers more control over the glitter color.
Color
Type
: HDR Color
Base color used for the glitter effect. This color is an HDR color, meaning it can have an intensity applied to make the color brighter than normal colors.
Use Base Color
Type
: Float, Range:0.0 - 1.0
How much to blend the surface color with the glitter color. This creates a somewhat metallic effect. A value of 1.0 will result in the Color being completely replaced by the surface color.
Random Color
Type
: Boolean
Applies random colors to glitter.
Saturation Range
Type
: Multislider, Range:0.0 - 1.0
The saturation range of the randomly generated glitter colors.
Brightness Range
Type
: Multislider, Range:0.0 - 1.0
The brightness range of the randomly generated glitter colors.
Position & Size
Glitter Density
Type
: Float
How dense the glitter should be. This represents the number of voronoi cells that should bne along the edge of the mesh UV. Reasonable values are generally between 250
and 1000
, but can vary significantly.
Glitter Size
Type
: Float, Range:0.0 - 1.0
How much the glitter should occupy the voronoi cell. At 0.0
, the glitter will be totally invisible. At 1.0
, the glitter will completely fill the cell, making the borders of the cell visible.
Panning
Type
: Vector2
How fast the glitter particles should move across the Glitter UV. This is a 2D vector, with the X and Y values defining the speed in the X and Y directions.
Random Position
Type
: Boolean
Applies random positional offset to glitter.
Random Size
Type
: Boolean
Applies random size to glitter.