Class PbrSpecularGlossiness
This extension defines the specular-glossiness material model from Physically-Based Rendering (PBR). https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness
Inherited Members
Namespace: GLTFast.Schema
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 |
---|---|
Single[] |
diffuseTexture
Diffuse color texture info.
Declaration
public TextureInfo diffuseTexture
Field Value
Type | Description |
---|---|
TextureInfo |
glossinessFactor
The glossiness or smoothness of the material.
Declaration
public float glossinessFactor
Field Value
Type | Description |
---|---|
Single |
specularFactor
Specular color red, green and blue components in linear space.
Declaration
public float[] specularFactor
Field Value
Type | Description |
---|---|
Single[] |
specularGlossinessTexture
The specular-glossiness texture.
Declaration
public TextureInfo specularGlossinessTexture
Field Value
Type | Description |
---|---|
TextureInfo |
Properties
DiffuseColor
Diffuse color in linear space.
Declaration
public Color DiffuseColor { get; }
Property Value
Type | Description |
---|---|
Color |
SpecularColor
Specular color in linear space.
Declaration
public Color SpecularColor { get; }
Property Value
Type | Description |
---|---|
Color |