葉の左側と右側の色を指定します。
//**********************************************************************************
#local Cv1=< 0.089, 0.711, 0.089 >;
#local Cv2=< 0.243, 0.557, 0.243 >;
#local P_leaf_L =
pigment { gradient x+z
color_map { [ 0.00 color rgb Cv1 ]
[ 0.45 color rgb Cv1 ]
[ 0.50 color rgb Cv2 ]
[ 0.55 color rgb Cv1 ]
[ 1.00 color rgb Cv1 ] } }
#local P_leaf_R =
pigment { gradient x-z
color_map { [ 0.00 color rgb Cv1 ]
[ 0.45 color rgb Cv1 ]
[ 0.50 color rgb Cv2 ]
[ 0.55 color rgb Cv1 ]
[ 1.00 color rgb Cv1 ] } }
//**********************************************************************************