PbrMaterial.AOMap Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.