Simplify the material.cpp code - Also, a bit more performance.
Simplify the material.cpp code - Also, a bit more performance.

KDE/gluon,KDE/gluon,pranavrc/example-gluon,pranavrc/example-gluon,pranavrc/example-gluon,KDE/gluon,KDE/gluon,pranavrc/example-gluon