Struct Fabric.BSDFData | High Definition RP | 6.7.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Struct Fabric.BSDFData

    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    [GenerateHLSL(PackingRules.Exact, false, false, true, 1350, false, false)]
    public struct BSDFData

    Fields

    ambientOcclusion

    Declaration
    public float ambientOcclusion
    Field Value
    Type Description
    Single

    anisotropy

    Declaration
    public float anisotropy
    Field Value
    Type Description
    Single

    bitangentWS

    Declaration
    [SurfaceDataAttributes("", true, false)]
    public Vector3 bitangentWS
    Field Value
    Type Description
    Vector3

    diffuseColor

    Declaration
    [SurfaceDataAttributes("", false, true)]
    public Vector3 diffuseColor
    Field Value
    Type Description
    Vector3

    diffusionProfileIndex

    Declaration
    public uint diffusionProfileIndex
    Field Value
    Type Description
    UInt32

    fresnel0

    Declaration
    public Vector3 fresnel0
    Field Value
    Type Description
    Vector3

    geomNormalWS

    Declaration
    [SurfaceDataAttributes(new string[]{"Geometric Normal", "Geometric Normal View Space"}, true, false)]
    public Vector3 geomNormalWS
    Field Value
    Type Description
    Vector3

    materialFeatures

    Declaration
    public uint materialFeatures
    Field Value
    Type Description
    UInt32

    normalWS

    Declaration
    [SurfaceDataAttributes(new string[]{"Normal WS", "Normal View Space"}, true, false)]
    public Vector3 normalWS
    Field Value
    Type Description
    Vector3

    perceptualRoughness

    Declaration
    public float perceptualRoughness
    Field Value
    Type Description
    Single

    roughnessB

    Declaration
    public float roughnessB
    Field Value
    Type Description
    Single

    roughnessT

    Declaration
    public float roughnessT
    Field Value
    Type Description
    Single

    specularOcclusion

    Declaration
    public float specularOcclusion
    Field Value
    Type Description
    Single

    subsurfaceMask

    Declaration
    public float subsurfaceMask
    Field Value
    Type Description
    Single

    tangentWS

    Declaration
    [SurfaceDataAttributes("", true, false)]
    public Vector3 tangentWS
    Field Value
    Type Description
    Vector3

    thickness

    Declaration
    public float thickness
    Field Value
    Type Description
    Single

    transmittance

    Declaration
    public Vector3 transmittance
    Field Value
    Type Description
    Vector3

    useThickObjectMode

    Declaration
    public bool useThickObjectMode
    Field Value
    Type Description
    Boolean
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX