Documentation

Page contents

Updated

Generate PDF from page.

MatCap Blend

Files: MatCapBlend.shader
Path: «CGF/Shaders/Unlit/MatCapBlend»
Menu: «CG Framework/Unlit/MatCap Blend»
Asset Store

Description

Shader that applies a material capture texture on mesh surface.

Reference

Use

Create a material with this shader and assign the material to the Material property of the MeshRenderer component.

To enable GPU instantiation it is necessary to activate the «Enable GPU Instancing» property. It allows the use of the MaterialPropertyBlock to create variations in the properties: _Color, _Cutoff, _EmissionColor.