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

Coated diffuse material parameters. More...

#include <tinypbrt/detail/material.h>

Data Fields

tpbrt_material_bump_map_params_t bump_map
 Bump map parameters.
 
tpbrt_texture_handle_t albedo
 Scattering albedo of the medium between the interface and the diffuse base layer. Must be less than or equal to 1.
 
tpbrt_texture_handle_t g
 Henyey-Greenstein asymmetry parameter ranging from -1 to 1 that describes the distribution of scattered light in the medium.
 
tpbrt_texture_handle_t eta
 Index of refraction of the medium inside the surface.
 
tpbrt_uint_t max_depth
 Maximum number of bounces of light to model when modeling light scattering among the interface, the base layer, and the medium (if present).
 
tpbrt_uint_t n_samples
 Number of independent samples to take when performing Monte Carlo integration of light scattering between the layers.
 
tpbrt_texture_handle_t reflectance
 Reflectance of the base diffuse layer.
 
tpbrt_material_roughness_params_t roughness_params
 Roughness parameters.
 
tpbrt_float_t thickness
 Thickness of the medium between the two layers.
 

Detailed Description

Coated diffuse material parameters.

Field Documentation

◆ bump_map

tpbrt_material_bump_map_params_t tpbrt_material_coated_diffuse_params_t::bump_map

Bump map parameters.

◆ albedo

tpbrt_texture_handle_t tpbrt_material_coated_diffuse_params_t::albedo

Scattering albedo of the medium between the interface and the diffuse base layer. Must be less than or equal to 1.

◆ g

tpbrt_texture_handle_t tpbrt_material_coated_diffuse_params_t::g

Henyey-Greenstein asymmetry parameter ranging from -1 to 1 that describes the distribution of scattered light in the medium.

◆ eta

tpbrt_texture_handle_t tpbrt_material_coated_diffuse_params_t::eta

Index of refraction of the medium inside the surface.

◆ max_depth

tpbrt_uint_t tpbrt_material_coated_diffuse_params_t::max_depth

Maximum number of bounces of light to model when modeling light scattering among the interface, the base layer, and the medium (if present).

◆ n_samples

tpbrt_uint_t tpbrt_material_coated_diffuse_params_t::n_samples

Number of independent samples to take when performing Monte Carlo integration of light scattering between the layers.

◆ reflectance

tpbrt_texture_handle_t tpbrt_material_coated_diffuse_params_t::reflectance

Reflectance of the base diffuse layer.

Examples
examples/materials/main.c.

◆ roughness_params

tpbrt_material_roughness_params_t tpbrt_material_coated_diffuse_params_t::roughness_params

Roughness parameters.

Examples
examples/materials/main.c.

◆ thickness

tpbrt_float_t tpbrt_material_coated_diffuse_params_t::thickness

Thickness of the medium between the two layers.

Examples
examples/materials/main.c.

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