Nostalgia/Tiles/Canvas

Tile shader for use in Canvas (UI) Be sure to use this shader when using Map for Canvas (UI). Note: When using this shader, the Animation Frame Rate in the Tile setting is ignored and fixed at 10fps.

Properties

Property name Explanation
Tiles Texture Textures used for tiles
* Tiling Texture tiling
* Offset Texture offset
Tint Tint to multiply
Stencil Comparison How to compare stencils
Stencil ID The value referenced by the stencil
Stencil Operation How to operate when both stencil test and depth test are passed
Stencil Write Mask Mask to use when writing
Stencil Read Mask Mask to use when reading
Color Mask Color component mask. Used to disable color components when writing to a stencil test but not wanting to draw.
Pixel snap Flag that adjusts the position of vertices according to the pixel to be drawn

For more information on stencils, see Unity Manual: ShaderLab command: Stencil.