|
BRL-CAD
|
#include <mater.h>
Data Fields | |
| float | ma_color [3] |
| explicit color: 0..1 | |
| float | ma_temperature |
| positive ==> degrees Kelvin | |
| char | ma_color_valid |
| non-0 ==> ma_color is non-default | |
| char | ma_cinherit |
| color: DB_INH_LOWER / DB_INH_HIGHER | |
| char | ma_minherit |
| mater: DB_INH_LOWER / DB_INH_HIGHER | |
| char * | ma_shader |
| shader name & parms | |
Per-region material and shading information carried on a struct region.
This is separate from the region-ID color table (see struct mater below); it stores per-region shader parameters and color as parsed from object attributes.