gKit2 light
|
regroupe tous les parametres de la matiere du point d'intersection. More...
Public Member Functions | |
Brdf (const Vector &ng, const Color &color, const float plastic, const float n) | |
Color | f (const Vector &l, const Vector &o) const |
Vector | sample (const float u1, const float u2, const float u3, const Vector &o) const |
float | pdf (const Vector &l, const Vector &o) const |
Brdf (const Vector &ng, const Color &color, const float plastic, const float n) | |
Color | f (const Vector &l, const Vector &o) const |
Vector | sample (const float u1, const float u2, const float u3, const Vector &o) const |
float | pdf (const Vector &l, const Vector &o) const |
Public Attributes | |
Vector | n |
normale interpolee du point d'intersection More... | |
Color | diffuse |
color. More... | |
Color | F0 |
fresnel. More... | |
Color | emission |
emission pour les sources de lumieres ou pas (= noir). More... | |
float | metallic |
metallic / dielectrique. More... | |
float | alpha |
rugosite de la micro surface. More... | |
float | transmission |
transmission, transparent ou pas (= 0) More... | |
World | world |
float | kd |
float | ns |
regroupe tous les parametres de la matiere du point d'intersection.
Definition at line 534 of file tuto_bvh2_gltf_brdf.cpp.
Vector Brdf::n |
normale interpolee du point d'intersection
Definition at line 536 of file tuto_bvh2_gltf_brdf.cpp.
Color Brdf::diffuse |
color.
Definition at line 538 of file tuto_bvh2_gltf_brdf.cpp.
Color Brdf::F0 |
fresnel.
Definition at line 539 of file tuto_bvh2_gltf_brdf.cpp.
Color Brdf::emission |
emission pour les sources de lumieres ou pas (= noir).
Definition at line 540 of file tuto_bvh2_gltf_brdf.cpp.
float Brdf::metallic |
metallic / dielectrique.
Definition at line 542 of file tuto_bvh2_gltf_brdf.cpp.
float Brdf::alpha |
rugosite de la micro surface.
Definition at line 543 of file tuto_bvh2_gltf_brdf.cpp.
float Brdf::transmission |
transmission, transparent ou pas (= 0)
Definition at line 544 of file tuto_bvh2_gltf_brdf.cpp.