Class MaterialSpecular
This extension allows configuring the specular reflection.
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public class MaterialSpecular
Fields
specularColorFactor
The F0 color of the specular reflection (linear RGB).
Declaration
public float[] specularColorFactor
Field Value
Type | Description |
---|---|
float[] |
See Also
specularColorTexture
A texture that defines the F0 color of the specular reflection, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by specularColorFactor.
Declaration
public TextureInfo specularColorTexture
Field Value
Type | Description |
---|---|
TextureInfo |
See Also
specularFactor
The strength of the specular reflection.
Declaration
public float specularFactor
Field Value
Type | Description |
---|---|
float |
See Also
specularTexture
A texture that defines the strength of the specular reflection, stored in the alpha (A) channel. This will be multiplied by specularFactor.
Declaration
public TextureInfo specularTexture
Field Value
Type | Description |
---|---|
TextureInfo |
See Also
Properties
SpecularColor
The F0 color of the specular reflection (linear RGB).
Declaration
public Color SpecularColor { get; set; }
Property Value
Type | Description |
---|---|
Color |