Implements the GGX microfacet distribution with the Smith shadow-masking model, as described in:
https://hal.archives-ouvertes.fr/hal-01509746/document
#include <ggx_smith.h>
|
float | roughness |
|
float | inv_roughness |
|
◆ p() [1/2]
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float cugar::GGXSmithMicrofacetDistribution::p |
( |
const Vector3f |
V, |
|
|
const Vector3f |
H |
|
) |
| const |
|
inline |
evaluate the pdf of sampling H given V, p(H|V) = p(V,H) - in the local surface frame
◆ p() [2/2]
evaluate the pdf of sampling H given V, p(H|V) = p(V,H)
◆ sample() [1/2]
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE Vector3f cugar::GGXSmithMicrofacetDistribution::sample |
( |
const Vector3f |
u, |
|
|
const Vector3f |
V, |
|
|
float * |
p = NULL |
|
) |
| const |
|
inline |
sample H given V and return the pdf p - in the local surface frame
◆ sample() [2/2]
sample H given V and return the pdf p
The documentation for this struct was generated from the following file:
- C:/p4research/research/jpantaleoni/Fermat-Public/contrib/cugar/bsdf/ggx_smith.h