fix: soft masking not working with DetailFilter.Masking

This commit is contained in:
mob-sakai
2025-06-09 17:51:03 +09:00
parent f879424b3f
commit ffdeaa7e2f
+1 -1
View File
@@ -643,7 +643,7 @@ half4 apply_detail_filter(half4 color, float2 uvLocal)
half4 detail = tex2D(_DetailTex, uv);
#if DETAIL_MASKING // Detail.Masking
{
color.a *= inv_lerp(_DetailThreshold.x, _DetailThreshold.y, detail.a);
color *= inv_lerp(_DetailThreshold.x, _DetailThreshold.y, detail.a);
}
#elif DETAIL_MULTIPLY // Detail.Multiply
{