UniVRM/Assets/VRM10/MToon10/Shaders
Masataka SUMI d7a2ddf9dc
fix(tangent): binarize tangent.w to ±1 to prevent NaNs and artifacts
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).
2025-05-15 23:38:06 +09:00
..
vrmc_materials_mtoon_attribute.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_attribute.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_define.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_define.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthnormals_fragment.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthnormals_fragment.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthnormals_vertex.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthnormals_vertex.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthonly_fragment.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthonly_fragment.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthonly_vertex.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_depthonly_vertex.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_forward_fragment.hlsl add lighting for additional lights on forward+ renderer on URP 2024-09-04 17:43:31 +09:00
vrmc_materials_mtoon_forward_fragment.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_forward_vertex.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_forward_vertex.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_geometry_alpha.hlsl Make variable name clear. 2025-03-05 01:50:28 +09:00
vrmc_materials_mtoon_geometry_alpha.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_geometry_normal.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_geometry_normal.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_geometry_uv.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_geometry_uv.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_geometry_vertex.hlsl use g channel for outline width tex to match the specification 2025-04-03 11:15:11 +09:00
vrmc_materials_mtoon_geometry_vertex.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_input.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_input.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_lighting_mtoon.hlsl Make variable name clear. 2025-03-05 01:50:28 +09:00
vrmc_materials_mtoon_lighting_mtoon.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_lighting_unity.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_lighting_unity.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_render_pipeline.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_render_pipeline.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_shadowcaster_fragment.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_shadowcaster_fragment.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_shadowcaster_vertex.hlsl Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_shadowcaster_vertex.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_urp.shader comment 2025-03-03 20:11:24 +09:00
vrmc_materials_mtoon_urp.shader.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon_utility.hlsl fix(tangent): binarize tangent.w to ±1 to prevent NaNs and artifacts 2025-05-15 23:38:06 +09:00
vrmc_materials_mtoon_utility.hlsl.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00
vrmc_materials_mtoon.shader comment 2025-03-03 20:11:24 +09:00
vrmc_materials_mtoon.shader.meta Extract MToon10 shaders from the Resources directory 2024-07-29 20:05:32 +09:00