// Requires // texture_color // Defines // texture_{plastic,metal,plasma}_{strong,medium,pastel,muddy,dark} // Metal #declare texture_self_color = texture_color #declare texture_refl_color = texture_color #include "texture-metal.inc" #declare texture_metal_strong = texture{ texture_metal } #declare texture_self_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 > #declare texture_refl_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 > #include "texture-metal.inc" #declare texture_metal_medium = texture{ texture_metal } #declare texture_self_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 > #declare texture_refl_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 > #include "texture-metal.inc" #declare texture_metal_pastel = texture{ texture_metal } #declare texture_self_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 > #declare texture_refl_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 > #include "texture-metal.inc" #declare texture_metal_muddy = texture{ texture_metal } #declare texture_self_color = 0.50 * texture_color #declare texture_refl_color = 0.50 * texture_color #include "texture-metal.inc" #declare texture_metal_dark = texture{ texture_metal } // Plastic #declare highlight_color = < 1.00, 1.00, 1.00 > #declare plastic_color = texture_color #include "texture-plastic.inc" #declare texture_plastic_strong = texture{ texture_plastic } #declare plastic_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 > #include "texture-plastic.inc" #declare texture_plastic_medium = texture{ texture_plastic } #declare plastic_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 > #include "texture-plastic.inc" #declare texture_plastic_pastel = texture{ texture_plastic } #declare plastic_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 > #include "texture-plastic.inc" #declare texture_plastic_muddy = texture{ texture_plastic } #declare plastic_color = 0.50 * texture_color #include "texture-plastic.inc" #declare texture_plastic_dark = texture{ texture_plastic } // Matte #declare matte_color = texture_color #include "texture-matte.inc" #declare texture_matte_strong = texture{ texture_matte } #declare matte_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 > #include "texture-matte.inc" #declare texture_matte_medium = texture{ texture_matte } #declare matte_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 > #include "texture-matte.inc" #declare texture_matte_pastel = texture{ texture_matte } #declare matte_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 > #include "texture-matte.inc" #declare texture_matte_muddy = texture{ texture_matte } #declare matte_color = 0.50 * texture_color #include "texture-matte.inc" #declare texture_matte_dark = texture{ texture_matte } // Plasma #declare plasma_color = texture_color #include "texture-plasma.inc" #declare texture_plasma_strong = texture{ texture_plasma } #declare plasma_color = 0.67 * texture_color + < 0.33, 0.33, 0.33 > #include "texture-plasma.inc" #declare texture_plasma_medium = texture{ texture_plasma } #declare plasma_color = 0.33 * texture_color + < 0.67, 0.67, 0.67 > #include "texture-plasma.inc" #declare texture_plasma_pastel = texture{ texture_plasma } #declare plasma_color = 0.50 * texture_color + 0.50 * < 0.50, 0.50, 0.50 > #include "texture-plasma.inc" #declare texture_plasma_muddy = texture{ texture_plasma } #declare plasma_color = 0.50 * texture_color #include "texture-plasma.inc" #declare texture_plasma_dark = texture{ texture_plasma }