|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Mix material parameters. More...
#include <tinypbrt/detail/material.h>
Data Fields | |
| tpbrt_material_handle_t | materials [2] |
| Handles of two materials to mix between. | |
| tpbrt_texture_handle_t | amount |
| Weighting factor for the blend between materials. A value of zero corresponds to just the first material, a value of one corresponds to just the second, and values in between interpolate linearly. | |
Mix material parameters.
| tpbrt_material_handle_t tpbrt_material_mix_params_t::materials[2] |
Handles of two materials to mix between.
| tpbrt_texture_handle_t tpbrt_material_mix_params_t::amount |
Weighting factor for the blend between materials. A value of zero corresponds to just the first material, a value of one corresponds to just the second, and values in between interpolate linearly.