#include "colors.inc" #include "shapes.inc" #include "textures.inc" camera { location <5,5,-10> look_at <0,0,0> angle 20 } light_source { <0,10,0> color White } object { Sphere texture { pigment { gradient x color_map { // [0.0 color rgb <0, 0, 1.0> ] [0.2 color rgb <0, 0, 1.0> ] [0.4 color rgb <1.0, 0.0, 0.0> ] [0.6 color rgb <1.0, 0.0, 0.0> ] [0.8 color rgb <0.0, 1.0, 0.0> ] // [1.0 color rgb <0.0, 1.0, 0.0> ] } } } }