changed triangle to array withith brdf