From 8cebabd3f92a9a086c8a844c08dad3c6f832826e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=82=B2=E5=98=89?= Date: Sat, 19 Jul 2025 01:03:32 +0800 Subject: [PATCH] fix: marschner indirect diffuse inconsistency --- features/Hair Specular/Shaders/Hair/Hair.hlsli | 1 - 1 file changed, 1 deletion(-) diff --git a/features/Hair Specular/Shaders/Hair/Hair.hlsli b/features/Hair Specular/Shaders/Hair/Hair.hlsli index cd62d18e82..84051c60d2 100644 --- a/features/Hair Specular/Shaders/Hair/Hair.hlsli +++ b/features/Hair Specular/Shaders/Hair/Hair.hlsli @@ -241,7 +241,6 @@ namespace Hair specularLobeWeightPrimary = D_Marschner(L, V, T, roughnessPrimary, baseColor, 0.2, 0) * Math::PI; diffuseLobeWeight = GetHairDiffuseAttenuationKajiyaKay(T, V, L, 1, baseColor) * Math::PI; - diffuseLobeWeight = Color::LinearToGamma(diffuseLobeWeight); specularLobeWeightPrimary = Color::LinearToGamma(specularLobeWeightPrimary); return; } else {