added possibility to calculate specular maps, not finished