Documentation

Page contents

Updated

Generate PDF from page.

Depth Color

Files: DepthColor.shader

Path: "CGF/Shaders/Unlit"

Shader menu: "CG Framework/Unlit/DepthColor"

Description

Unity shader CG Framework/Unlit/DepthColor.

Reference

  • Main 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.
  • Render Mode – Render Mode.
  • SrcBlend – SrcBlend.
  • DstBlend – DstBlend.
  • ZWrite – ZWrite.
  • Cull – Cull.

Use

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