Master branch ` attenuation = albedo->value(rec.u, rec.v, rec.p); ` hit_record has no members u or v. I noticed no update to hit_record scrolling up through the book. Easy fix would be to update hit_record just before material.h Listing