Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GLTFSpecGloss¶
Inherits: Resource < RefCounted < Object
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.
教程¶
属性¶
|
||
|
||
|
Property Descriptions¶
Color diffuse_factor = Color(1, 1, 1, 1)
The reflected diffuse factor of the material.
Image diffuse_img
The diffuse texture.
float gloss_factor = 1.0
The glossiness or smoothness of the material.
Image spec_gloss_img
The specular-glossiness texture.
Color specular_factor = Color(1, 1, 1, 1)
The specular RGB color of the material. The alpha channel is unused.