mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 20:38:56 -05:00
念のため、MTOON URPで囲っておく
This commit is contained in:
@@ -55,6 +55,7 @@ half4 MToonFragment(const FragmentInput fragmentInput) : SV_Target
|
||||
mtoonInput.alpha = alpha;
|
||||
half4 col = GetMToonLighting(unityLighting, mtoonInput);
|
||||
|
||||
#ifdef MTOON_URP
|
||||
#ifdef _ADDITIONAL_LIGHTS
|
||||
uint pixelLightCount = GetAdditionalLightsCount();
|
||||
for (uint lightIndex = 0u; lightIndex < pixelLightCount; ++lightIndex)
|
||||
@@ -63,6 +64,7 @@ half4 MToonFragment(const FragmentInput fragmentInput) : SV_Target
|
||||
col.rgb += GetMToonLighting(additionalUnityLighting, mtoonInput).rgb;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Apply Fog
|
||||
#ifdef MTOON_URP
|
||||
|
||||
Reference in New Issue
Block a user