Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions features/Hair Specular/Shaders/Hair/Hair.hlsli
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ namespace Hair
GetHairDirectLightScheuermann(dirDiffuse, dirSpecular, T, L, V, N, VN, lightColor, shininess, selfShadow, uv, baseColor);
} else {
GetHairDirectLightMarschner(dirDiffuse, dirSpecular, T, L, V, N, VN, lightColor, shininess, selfShadow, uv, baseColor);
dirDiffuse = Color::LinearToGamma(dirDiffuse);
dirSpecular = Color::LinearToGamma(dirSpecular);
}
}
Expand All @@ -233,8 +232,6 @@ namespace Hair
specularLobeWeightPrimary = 0;
specularLobeWeightSecondary = 0;
float3 L = normalize(V - N * dot(V, N));
// float NdotL = dot(N, L);
// float VdotL = dot(V, L);

if (SharedData::hairSpecularSettings.EnableTangentShift) {
const float shift = TexTangentShift.SampleLevel(SampColorSampler, uv, 0).x - 0.5;
Expand Down