Page 1 of 1

Questions about SchlickBSDF_CoatingF

Posted: Thu Jun 24, 2021 11:17 am
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)