gl:material

(gl:material opengl face pname param)


Description:

specify a surface material for lighting


Arguments:

         opengl -- opengl instance

          param -- one or more values for pname (either a vector or reals or an NSData object of floats)

          pname -- parameter name constant *gl:shininess* for example

           face -- constant face value *gl:front* *gl:back* *gl:back-and-front*


Returns: boolean


Related:  


Examples:



Back to index