From f6e54271cddfec5ef16e986a94edf2db380bc458 Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 6 Dec 2025 19:09:17 -0800 Subject: begin work on light volume strength feature --- yum_brdf.cginc | 3 --- 1 file changed, 3 deletions(-) (limited to 'yum_brdf.cginc') diff --git a/yum_brdf.cginc b/yum_brdf.cginc index b8d4d0b..b1913f7 100644 --- a/yum_brdf.cginc +++ b/yum_brdf.cginc @@ -257,10 +257,7 @@ float4 YumBRDF(v2f i, const YumLighting light, YumPbr pbr) { const float3 E = specularDFG(dfg, f0); const float3 energy_compensation = energyCompensation(dfg, f0); - // Compute specular ambient occlusion float diffuseAO = pbr.ao; - - // Use proper diffuse color calculation float3 diffuseColor = computeDiffuseColor(pbr.albedo, pbr.metallic); float3 Fd = diffuseColor * light.diffuse * (1.0 - E) * pbr.ao * remainder; -- cgit v1.2.3