Share via


PbrMaterial Class

Definition

A material for Physically Based Rendering.

public ref class PbrMaterial : Microsoft::Azure::RemoteRendering::Material
public class PbrMaterial : Microsoft.Azure.RemoteRendering.Material
type PbrMaterial = class
    inherit Material
Public Class PbrMaterial
Inherits Material
Inheritance

Properties

AlbedoColor

Constant albedo color.

AlbedoTexture

The Texture used for the albedo color. Pass in null if no dedicated texture is needed.

AlphaClipThreshold

Threshold that is used for alpha cutouts.

AOMap

The Texture used for ambient occlusion. Pass in null if no dedicated texture is needed.

AOScale

How strongly to apply ambient occlusion to this material. [0..1] range.

FadeOut

Fade-out value in the [0..1] range, where 0.0 means fully faded out and 1.0 means fully opaque.

FresnelEffectColor

The Fresnel effect color used when the effect is enabled (see the 'FresnelEffect' flag in PbrMaterialFeatures)

FresnelEffectExponent

The Fresnel effect exponent used when the effect is enabled (see the 'FresnelEffect' flag in PbrMaterialFeatures)

InternalId

Only used for testing

(Inherited from ResourceBase)
InteropId

Only used for testing

(Inherited from ResourceBase)
MaterialSubType

Which kind of material this is.

(Inherited from Material)
Metalness

A constant metalness value.

MetalnessMap

The Texture used for metalness. Pass in null if no dedicated texture is needed.

Name

The name of this material.

(Inherited from Material)
NormalMap

The Texture used as the normal map. Pass in null if no dedicated texture is needed.

NormalMapScale

Scales the normal map strength.

PbrFlags

The PBR material flags.

PbrVertexAlphaMode

Determines how the alpha channel of vertex colors is used. See PbrVertexAlphaMode for details.

Roughness

A constant roughness value.

RoughnessMap

The Texture used for roughness. Pass in null if no dedicated texture is needed.

TexCoordOffset

Constant offset added to texture coordinates.

TexCoordScale

Scaling factors for texture coordinates.

Type

The exact type of this resource.

(Inherited from Material)
Valid

Whether this resource is still valid.

(Inherited from Material)

Methods

AsToolingObject<ToolingObject>()

Only used for testing

(Inherited from ResourceBase)
CopyFrom(Material)

Copies material properties from another material.

(Inherited from Material)
Equals(Object) (Inherited from ResourceBase)
GetHashCode() (Inherited from ResourceBase)

Applies to

See also