Class reference

GLTFSpecGloss

Inherits Resource

Archived glTF extension for specular/glossy materials.

Description

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

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.

Tutorials

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.