gKit2 light
Public Member Functions | Public Attributes | List of all members
Brdf Struct Reference

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
 

Detailed Description

regroupe tous les parametres de la matiere du point d'intersection.

Definition at line 534 of file tuto_bvh2_gltf_brdf.cpp.

Member Data Documentation

◆ n

Vector Brdf::n

normale interpolee du point d'intersection

Definition at line 536 of file tuto_bvh2_gltf_brdf.cpp.

◆ diffuse

Color Brdf::diffuse

color.

Definition at line 538 of file tuto_bvh2_gltf_brdf.cpp.

◆ F0

Color Brdf::F0

fresnel.

Definition at line 539 of file tuto_bvh2_gltf_brdf.cpp.

◆ emission

Color Brdf::emission

emission pour les sources de lumieres ou pas (= noir).

Definition at line 540 of file tuto_bvh2_gltf_brdf.cpp.

◆ metallic

float Brdf::metallic

metallic / dielectrique.

Definition at line 542 of file tuto_bvh2_gltf_brdf.cpp.

◆ alpha

float Brdf::alpha

rugosite de la micro surface.

Definition at line 543 of file tuto_bvh2_gltf_brdf.cpp.

◆ transmission

float Brdf::transmission

transmission, transparent ou pas (= 0)

Definition at line 544 of file tuto_bvh2_gltf_brdf.cpp.


The documentation for this struct was generated from the following files: