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

Vgroove shadowing and masking. More...

#include <vgroove.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 Value 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::vgroove< CONF >

Vgroove shadowing and masking.

Based on Torrance and Sparrow, 19967, "Theory for off-specular reflection from roughened surfaces": https://dl.acm.org/doi/10.5555/136913.136924

Member Function Documentation

◆ BBM_IMPORT_CONFIG()

BBM_IMPORT_CONFIG ( CONF  )

◆ eval()

static constexpr Value 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: