Share via


PbrVertexAlphaMode Enum

Definition

Defines how the alpha portion of a mesh's vertex color contributes to the final color.

public enum class PbrVertexAlphaMode
public enum PbrVertexAlphaMode
type PbrVertexAlphaMode = 
Public Enum PbrVertexAlphaMode
Inheritance
PbrVertexAlphaMode

Fields

Name Value Description
Occlusion 0

The alpha value represents an ambient occlusion value and therefore only affects the indirect lighting from the skybox.

LightMask 1

The alpha value serves as scale factor for the overall amount of lighting applied, meaning the alpha can be used to darken areas. This affects both indirect as well as direct lighting.

Opacity 2

The alpha represents how opaque (1.0) or transparent (0.0) the material is.

Applies to

See also