Class HighDefinitionRPMaterialGenerator
Inheritance
HighDefinitionRPMaterialGenerator
Assembly: solution.dll
Syntax
public class HighDefinitionRPMaterialGenerator : ShaderGraphMaterialGenerator, IMaterialGenerator
Fields
CullModeForwardProperty
_CullModeForward shader property identifier
Declaration
public static readonly int CullModeForwardProperty
Field Value
DistortionVectorsPass
DistortionVectors shader pass name
Declaration
public const string DistortionVectorsPass = "DistortionVectors"
Field Value
Name of the stack lit shader graph used for advanced PBR materials
Declaration
public const string MetallicStackLitShader = "HDRP/glTF-pbrMetallicRoughnessStackLit"
Field Value
Methods
Picks more advanced StackLit based shader graph, if any material feature requires it.
Declaration
protected override Shader GetMetallicShader(ShaderGraphMaterialGenerator.MetallicShaderFeatures features)
Parameters
Returns
Type |
Description |
Shader |
Shader capable of rendering the features
|
Overrides
SetAlphaModeMask(MaterialBase, Material)
Declaration
protected override void SetAlphaModeMask(MaterialBase gltfMaterial, Material material)
Parameters
Overrides
SetDoubleSided(MaterialBase, Material)
Declaration
protected override void SetDoubleSided(MaterialBase gltfMaterial, Material material)
Parameters
Overrides
SetShaderModeBlend(MaterialBase, Material)
Declaration
protected override void SetShaderModeBlend(MaterialBase gltfMaterial, Material material)
Parameters
Overrides
Implements