mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-23 03:16:12 -05:00
Unity’s Mesh.RecalculateTangents() sometimes generates triangles whose three vertices disagree on tangent.w (+1 vs –1). The mixed values are linearly interpolated in the fragment shader; at the midpoint w≈0, bitangent normalization hits a divide-by-zero, producing NaNs and visible glitches (notably on Android GPUs). |
||
|---|---|---|
| .. | ||
| Editor | ||
| Runtime | ||
| Shaders | ||
| Tests | ||
| Editor.meta | ||
| Runtime.meta | ||
| Shaders.meta | ||
| Tests.meta | ||