Class PbrSpecularGlossiness
This extension defines the specular-glossiness material model from Physically-Based Rendering (PBR).
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public class PbrSpecularGlossiness
Fields
diffuseFactor
Diffuse color red, green, blue and alpha components in linear space.
Declaration
public float[] diffuseFactor
Field Value
Type | Description |
---|---|
float[] |
See Also
diffuseTexture
Diffuse color texture info.
Declaration
public TextureInfo diffuseTexture
Field Value
Type | Description |
---|---|
TextureInfo |
See Also
glossinessFactor
The glossiness or smoothness of the material.
Declaration
public float glossinessFactor
Field Value
Type | Description |
---|---|
float |
See Also
specularFactor
Specular color red, green and blue components in linear space.
Declaration
public float[] specularFactor
Field Value
Type | Description |
---|---|
float[] |
See Also
specularGlossinessTexture
The specular-glossiness texture.
Declaration
public TextureInfo specularGlossinessTexture
Field Value
Type | Description |
---|---|
TextureInfo |
See Also
Properties
DiffuseColor
Diffuse color in linear space.
Declaration
public Color DiffuseColor { get; }
Property Value
Type | Description |
---|---|
Color |
See Also
SpecularColor
Specular color in linear space.
Declaration
public Color SpecularColor { get; }
Property Value
Type | Description |
---|---|
Color |