Questions about SchlickBSDF_CoatingF

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
BruceXu
Posts: 35
Joined: Wed Apr 15, 2020 7:16 am

Questions about SchlickBSDF_CoatingF

Post by BruceXu »

Why don't you multiply cosi here?
like this factor / (4.f * coso * cosi)

Code: Select all

if (!fromLight)
		factor = factor / (4.f * coso) +
				(mbounce ? cosi * Clamp((1.f - G) / (4.f * coso * cosi), 0.f, 1.f) : 0.f);
Because here's the formula for microsurfaces.
BRDF = F * D * G / (4 * cosi * coso)
Post Reply