Module crystal_ball::materials

source ·
Expand description

Data types and functions related to materials.

Structs§

Traits§

  • Characterize optical properties of a surface.

Functions§

  • Compute the combination of a Color, an optional Texture and a given strength for the given UV coordinates.
  • Compute the normal at the given UV coordinates using the normal_texture.