Rename Material#add to #set, allow mask for vertex attributes.
Refactor lighting
Minor changes
Merge pull request #353 from xoppa/new3dapi

new3dapi: refactor lighting