added brdf parsing