mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 14:29:52 -05:00
Merge pull request #2038 from Santarh/singlePassStereoMtoon10
Fix shadow behaviour of MToon 1.0 when Single-Pass Stereo Rendering is enabled.
This commit is contained in:
commit
f07012eb17
|
|
@ -20,6 +20,7 @@ half4 MToonFragment(const FragmentInput fragmentInput) : SV_Target
|
|||
}
|
||||
|
||||
const Varyings input = fragmentInput.varyings;
|
||||
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
|
||||
|
||||
// Get MToon UV (with UVAnimation)
|
||||
const float2 uv = GetMToonGeometry_Uv(input.uv);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user