added texture wrapping mode parameters to material resource
added optional material mipmapping