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

Material bump map parameters. More...

#include <tinypbrt/detail/material.h>

Data Fields

union { 
 
   tpbrt_texture_handle_t   displacement 
 Float-valued texture specifying surface height offsets that are used for bump mapping. More...
 
   tpbrt_string_t   normal_map 
 Filename for an image to use to specify a normal map. More...
 
} as 
 Value dependent on type value.
 
tpbrt_material_bump_map_type_t type: 3
 Bump map value type.
 

Detailed Description

Material bump map parameters.

Field Documentation

◆ displacement

tpbrt_texture_handle_t tpbrt_material_bump_map_params_t::displacement

Float-valued texture specifying surface height offsets that are used for bump mapping.

◆ normal_map

tpbrt_string_t tpbrt_material_bump_map_params_t::normal_map

Filename for an image to use to specify a normal map.

◆ [union]

union { ... } tpbrt_material_bump_map_params_t::as

Value dependent on type value.

◆ type

tpbrt_material_bump_map_type_t tpbrt_material_bump_map_params_t::type

Bump map value type.


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