Added some sort of support for transparent materials