Brush chunk and number of textures?
Blitz3D Forums/Blitz3D Programming/Brush chunk and number of textures?
| ||
The brush chunk is described as follows: BRUS int n_texs { char name[] ;eg "WATER" - just use texture name by default float red,green,blue,alpha ;Blitz3D Brushcolor and Brushalpha: default=1,1,1,1 float shininess ;Blitz3D BrushShininess: default=0 int blend,fx ;Blitz3D Brushblend and BrushFX: default=1,0 int texture_id[n_texs] ;textures used in brush } The BRUS chunk contains a list of all brushes used in the file. It appears the number of textures is only specified once, not for each brush. Is this correct? |
| ||
Yeah, that's correct. I believe your brush textures reference the textures present in the TEX chunk/node. |