docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HDMaterialProperties

    Material property names used in HDRP Shaders.

    Inheritance
    object
    HDMaterialProperties
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public static class HDMaterialProperties

    Fields

    kAffectAO

    Enable affect AO (decal only.

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

    kAffectAlbedo

    Enable affect Albedo (decal only).

    Declaration
    public const string kAffectAlbedo = "_AffectAlbedo"
    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

    Obsolete.

    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

    kExcludeFromTUAndAA

    Exclude from temporal upsamplers and anti aliasing.

    Declaration
    public const string kExcludeFromTUAndAA = "_ExcludeFromTUAndAA"
    Field Value
    Type Description
    string

    kOpaqueCullMode

    Cull Mode for Opaque Materials.

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

    kPerPixelSorting

    Transparent Before Refraction Material is sorted per pixel with Refractive Objects.

    Declaration
    public const string kPerPixelSorting = "_PerPixelSorting"
    Field Value
    Type Description
    string

    kRayTracing

    Is Raytracing supported.

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

    kReceiveShadows

    Enable Receive Shadows Off (six-way only.)

    Declaration
    public const string kReceiveShadows = "_ReceiveShadows"
    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

    kUseColorAbsorption

    Use Color Absorption (six-way only.)

    Declaration
    public const string kUseColorAbsorption = "_UseColorAbsorption"
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)