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

Direction mix texture parameters. More...

#include <tinypbrt/detail/texture.h>

Data Fields

tpbrt_texture_handle_t tex1
 One of the two textures to be mixed.
 
tpbrt_texture_handle_t tex2
 The other texture to be mixed. These two textures must be of the same type (float or spectrum).
 
tpbrt_vec_t dir
 Vector with with the dot product of the surface normal is computed.
 

Detailed Description

Direction mix texture parameters.

Field Documentation

◆ tex1

tpbrt_texture_handle_t tpbrt_texture_direction_mix_params_t::tex1

One of the two textures to be mixed.

◆ tex2

tpbrt_texture_handle_t tpbrt_texture_direction_mix_params_t::tex2

The other texture to be mixed. These two textures must be of the same type (float or spectrum).

◆ dir

tpbrt_vec_t tpbrt_texture_direction_mix_params_t::dir

Vector with with the dot product of the surface normal is computed.


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