Syntax
- float material.color.{r|g|b}
- string material.color.rgb
Description
The material.color attribute controls the diffuse color. In CGA, colors are always in (non-linear) sRGB.
Related
Examples
Rainbow building
The split index is used to generate position dependent colors.
|