MatCap Texture should be 0.0 when it doesn't exist.

This commit is contained in:
Masataka SUMI 2024-12-23 14:04:26 +09:00
parent 9d453a484c
commit 76563cdebb
No known key found for this signature in database

View File

@ -118,7 +118,7 @@ inline half3 GetMToonLighting_Rim_Matcap(const MToonInput input)
return _MatcapColor.rgb * MTOON_SAMPLE_TEXTURE2D(_MatcapTex, matcapUv).rgb;
}
return _MatcapColor.rgb;
return 0;
}
inline half3 GetMToonLighting_Rim(const UnityLighting unityLight, const MToonInput input, const half shadow)