Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
uncorrelated< CONF > Struct Template Reference

Uncorrelated joint masking and shadowing. More...

#include <uncorrelated.h>

Public Member Functions

 BBM_IMPORT_CONFIG (CONF)
 

Static Public Member Functions

template<typename NDF >
requires concepts::ndf<NDF> && concepts::matching_config<CONF, NDF>
static constexpr auto eval (const NDF &ndf, const Vec3d &in, const Vec3d &out, const Vec3d &m, Mask mask=true)
 

Detailed Description

template<typename CONF>
requires concepts::config<CONF>
struct bbm::maskingshadowing::uncorrelated< CONF >

Uncorrelated joint masking and shadowing.

Follows Eq. 98 from "Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs" [Heitz 2014]: https://jcgt.org/published/0003/02/03/

Member Function Documentation

◆ BBM_IMPORT_CONFIG()

BBM_IMPORT_CONFIG ( CONF  )

◆ eval()

static constexpr auto eval ( const NDF &  ndf,
const Vec3d &  in,
const Vec3d &  out,
const Vec3d &  m,
Mask  mask = true 
)
inlinestaticconstexpr

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