PBR Material of an object.
More...
#include <gltf.h>
PBR Material of an object.
Definition at line 38 of file gltf.h.
◆ baseColour
| GLfloat Material::baseColour[4] |
Base colour of the material. Multiplies the texture if available.
Definition at line 53 of file gltf.h.
◆ baseColour_tex
Base colour of the material.
Definition at line 45 of file gltf.h.
◆ blend
Whether or not to blend it.
Definition at line 40 of file gltf.h.
◆ clearcoat
| GLfloat Material::clearcoat |
◆ clearcoat_roughness
| GLfloat Material::clearcoat_roughness |
◆ double_sided
| int Material::double_sided |
Whether or not it's double sided.
Definition at line 42 of file gltf.h.
◆ emissive_tex
◆ emissiveFactor
| GLfloat Material::emissiveFactor[3] |
◆ metallic_tex
Metallic/roughness map of the material. Metallic is stored in G channel, hile roughness is in the B channel.
Definition at line 46 of file gltf.h.
◆ metallicFactor
| GLfloat Material::metallicFactor |
Metallic factor (single value). Multplies the map if available.
Definition at line 49 of file gltf.h.
◆ name
Name of the material if applicable.
Definition at line 39 of file gltf.h.
◆ normal_tex
◆ noshadows
Whether or not it ignores shadows.
Definition at line 41 of file gltf.h.
◆ occlusion_tex
◆ roughnessFactor
| GLfloat Material::roughnessFactor |
Roughness factor (single value). Multiplies the map if available.
Definition at line 51 of file gltf.h.
◆ sheen
| GLfloat Material::sheen[3] |
◆ sheen_roughness
| GLfloat Material::sheen_roughness |
◆ unlit
Whether or not the texture is unlit.
Definition at line 43 of file gltf.h.
The documentation for this struct was generated from the following file:
- /pbulk/work/games/naev/work/naev-0.12.5/src/gltf.h