Added Material buffer.Every surface reports a Material index at intersection point