fixed bugs in material conversion and added bump map support