gl:color-material

(gl:color-material opengl face mode)


Description:

gl:color-maetrial  specifies  which material parameters track the current

       color.  When *gl:color-material* is enabled, the  material  parameter  or

       parameters specified by mode, of the material or materials specified by

       face, track the current color at all times


Arguments:

           mode -- Accepted values are *gl:emission*, *gl:ambient*, *gl:diffuse*, *gl:specular*, and *gl:ambient-and-diffuse*

         opengl -- an opengl instance

           face -- Accepted  values  are *gl:front*,  *gl:back*,  and *gl:front-and-back*


Returns: image


Related: gfx:get-image-from-canvas 


Examples:



Back to index