Skip to content

Book Two - Listing: [material.h] Lambertian material with texture #441

@dafhi

Description

@dafhi

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions