Material
Public / Constructors
Public / Methods
Phong
Computes the material values IMaterial.BaseColor, IMaterial.Metalness, IMaterial.Roughness and IMaterial.Reflectivity, based on the given Phong lighting coefficients.
This method uses the formulae described in:
Material mapping for model formats
https://learn.microsoft.com/en-us/azure/remote-rendering/reference/material-mapping
ReflectivityDefault
Computes the pure-white diffuse reflectivity for the given index of refraction.
- See also
Public / Attributes
LineThickness
The thickness to use for opaque line geometry.
At render time, the ILineFeatureLevels.FeatureLevel of the graphics context will be used to clamp the line thickness to the supported range.
Defaults to 1
.