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

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 reflectance
 The reflectivity of the surface. Must be between 0 and 1.
 

Detailed Description

Diffuse material parameters.

Field Documentation

◆ bump_map

tpbrt_material_bump_map_params_t tpbrt_material_diffuse_params_t::bump_map

Bump map parameters.

◆ reflectance

tpbrt_texture_handle_t tpbrt_material_diffuse_params_t::reflectance

The reflectivity of the surface. Must be between 0 and 1.

Examples
examples/materials/main.c.

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