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
繼承: 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.
教學
屬性
|
||
|
||
|
屬性說明
Color diffuse_factor = Color(1, 1, 1, 1) 🔗
該材質反射漫反射係數。
漫反射紋理。
材質的光澤度或光滑度。
鏡面光澤度紋理。
Color specular_factor = Color(1, 1, 1, 1) 🔗
材質的鏡面反射 RGB 顏色。不使用 Alpha 通道。