tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt_integrator_ambient_occlusion_params_t Struct Reference

Ambient Occlusion integrator parameters. More...

#include <tinypbrt/detail/integrator.h>

Data Fields

tpbrt_float_t max_distance
 Distance after which occlusion should be ignored.
 
tpbrt_bool_t cos_sample: 1
 Controls whether uniform hemisphere sampling or cosine-weighted sampling should be used for ambient occlusion sample rays.
 

Detailed Description

Ambient Occlusion integrator parameters.

Field Documentation

◆ max_distance

tpbrt_float_t tpbrt_integrator_ambient_occlusion_params_t::max_distance

Distance after which occlusion should be ignored.

◆ cos_sample

tpbrt_bool_t tpbrt_integrator_ambient_occlusion_params_t::cos_sample

Controls whether uniform hemisphere sampling or cosine-weighted sampling should be used for ambient occlusion sample rays.


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