On this page there is a link to detailed documentation of the materials system.
http://wiki.jmonkeyengine.org/doku.php/jme3:advanced:jme3_shaders
The link on that page is broken. The link is to http://www.jmonkeyengine.com/forum/index.php?topic=14179.0