GLTFSpecGloss
Inherits: Resource < RefCounted < Object
Description
Section titled “Description”Archived glTF extension for specular/glossy materials.
KHR_materials_pbrSpecularGlossiness is an archived glTF extension. This means that it is deprecated and not recommended for new files. However, it is still supported for loading old files.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| Color | diffuse_factor |
Color(1, 1, 1, 1) |
| Image | diffuse_img |
|
| float | gloss_factor |
1.0 |
| Image | spec_gloss_img |
|
| Color | specular_factor |
Color(1, 1, 1, 1) |
Property descriptions
Section titled “Property descriptions”diffuse_factor
Color diffuse_factor = Color(1, 1, 1, 1)
The reflected diffuse factor of the material.
diffuse_img
Image diffuse_img
The diffuse texture.
gloss_factor
float gloss_factor = 1.0
The glossiness or smoothness of the material.
spec_gloss_img
Image spec_gloss_img
The specular-glossiness texture.
specular_factor
Color specular_factor = Color(1, 1, 1, 1)
The specular RGB color of the material. The alpha channel is unused.
