Documentation

Page contents

Updated

Generate PDF from page.

UI Greyscale

Files: UIGreyscale.shader

Path: "CGF/Shaders/UI"

Shader menu: "CG Framework/UI/UI Greyscale"

Description

Unity shader CG Framework/UI/UI Greyscale.

Reference

  • Sprite Texture – Sprite Texture.
  • Tint – Tint.
  • Stencil Comparison – Stencil Comparison.
  • Stencil ID – Stencil ID.
  • Stencil Operation – Stencil Operation.
  • Stencil Write Mask – Stencil Write Mask.
  • Stencil Read Mask – Stencil Read Mask.
  • Color Mask – Color Mask.
  • Use Alpha Clip – Use Alpha Clip.
  • Saturation – Level of the color saturation.

Use

Assign the shader from CG Framework/UI/UI Greyscale to a material.
Configure the grouped material properties listed in Reference from the Unity material inspector.