Table of Contents

Class GLTFSpecGloss

Archived glTF extension for specular/glossy materials.

Inheritance
GLTFSpecGloss

Remarks

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.

See Also

Properties

diffuse_factor

The reflected diffuse factor of the material.

var diffuse_factor : Color = Color(1, 1, 1, 1)

Property Value

Color

Remarks

  • void set_diffuse_factor(Color value)
  • Color get_diffuse_factor

diffuse_img

The diffuse texture.

var diffuse_img : Image

Property Value

Image

Remarks

  • void set_diffuse_img(Image value)
  • Image get_diffuse_img

gloss_factor

The glossiness or smoothness of the material.

var gloss_factor : float = 1.0

Property Value

float

Remarks

  • void set_gloss_factor(float value)
  • float get_gloss_factor

spec_gloss_img

The specular-glossiness texture.

var spec_gloss_img : Image

Property Value

Image

Remarks

  • void set_spec_gloss_img(Image value)
  • Image get_spec_gloss_img

specular_factor

The specular RGB color of the material. The alpha channel is unused.

var specular_factor : Color = Color(1, 1, 1, 1)

Property Value

Color

Remarks

  • void set_specular_factor(Color value)
  • Color get_specular_factor