Material optimization

@Maximum-Dev
Short and general answer-yes, it affects rendering performance.
Long and specific answer would be a bit more complicated.

These two resources touch the problem:

http://http.developer.nvidia.com/GPUGems/gpugems_ch28.html