PbrMaterial.AOMap Property

Definition

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

public:
 property Microsoft::Azure::RemoteRendering::Texture ^ AOMap { Microsoft::Azure::RemoteRendering::Texture ^ get(); void set(Microsoft::Azure::RemoteRendering::Texture ^ value); };
public Microsoft.Azure.RemoteRendering.Texture AOMap { get; set; }
member this.AOMap : Microsoft.Azure.RemoteRendering.Texture with get, set
Public Property AOMap As Texture

Property Value

Remarks

A valid AO texture is a grayscale texture that defines which areas are occluded (dark/black) and which ones aren't (bright/white). The AO value from the texture will be modulated with the AOScale property.

A InvalidType error occurs if a texture is set that is not a 2D texture.

Applies to