Pre-Defined Materials
Standard Material
ID: "Standard"
It is like the Default Material but can have assigned an effect.
Grayscale Material
ID: "Grayscale"
Applies a simple shader which displays the colors of the sprites as grayscale values.
Parameters:
- Amount (Property Index 0): a slider allows to interpolate between color and grayscale.
Hue Saturation Brightness Material
ID: "Hue Saturation Brightness"
Allows to shift the colors of the sprites (hue), make them intense or gray (saturation) and darker or brighter (brightness). This is a very powerful shader which is shared between all Images using it. However, the values can be different on each instance. This is possible because of a trick and is much better for performance if you have a lot of images with this shader.
Not supported for Images with Filled mode.
Parameters:
- Hue (Property Index 0): A slider which can shift the colors (imagine a rotating color wheel)
- Saturation (Property Index 1): A value indicating the saturation. a value of 1 represents the original color, a value of 0 represents grayscale, a value of -1 inverts the original color.
- Brightness (Property Index 2): A brightness value of 1 represents the original color, a value of 0 will turn it black (no brightness at all)
Color Overlay Material
ID: "Color Overlay"
The given color is not used to mix it with the sprite color but to overlay it. A value defines the opacity of the color (A value of 0 shows the original image, a value of 1 shows the color only).
Not supported for Images with Filled mode.
Parameters:
- Opacity (Property Index 0): A slider which allows to set the transparency of the overlayed color. a value of 0 doesn't show the color at all, a value of 1 only shows that color.