#include <gltf.h>
description d'une matiere PBR / Principled BRDF.
cf specification glTF / implementation : https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#appendix-b-brdf-implementation
utilise les extensions / parametres supplementaires :
Definition at line 58 of file gltf.h.
◆ color
Color GLTFMaterial::color |
base color.
Definition at line 60 of file gltf.h.
◆ emission
Color GLTFMaterial::emission |
emission pour les sources de lumieres ou pas (= noir).
Definition at line 61 of file gltf.h.
◆ metallic
float GLTFMaterial::metallic |
metallic / dielectrique.
Definition at line 62 of file gltf.h.
◆ roughness
float GLTFMaterial::roughness |
rugosite de la micro surface.
Definition at line 63 of file gltf.h.
◆ transmission
float GLTFMaterial::transmission |
transmission, transparent ou pas (= 0)
Definition at line 64 of file gltf.h.
◆ ior
indice de refraction des dielectriques ou pas (= 0)
Definition at line 65 of file gltf.h.
◆ specular
float GLTFMaterial::specular |
modification de la reflexion speculaire des dielectriques ou pas (= 0)
Definition at line 66 of file gltf.h.
◆ specular_color
Color GLTFMaterial::specular_color |
modification de la reflexion speculaire des dielectriques ou pas (= 0)
Definition at line 67 of file gltf.h.
◆ thickness
float GLTFMaterial::thickness |
epaisseur des surfaces transparentes
Definition at line 68 of file gltf.h.
◆ color_texture
int GLTFMaterial::color_texture |
indice de la texture ou -1. cf read_gltf_images() pour charger les textures dans le bon ordre...
Definition at line 73 of file gltf.h.
◆ metallic_roughness_texture
int GLTFMaterial::metallic_roughness_texture |
indice de la texture ou -1. les valeurs RGB representent les parametres du modele : B= metallic, G= roughness, et R= ambient occlusion.
Definition at line 74 of file gltf.h.
◆ emission_texture
int GLTFMaterial::emission_texture |
indice de la texture ou -1.
Definition at line 75 of file gltf.h.
◆ occlusion_texture
int GLTFMaterial::occlusion_texture |
indice de la texture ou -1. //
- Todo:
- probablement pas necessaire, cf canal rouge de metallic_roughness_texture
Definition at line 76 of file gltf.h.
◆ normal_texture
int GLTFMaterial::normal_texture |
indice de la texture ou -1.
Definition at line 77 of file gltf.h.
◆ transmission_texture
int GLTFMaterial::transmission_texture |
indice de la texture ou -1.
Definition at line 78 of file gltf.h.
◆ specular_texture
int GLTFMaterial::specular_texture |
indice de la texture ou -1.
Definition at line 79 of file gltf.h.
◆ specular_color_texture
int GLTFMaterial::specular_color_texture |
indice de la texture ou -1.
Definition at line 80 of file gltf.h.
The documentation for this struct was generated from the following file: