Corrected bugs in material parsing. Mistakingly used 0/255 instead of float values.