docs.unity3d.com
    Show / Hide Table of Contents

    Class HDMaterialProperties

    Material property names used in HDRP Shaders.

    Inheritance
    Object
    HDMaterialProperties
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public static class HDMaterialProperties

    Fields

    kAffectAlbedo

    Enable affect Albedo (decal only).

    Declaration
    public const string kAffectAlbedo = "_AffectAlbedo"
    Field Value
    Type Description
    String

    kAffectAO

    Enable affect AO (decal only.

    Declaration
    public const string kAffectAO = "_AffectAO"
    Field Value
    Type Description
    String

    kAffectEmission

    Enable affect Emission (decal only.

    Declaration
    public const string kAffectEmission = "_AffectEmission"
    Field Value
    Type Description
    String

    kAffectMetal

    Enable affect Metal (decal only.

    Declaration
    public const string kAffectMetal = "_AffectMetal"
    Field Value
    Type Description
    String

    kAffectNormal

    Enable affect Normal (decal only.

    Declaration
    public const string kAffectNormal = "_AffectNormal"
    Field Value
    Type Description
    String

    kAffectSmoothness

    Enable affect Smoothness (decal only.

    Declaration
    public const string kAffectSmoothness = "_AffectSmoothness"
    Field Value
    Type Description
    String

    kAlphaCutoffEnabled

    Enable Alpha Cutoff.

    Declaration
    public const string kAlphaCutoffEnabled = "_AlphaCutoffEnable"
    Field Value
    Type Description
    String

    kAlphaToMask

    Enable Alpha to Mask.

    Declaration
    public const string kAlphaToMask = "_AlphaToMask"
    Field Value
    Type Description
    String

    kBlendMode

    Blend Mode.

    Declaration
    public const string kBlendMode = "_BlendMode"
    Field Value
    Type Description
    String

    kConservativeDepthOffsetEnable

    Enable Depth Offset.

    Declaration
    public const string kConservativeDepthOffsetEnable = "_ConservativeDepthOffsetEnable"
    Field Value
    Type Description
    String

    kDepthOffsetEnable

    Enable Depth Offset.

    Declaration
    public const string kDepthOffsetEnable = "_DepthOffsetEnable"
    Field Value
    Type Description
    String

    kDistortionBlendMode

    Blend Mode for distortion.

    Declaration
    public const string kDistortionBlendMode = "_DistortionBlendMode"
    Field Value
    Type Description
    String

    kDistortionEnable

    Enable distortion.

    Declaration
    public const string kDistortionEnable = "_DistortionEnable"
    Field Value
    Type Description
    String

    kDistortionOnly

    Enable distortion only (for Unlit).

    Declaration
    public const string kDistortionOnly = "_DistortionOnly"
    Field Value
    Type Description
    String

    kDoubleSidedEnable

    Enable double sided.

    Declaration
    public const string kDoubleSidedEnable = "_DoubleSidedEnable"
    Field Value
    Type Description
    String

    kDoubleSidedGIMode

    Double sided GI mode.

    Declaration
    public const string kDoubleSidedGIMode = "_DoubleSidedGIMode"
    Field Value
    Type Description
    String

    kDoubleSidedNormalMode

    Double sided normal mode.

    Declaration
    public const string kDoubleSidedNormalMode = "_DoubleSidedNormalMode"
    Field Value
    Type Description
    String

    kEnableBlendModePreserveSpecularLighting

    Enable Preserve Specular Lighting.

    Declaration
    public const string kEnableBlendModePreserveSpecularLighting = "_EnableBlendModePreserveSpecularLighting"
    Field Value
    Type Description
    String

    kEnableFogOnTransparent

    Enable Fog on Transparent Materials.

    Declaration
    public const string kEnableFogOnTransparent = "_EnableFogOnTransparent"
    Field Value
    Type Description
    String

    kOpaqueCullMode

    Cull Mode for Opaque Materials.

    Declaration
    public const string kOpaqueCullMode = "_OpaqueCullMode"
    Field Value
    Type Description
    String

    kRayTracing

    Is Raytracing supported.

    Declaration
    public const string kRayTracing = "_RayTracing"
    Field Value
    Type Description
    String

    kReceivesSSR

    Receive SSR.

    Declaration
    public const string kReceivesSSR = "_ReceivesSSR"
    Field Value
    Type Description
    String

    kReceivesSSRTransparent

    Receive SSR for Transparent materials.

    Declaration
    public const string kReceivesSSRTransparent = "_ReceivesSSRTransparent"
    Field Value
    Type Description
    String

    kSupportDecals

    Receive Decals.

    Declaration
    public const string kSupportDecals = "_SupportDecals"
    Field Value
    Type Description
    String

    kSurfaceType

    Surface Type.

    Declaration
    public const string kSurfaceType = "_SurfaceType"
    Field Value
    Type Description
    String

    kTransparentBackfaceEnable

    Enable Back then Front rendering.

    Declaration
    public const string kTransparentBackfaceEnable = "_TransparentBackfaceEnable"
    Field Value
    Type Description
    String

    kTransparentCullMode

    Cull Mode for Transparent Materials.

    Declaration
    public const string kTransparentCullMode = "_TransparentCullMode"
    Field Value
    Type Description
    String

    kTransparentDepthPostpassEnable

    Enable Depth PostPass.

    Declaration
    public const string kTransparentDepthPostpassEnable = "_TransparentDepthPostpassEnable"
    Field Value
    Type Description
    String

    kTransparentDepthPrepassEnable

    Enable Depth Prepass.

    Declaration
    public const string kTransparentDepthPrepassEnable = "_TransparentDepthPrepassEnable"
    Field Value
    Type Description
    String

    kTransparentSortPriority

    Transparent material sorting priority.

    Declaration
    public const string kTransparentSortPriority = "_TransparentSortPriority"
    Field Value
    Type Description
    String

    kTransparentWritingMotionVec

    Transparent Material Writes Motion Vectors.

    Declaration
    public const string kTransparentWritingMotionVec = "_TransparentWritingMotionVec"
    Field Value
    Type Description
    String

    kTransparentZWrite

    Depth Write for Transparent Materials.

    Declaration
    public const string kTransparentZWrite = "_TransparentZWrite"
    Field Value
    Type Description
    String

    kZTestModeDistortion

    Depth Test for distortion.

    Declaration
    public const string kZTestModeDistortion = "_ZTestModeDistortion"
    Field Value
    Type Description
    String

    kZTestTransparent

    Depth Test for Transparent Materials.

    Declaration
    public const string kZTestTransparent = "_ZTestTransparent"
    Field Value
    Type Description
    String

    kZWrite

    Depth Write.

    Declaration
    public const string kZWrite = "_ZWrite"
    Field Value
    Type Description
    String
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023