Method GetMetallicShader
GetMetallicShader(MetallicShaderFeatures)
Picks the shader graph with clearcoat support, if any material feature requires it.
Declaration
protected override Shader GetMetallicShader(ShaderGraphMaterialGenerator.MetallicShaderFeatures features)
Parameters
| Type | Name | Description |
|---|---|---|
| ShaderGraphMaterialGenerator.MetallicShaderFeatures | features | Material features |
Returns
| Type | Description |
|---|---|
| Shader | Shader capable of rendering the features |