From d77d4b66987432efab9f41373ef64db1bd798ac9 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Wed, 29 Sep 2021 14:59:47 +0900 Subject: [PATCH] fix double transformation. --- .../Resources/VRM10/vrmc_materials_mtoon_forward_vertex.hlsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRMShaders/VRM10/MToon10/Resources/VRM10/vrmc_materials_mtoon_forward_vertex.hlsl b/Assets/VRMShaders/VRM10/MToon10/Resources/VRM10/vrmc_materials_mtoon_forward_vertex.hlsl index 9e72bc48b..e536543f3 100644 --- a/Assets/VRMShaders/VRM10/MToon10/Resources/VRM10/vrmc_materials_mtoon_forward_vertex.hlsl +++ b/Assets/VRMShaders/VRM10/MToon10/Resources/VRM10/vrmc_materials_mtoon_forward_vertex.hlsl @@ -17,7 +17,7 @@ Varyings MToonVertex(const Attributes v) // v is UnityCG macro specified name. UNITY_TRANSFER_INSTANCE_ID(v, output); UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); - output.uv = TRANSFORM_TEX(v.texcoord0, _MainTex); + output.uv = v.texcoord0; if (MToon_IsOutlinePass()) {