@tig said:
You can easily get the material's color's RGB.
You then need to write a png file with those values.
Import it in as a texture for that material...
There are image writing modules for Ruby with stuff like GD2 ?
π
PNG files are not trivial to deal with. If anyone are knows of a lightweight lib to use with SU Ruby then I'd be very interested.
I just wrote my own BMP reader for a plugin I'm working on. A BMP writer would be easy - but the downside is the filesize... π