Documentation

Page contents

Updated

Generate PDF from page.

Depth Color

Files: DepthColor.shader

Path: "CGF/Shaders/Lit"

Shader menu: "CG Framework/Lit/DepthColor"

Description

Unity shader CG Framework/Lit/DepthColor.

Reference

  • Texture (RGB) – Main texture.
  • Main Texture Level – Texture level.
  • Near Color (RGB) – Color nearest to camera.
  • Far Color (RGB) – Color farest to camera.
  • Revert Color – Revert colors.
  • Color Falloff – Color fallof value.
  • Emission – Color nearest to camera. See Common Features / Emission.

Use

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