diff --git a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Blue_Clipping.mat b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Blue_Clipping.mat index 71811641a..49274704b 100644 --- a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Blue_Clipping.mat +++ b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Blue_Clipping.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_MODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.1 @@ -473,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.14987022, g: 0.9264706, b: 0.21949644, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 1782.8878, g: 1, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.74264705, g: 1, b: 0.9254564, a: 1} diff --git a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Flesh_Trans.mat b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Flesh_Trans.mat index a9be9db1e..f04adc1e2 100644 --- a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Flesh_Trans.mat +++ b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Flesh_Trans.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_TRANSMODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.238 - _1st_ShadeColor_Feather: 0.067 @@ -473,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.6691177, g: 0.5646104, b: 0.12791955, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 4.2870936, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Plane.mat b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Plane.mat index 8345d78a1..781738ea5 100644 --- a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Plane.mat +++ b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Plane.mat @@ -13,12 +13,12 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_OUTLINE_CLIPPING_NO - _IS_TRANSCLIPPING_OFF - _OUTLINE_NML - _SHADINGGRADEMAP - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -187,7 +187,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 @@ -454,6 +455,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.60294116, g: 1, b: 0.63853955, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 1024, g: 0.99999, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Quad_TransStencilOut.mat b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Quad_TransStencilOut.mat index a957d3a95..df7b19beb 100644 --- a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Quad_TransStencilOut.mat +++ b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Quad_TransStencilOut.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_TRANSMODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -207,7 +207,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 @@ -474,6 +475,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red.mat b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red.mat index bec8a7912..a876bf65f 100644 --- a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red.mat +++ b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML m_InvalidKeywords: + - _IS_ANGELRING_OFF - _MatCap m_LightmapFlags: 5 m_EnableInstancingVariants: 0 @@ -207,7 +207,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.284 @@ -474,6 +475,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.9044118, g: 0.6982591, b: 0.83901155, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red_Clipping.mat b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red_Clipping.mat index b3d14fbbb..dae0453dc 100644 --- a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red_Clipping.mat +++ b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/Red_Clipping.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_MODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.1 @@ -473,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.14901961, g: 0.9254902, b: 0.21568628, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 0.64705884, b: 0.9026369, a: 1} diff --git a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/ShadingGradeMap.mat b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/ShadingGradeMap.mat index 2a7ea729c..4e6ab1be6 100644 --- a/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/ShadingGradeMap.mat +++ b/TestProjects/ToonURPTest-6000.0/Assets/ScenesDev/BallsAndPlanes2D/ShadingGradeMap.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_TRANSCLIPPING_OFF - _OUTLINE_NML - _SHADINGGRADEMAP - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 @@ -473,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.7647059, g: 0.93184584, b: 1, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 25.812538, g: 0.89996624, b: 7.315721, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Blue_Clipping.mat b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Blue_Clipping.mat index 039d1fb97..49274704b 100644 --- a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Blue_Clipping.mat +++ b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Blue_Clipping.mat @@ -474,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.14987022, g: 0.9264706, b: 0.21949644, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 1782.8878, g: 1, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.74264705, g: 1, b: 0.9254564, a: 1} diff --git a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Flesh_Trans.mat b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Flesh_Trans.mat index a9be9db1e..f04adc1e2 100644 --- a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Flesh_Trans.mat +++ b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Flesh_Trans.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_TRANSMODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.238 - _1st_ShadeColor_Feather: 0.067 @@ -473,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.6691177, g: 0.5646104, b: 0.12791955, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 4.2870936, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Plane.mat b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Plane.mat index 8345d78a1..781738ea5 100644 --- a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Plane.mat +++ b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Plane.mat @@ -13,12 +13,12 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_OUTLINE_CLIPPING_NO - _IS_TRANSCLIPPING_OFF - _OUTLINE_NML - _SHADINGGRADEMAP - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -187,7 +187,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 @@ -454,6 +455,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.60294116, g: 1, b: 0.63853955, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 1024, g: 0.99999, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Quad_TransStencilOut.mat b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Quad_TransStencilOut.mat index a957d3a95..df7b19beb 100644 --- a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Quad_TransStencilOut.mat +++ b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Quad_TransStencilOut.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_TRANSMODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -207,7 +207,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 @@ -474,6 +475,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red.mat b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red.mat index bec8a7912..a876bf65f 100644 --- a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red.mat +++ b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML m_InvalidKeywords: + - _IS_ANGELRING_OFF - _MatCap m_LightmapFlags: 5 m_EnableInstancingVariants: 0 @@ -207,7 +207,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.284 @@ -474,6 +475,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.9044118, g: 0.6982591, b: 0.83901155, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red_Clipping.mat b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red_Clipping.mat index 593ff9a67..dae0453dc 100644 --- a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red_Clipping.mat +++ b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/Red_Clipping.mat @@ -474,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.14901961, g: 0.9254902, b: 0.21568628, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 0.64705884, b: 0.9026369, a: 1} diff --git a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/ShadingGradeMap.mat b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/ShadingGradeMap.mat index 2a7ea729c..4e6ab1be6 100644 --- a/com.unity.toon-scenes/URP/BallsAndPlanesSSS/ShadingGradeMap.mat +++ b/com.unity.toon-scenes/URP/BallsAndPlanesSSS/ShadingGradeMap.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_TRANSCLIPPING_OFF - _OUTLINE_NML - _SHADINGGRADEMAP - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 @@ -473,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.7647059, g: 0.93184584, b: 1, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 25.812538, g: 0.89996624, b: 7.315721, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toon-scenes/URP/MetaverseOutlineLighting/Capsule.mat b/com.unity.toon-scenes/URP/MetaverseOutlineLighting/Capsule.mat index 0d68cd198..d4358039e 100644 --- a/com.unity.toon-scenes/URP/MetaverseOutlineLighting/Capsule.mat +++ b/com.unity.toon-scenes/URP/MetaverseOutlineLighting/Capsule.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Capsule m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,14 +42,26 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BumpMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -50,22 +70,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _EmissionMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OcclusionMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,21 +178,64 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.8 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.5 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 - _AlphaClip: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.8 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -146,24 +245,59 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _Cull: 2 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _EnvironmentReflections: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 - _GlossMapScale: 0 - _Glossiness: 0 - _GlossyReflections: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -195,18 +329,30 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _OcclusionStrength: 1 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 80 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _QueueOffset: 0 - _ReceiveShadows: 1 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -217,20 +363,43 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.5 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 - _SmoothnessTextureChannel: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 - _SpecularHighlights: 1 + - _SpecularOcclusionMode: 1 - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _Surface: 0 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -241,11 +410,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _WorkflowMode: 1 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 @@ -257,19 +432,41 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.49411768, g: 0.49411768, b: 0.49411768, a: 1} - _2nd_ShadeColor: {r: 0.19607845, g: 0.19607845, b: 0.19607845, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.7843138, g: 0.7843138, b: 0.7843138, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.7843138, g: 0.7843138, b: 0.7843138, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.94117653, g: 0.5882353, b: 0.039215688, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 --- !u!114 &1577030296317473184 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs b/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs index 4106b1a47..277900c7f 100644 --- a/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs +++ b/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs @@ -12,11 +12,7 @@ public override void OnGUI(MaterialEditor mEditor, MaterialProperty[] props) { return; } - int numTargets = mEditor.targets.Length; - Material[] mats = new Material[numTargets]; - for (int i = 0; i < numTargets; ++i) { - mats[i] = mEditor.targets[i] as Material; - } + Material[] mats = ToonMaterialEditorUtility.ExtractMaterialTargets(mEditor); InitMaterialPropertyUIElements(props); diff --git a/com.unity.toonshader/Editor/Scripts/ToonMaterialUpgrader.cs b/com.unity.toonshader/Editor/Scripts/ToonMaterialUpgrader.cs index 3c679be48..3be7a303d 100644 --- a/com.unity.toonshader/Editor/Scripts/ToonMaterialUpgrader.cs +++ b/com.unity.toonshader/Editor/Scripts/ToonMaterialUpgrader.cs @@ -72,6 +72,9 @@ private void UpgradeMaterials() { //---------------------------------------------------------------------------------------------------------------------- private void UpgradeMaterial(Material m) { ToonMaterialEditorUtility.ApplyRenderPipelineKeyword(m); + + //[TODO-sin] Need to check version ? + ToonMaterialUtility.UpdateProperties(m); } //---------------------------------------------------------------------------------------------------------------------- diff --git a/com.unity.toonshader/Editor/Scripts/Utilities/ToonMaterialEditorUtility.cs b/com.unity.toonshader/Editor/Scripts/Utilities/ToonMaterialEditorUtility.cs index ab4e74e3d..4a676a3e0 100644 --- a/com.unity.toonshader/Editor/Scripts/Utilities/ToonMaterialEditorUtility.cs +++ b/com.unity.toonshader/Editor/Scripts/Utilities/ToonMaterialEditorUtility.cs @@ -22,6 +22,17 @@ internal static int GetMaterialVersion(Material m) { } return curVersion; } - + +//---------------------------------------------------------------------------------------------------------------------- + internal static Material[] ExtractMaterialTargets(MaterialEditor mEditor) { + int numTargets = mEditor.targets.Length; + Material[] mats = new Material[numTargets]; + for (int i = 0; i < numTargets; ++i) { + mats[i] = mEditor.targets[i] as Material; + } + + return mats; + } + } } \ No newline at end of file diff --git a/com.unity.toonshader/Editor/UTS3GUI.cs b/com.unity.toonshader/Editor/UTS3GUI.cs index 8f234b277..427a184fb 100644 --- a/com.unity.toonshader/Editor/UTS3GUI.cs +++ b/com.unity.toonshader/Editor/UTS3GUI.cs @@ -825,8 +825,8 @@ private static class Styles { propName: "_StepOffset", defaultValue: 0, min: -0.5f, max: 0.5f); public static readonly RangeProperty shaderPropHilightPowerText = new RangeProperty( - label: "Highlight Power", tooltip: "Highlight power factor, pow(x,5) is used inside the shader.", - propName: "_HighColor_Power", defaultValue: 0, min: 0, max: 1); + label: "Highlight Power", tooltip: "Highlight power factor.", + propName: ToonConstants.SHADER_PROP_HIGHLIGHT_POWER, defaultValue: 0, min: 0, max: 1); public static readonly RangeProperty hilightMaskLevelText = new RangeProperty( label: "Highlight Mask Level", tooltip: "Highlight mask texture blending level to highlights.", @@ -889,11 +889,11 @@ private static class Styles { public static readonly RangeProperty rimLightPowerText = new RangeProperty( label: "Rim Light Level", tooltip: "Specifies Rim Light Intensity.", - propName: "_RimLight_Power", defaultValue: 0.1f, min: 0, max: 1); + propName: ToonConstants.SHADER_PROP_RIMLIGHT_POWER, defaultValue: 0.1f, min: 0, max: 1); public static readonly RangeProperty invertedRimLightPowerText = new RangeProperty( label: "Inverted Rim Light Level", tooltip: "Specifies Inverted/Antipodean Rim Light Level.", - propName: "_Ap_RimLight_Power", defaultValue: 0.1f, min: 0, max: 1); + propName: ToonConstants.SHADER_PROP_AP_RIMLIGHT_POWER, defaultValue: 0.1f, min: 0, max: 1); public static readonly RangeProperty giIntensityText = new RangeProperty( label: "Light Probe Intensity", tooltip: "The light probe color is added to the material color according to the GI Intensity value.", @@ -1116,7 +1116,11 @@ void DrawShaderOptions(Material material) { public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props) { m_MaterialEditor = materialEditor; - Material material = materialEditor.target as Material; + + Material[] mats = ToonMaterialEditorUtility.ExtractMaterialTargets(materialEditor); + + //[TODO-sin: 2026-2-27] handle multiple materials + Material material = mats[0]; EditorGUIUtility.fieldWidth = 0; if (m_FirstTimeApply) { OnOpenGUI(material, materialEditor, props); @@ -1199,6 +1203,10 @@ public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] pro if (EditorGUI.EndChangeCheck()) { m_MaterialEditor.PropertiesChanged(); + + foreach (Material m in mats) { + ToonMaterialUtility.UpdateProperties(m); + } } } // End of OnGUI() diff --git a/com.unity.toonshader/Runtime/Integrated/Shaders/UnityToon.shader b/com.unity.toonshader/Runtime/Integrated/Shaders/UnityToon.shader index 204f7103d..359c5f9ef 100644 --- a/com.unity.toonshader/Runtime/Integrated/Shaders/UnityToon.shader +++ b/com.unity.toonshader/Runtime/Integrated/Shaders/UnityToon.shader @@ -133,6 +133,8 @@ Shader "Toon/Toon" { _Set_RimLightMask ("Set_RimLightMask", 2D) = "white" {} _Tweak_RimLightMaskLevel ("Tweak_RimLightMaskLevel", Range(-1, 1)) = 0 + _HighlightRimlightMath ("Highlight Rimlight Math params", Vector) = (0,0,0,0) + // MatCap Properties [Toggle(_)] _MatCap ("MatCap", Float ) = 0 _MatCap_Sampler ("MatCap_Sampler", 2D) = "black" {} diff --git a/com.unity.toonshader/Runtime/Scripts/ToonConstants.cs b/com.unity.toonshader/Runtime/Scripts/ToonConstants.cs index e1bc0898e..05b5210bd 100644 --- a/com.unity.toonshader/Runtime/Scripts/ToonConstants.cs +++ b/com.unity.toonshader/Runtime/Scripts/ToonConstants.cs @@ -63,7 +63,17 @@ internal static class ToonConstants { //Highlight internal const string SHADER_PROP_HIGHLIGHT_COLOR = "_HighlightColor"; - internal const string SHADER_PROP_HIGHLIGHT_TEX = "_HighlightTex"; + internal const string SHADER_PROP_HIGHLIGHT_TEX = "_HighlightTex"; + internal const string SHADER_PROP_HIGHLIGHT_POWER = "_HighColor_Power"; + internal static readonly int SHADER_PROP_HIGHLIGHT_POWER_ID = Shader.PropertyToID(SHADER_PROP_HIGHLIGHT_POWER); + internal const string SHADER_PROP_RIMLIGHT_POWER = "_RimLight_Power"; + internal static readonly int SHADER_PROP_RIMLIGHT_POWER_ID = Shader.PropertyToID(SHADER_PROP_RIMLIGHT_POWER); + internal const string SHADER_PROP_AP_RIMLIGHT_POWER = "_Ap_RimLight_Power"; + internal static readonly int SHADER_PROP_AP_RIMLIGHT_POWER_ID = Shader.PropertyToID(SHADER_PROP_AP_RIMLIGHT_POWER); + + internal static readonly int SHADER_PROP_HIGHLIGHT_RIM_MATH_ID = Shader.PropertyToID("_HighlightRimlightMath"); + + //Outline internal const string SHADER_PROP_OUTLINE_MODE = "_OutlineMode"; diff --git a/com.unity.toonshader/Runtime/Scripts/Utilities/ToonMaterialUtility.cs b/com.unity.toonshader/Runtime/Scripts/Utilities/ToonMaterialUtility.cs index 1e9d700de..8e4918126 100644 --- a/com.unity.toonshader/Runtime/Scripts/Utilities/ToonMaterialUtility.cs +++ b/com.unity.toonshader/Runtime/Scripts/Utilities/ToonMaterialUtility.cs @@ -3,7 +3,31 @@ namespace Unity.Rendering.Toon { +/// +/// Provides utility methods for materials using the Unity Toon Shader. +/// internal static class ToonMaterialUtility { + + /// + /// Updates the material parameters based on its current property values. + /// The material to update. Assumed to be using the Toon shader (3D) + /// + public static void UpdateProperties(Material mat) { + + float highlightPower = mat.GetFloat(ToonConstants.SHADER_PROP_HIGHLIGHT_POWER_ID); + float rimlightPower = mat.GetFloat(ToonConstants.SHADER_PROP_RIMLIGHT_POWER_ID); + float apRimlightPower = mat.GetFloat(ToonConstants.SHADER_PROP_AP_RIMLIGHT_POWER_ID); + + Vector4 highlightAndRimMathParams = new Vector4( + Mathf.Pow(2, Mathf.Lerp(11f, 1f, highlightPower)), //exp2(lerp(11, 1, _HighColor_Power)) + 1.0f - Mathf.Pow(Mathf.Abs(highlightPower), 5f), //1.0 - pow(abs(_HighColor_Power), 5); + Mathf.Pow(2f, Mathf.Lerp(3f, 0f, rimlightPower)), //exp2(lerp(3, 0, _RimLight_Power)); + Mathf.Pow(2f, Mathf.Lerp(3f, 0f, apRimlightPower)) //exp2(lerp(3, 0, _Ap_RimLight_Power)); + ); + mat.SetVector(ToonConstants.SHADER_PROP_HIGHLIGHT_RIM_MATH_ID, highlightAndRimMathParams); + } + +//---------------------------------------------------------------------------------------------------------------------- internal static Dictionary CaptureMaterialValues(Material mat) { Dictionary store = new Dictionary(); diff --git a/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyDoubleShadeWithFeather.hlsl b/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyDoubleShadeWithFeather.hlsl index d57fe3370..9384d6732 100644 --- a/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyDoubleShadeWithFeather.hlsl +++ b/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyDoubleShadeWithFeather.hlsl @@ -35,11 +35,14 @@ void ToonShading( float specular = 0.5 * dot(halfDirection, lerp(vertexNormalWS, perturbedNormalWS, _Is_NormalMapToHighColor)) + 0.5; + + const float exp2High = _HighlightRimlightMath.x; + const float oneMinusHighPow5 = _HighlightRimlightMath.y; + //Specular - //[TODO-sin: 2026-1-27] We can cache lerp and pow results here + //[TODO-sin: 2026-2-27] We only use one channel from highlightMaskTex ? float tweakHighColorMask = saturate(highlightMaskTex.g + _Tweak_HighColorMaskLevel) - * lerp(1.0 - step(specular, 1.0 - pow(abs(_HighColor_Power), 5)), - pow(abs(specular), exp2(lerp(11, 1, _HighColor_Power))), _Is_SpecularToHighColor); + * lerp(1.0 - step(specular, oneMinusHighPow5), pow(abs(specular), exp2High), _Is_SpecularToHighColor); const float3 highColor = (lerp(highlightAlbedo, highlightAlbedo * lightColor, _Is_LightColor_HighColor) * tweakHighColorMask); @@ -227,7 +230,12 @@ void frag(VertexOutput i, out float4 finalRGBA : SV_Target0 float3 _Is_LightColor_RimLight_var = lerp(_RimLightColor.rgb, (_RimLightColor.rgb * lightColor), _Is_LightColor_RimLight); float _RimArea_var = abs(1.0 - dot(lerp(i.normalDir, normalDirection, _Is_NormalMapToRimLight), viewDirection)); - float _RimLightPower_var = pow(_RimArea_var, exp2(lerp(3, 0, _RimLight_Power))); + + const float exp2Rim = _HighlightRimlightMath.z; + const float exp2ApRim = _HighlightRimlightMath.w; + + + float _RimLightPower_var = pow(_RimArea_var, exp2Rim); float _Rimlight_InsideMask_var = saturate(lerp( (0.0 + ((_RimLightPower_var - _RimLight_InsideMask) * (1.0 - 0.0)) / (1.0 - _RimLight_InsideMask)), step(_RimLight_InsideMask, _RimLightPower_var), _RimLight_FeatherOff)); @@ -236,7 +244,7 @@ void frag(VertexOutput i, out float4 finalRGBA : SV_Target0 (_Is_LightColor_RimLight_var * saturate( (_Rimlight_InsideMask_var - ((1.0 - _VertHalfLambert_var) + _Tweak_LightDirection_MaskLevel)))), _LightDirection_MaskOn); - float _ApRimLightPower_var = pow(_RimArea_var, exp2(lerp(3, 0, _Ap_RimLight_Power))); + float _ApRimLightPower_var = pow(_RimArea_var, exp2ApRim); float3 Set_RimLight = (saturate((_Set_RimLightMask_var.g + _Tweak_RimLightMaskLevel)) * lerp( _LightDirection_MaskOn_var, (_LightDirection_MaskOn_var + ( diff --git a/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyShadingGradeMap.hlsl b/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyShadingGradeMap.hlsl index 0989fe4d6..732b400cc 100644 --- a/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyShadingGradeMap.hlsl +++ b/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBodyShadingGradeMap.hlsl @@ -45,10 +45,13 @@ void ToonShadingSG( float specular = 0.5 * dot(halfDirection, lerp(vertexNormalWS, perturbedNormalWS, _Is_NormalMapToHighColor)) + 0.5; + const float exp2High = _HighlightRimlightMath.x; + const float oneMinusHighPow5 = _HighlightRimlightMath.y; + // Specular - float tweakHighColorMask = (saturate((highlightMaskTex.g + _Tweak_HighColorMaskLevel)) * lerp( - (1.0 - step(specular, (1.0 - pow(abs(_HighColor_Power), 5)))), - pow(abs(specular), exp2(lerp(11, 1, _HighColor_Power))), _Is_SpecularToHighColor)); + //[TODO-sin: 2026-2-27] We only use one channel from highlightMaskTex ? + float tweakHighColorMask = saturate(highlightMaskTex.g + _Tweak_HighColorMaskLevel) + * lerp(1.0 - step(specular, oneMinusHighPow5),pow(abs(specular), exp2High), _Is_SpecularToHighColor); float3 highColor = (lerp(highlightAlbedo, highlightAlbedo * lightColor, _Is_LightColor_HighColor) * tweakHighColorMask); @@ -237,7 +240,11 @@ void frag(VertexOutput i, out float4 finalRGBA : SV_Target0 float3 _Is_LightColor_RimLight_var = lerp(_RimLightColor.rgb, (_RimLightColor.rgb * lightColor), _Is_LightColor_RimLight); float _RimArea_var = abs(1.0 - dot(lerp(i.normalDir, normalDirection, _Is_NormalMapToRimLight), viewDirection)); - float _RimLightPower_var = pow(_RimArea_var, exp2(lerp(3, 0, _RimLight_Power))); + + const float exp2Rim = _HighlightRimlightMath.z; + const float exp2ApRim = _HighlightRimlightMath.w; + + float _RimLightPower_var = pow(_RimArea_var, exp2Rim); float _Rimlight_InsideMask_var = saturate(lerp( (0.0 + ((_RimLightPower_var - _RimLight_InsideMask) * (1.0 - 0.0)) / (1.0 - _RimLight_InsideMask)), step(_RimLight_InsideMask, _RimLightPower_var), _RimLight_FeatherOff)); @@ -246,7 +253,7 @@ void frag(VertexOutput i, out float4 finalRGBA : SV_Target0 (_Is_LightColor_RimLight_var * saturate( (_Rimlight_InsideMask_var - ((1.0 - _VertHalfLambert_var) + _Tweak_LightDirection_MaskLevel)))), _LightDirection_MaskOn); - float _ApRimLightPower_var = pow(_RimArea_var, exp2(lerp(3, 0, _Ap_RimLight_Power))); + float _ApRimLightPower_var = pow(_RimArea_var, exp2ApRim); float3 Set_RimLight = (saturate((_Set_RimLightMask_var.g + _Tweak_RimLightMaskLevel)) * lerp( _LightDirection_MaskOn_var, (_LightDirection_MaskOn_var + ( diff --git a/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonInput.hlsl b/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonInput.hlsl index 6397ecc6d..5a3912df8 100644 --- a/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonInput.hlsl +++ b/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonInput.hlsl @@ -51,7 +51,8 @@ float4 _HighColor; float4 _HighColor_Tex_ST; fixed _Is_LightColor_HighColor; fixed _Is_NormalMapToHighColor; -float _HighColor_Power; + +float4 _HighlightRimlightMath; fixed _Is_SpecularToHighColor; fixed _Is_BlendAddToHiColor; @@ -65,7 +66,6 @@ fixed _RimLight; float4 _RimLightColor; fixed _Is_LightColor_RimLight; fixed _Is_NormalMapToRimLight; -float _RimLight_Power; float _RimLight_InsideMask; fixed _RimLight_FeatherOff; fixed _LightDirection_MaskOn; @@ -73,7 +73,6 @@ float _Tweak_LightDirection_MaskLevel; fixed _Add_Antipodean_RimLight; float4 _Ap_RimLightColor; fixed _Is_LightColor_Ap_RimLight; -float _Ap_RimLight_Power; fixed _Ap_RimLight_FeatherOff; float4 _Set_RimLightMask_ST; float _Tweak_RimLightMaskLevel; diff --git a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/White.mat b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/White.mat index 81a98d63f..5f933d07a 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/White.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/White.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: White m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 1 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 1 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 1, g: 1, b: 1, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Eyebrow_StencilMask.mat b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Eyebrow_StencilMask.mat index 6cce83db2..4803caf25 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Eyebrow_StencilMask.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Eyebrow_StencilMask.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Yu_Eyebrow_StencilMask m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -38,22 +46,54 @@ Material: m_Texture: {fileID: 2800000, guid: c59962ec9fc345d78a2a48a223ed1d4c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -62,6 +102,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: fb26f9a2d9f649398abd03d498857b2d, type: 3} m_Scale: {x: 1, y: 1} @@ -70,6 +118,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -86,6 +138,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -126,20 +182,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.083 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.083 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -148,18 +247,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 30 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -191,14 +326,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 10 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -209,18 +357,43 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 8 - _StencilMode: 2 - _StencilNo: 1 - _StencilOpFail: 2 - _StencilOpPass: 2 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _TessEdgeLength: 5 - _TessExtrusionAmount: 0 - _TessPhongStrength: 0.5 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -231,10 +404,17 @@ Material: - _Tweak_ShadingGradeMapLevel: -0.5 - _Tweak_SystemShadowsLevel: 0.125 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -245,14 +425,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.16176468, g: 0.16057524, b: 0.16057524, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face.mat b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face.mat index 352af5913..154d8dca6 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Yu_Face m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 6749471271cd480d86c2cc2804b61eeb, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.495 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.003 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.495 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 30 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 5 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.003 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 8, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5955882, g: 0.44669116, b: 0.44669116, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face2.mat b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face2.mat index 1b6b8cfca..ca22156dc 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face2.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/Yu_Face2.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Yu_Face2 m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 6749471271cd480d86c2cc2804b61eeb, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.713 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.713 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 30 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 0 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 1 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: 0.01 - _Offset_Y_Axis_BLD: -0.05 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0.02 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.255 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 8, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0, g: 0, b: 0, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_StencilOut.mat b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_StencilOut.mat index 4f069a425..21f0f3f34 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_StencilOut.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_StencilOut.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: hair_main_StencilOut m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_ON _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_ANGELRING_ON + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: [] m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -38,22 +46,54 @@ Material: m_Texture: {fileID: 2800000, guid: c59962ec9fc345d78a2a48a223ed1d4c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -62,6 +102,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: fb26f9a2d9f649398abd03d498857b2d, type: 3} m_Scale: {x: 1, y: 1} @@ -70,6 +118,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -86,6 +138,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -126,20 +182,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.179 - _1st_ShadeColor_Step: 0.213 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 1 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.213 - _BaseShade_Feather: 0.179 - _Base_Speed: 0 @@ -148,18 +247,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 30 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -191,14 +326,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 10 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -209,18 +357,43 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 6 - _StencilMode: 1 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _TessEdgeLength: 5 - _TessExtrusionAmount: 0 - _TessPhongStrength: 0.5 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -231,10 +404,17 @@ Material: - _Tweak_ShadingGradeMapLevel: -0.227 - _Tweak_SystemShadowsLevel: -0.052 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -245,14 +425,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 8, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.2647059, g: 0.21215399, b: 0.21215399, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_Zofs.mat b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_Zofs.mat index 97d349ded..03db68a8b 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_Zofs.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_main_Zofs.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: hair_main_Zofs m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_ON _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_ANGELRING_ON + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: [] m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -38,22 +46,54 @@ Material: m_Texture: {fileID: 2800000, guid: c59962ec9fc345d78a2a48a223ed1d4c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -62,6 +102,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: fb26f9a2d9f649398abd03d498857b2d, type: 3} m_Scale: {x: 1, y: 1} @@ -70,6 +118,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -86,6 +138,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -126,20 +182,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.019 - _1st_ShadeColor_Step: 0.052 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 1 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.052 - _BaseShade_Feather: 0.019 - _Base_Speed: 0 @@ -148,18 +247,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 30 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -191,14 +326,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0.12 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 10 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -209,18 +357,43 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _TessEdgeLength: 5 - _TessExtrusionAmount: 0 - _TessPhongStrength: 0.5 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -231,10 +404,17 @@ Material: - _Tweak_ShadingGradeMapLevel: -0.088 - _Tweak_SystemShadowsLevel: -0.02 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -245,14 +425,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.25, g: 0.23713236, b: 0.23713236, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_noHL.mat b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_noHL.mat index 4aa1c9c46..b814b4347 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_noHL.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/AngelRing/Materials/hair_noHL.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: hair_noHL m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -38,22 +46,54 @@ Material: m_Texture: {fileID: 2800000, guid: c59962ec9fc345d78a2a48a223ed1d4c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -62,6 +102,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: fb26f9a2d9f649398abd03d498857b2d, type: 3} m_Scale: {x: 1, y: 1} @@ -70,6 +118,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -86,6 +138,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -126,20 +182,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.083 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.083 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -148,18 +247,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 30 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -191,14 +326,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 10 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -209,18 +357,43 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _TessEdgeLength: 5 - _TessExtrusionAmount: 0 - _TessPhongStrength: 0.5 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -231,10 +404,17 @@ Material: - _Tweak_ShadingGradeMapLevel: -0.5 - _Tweak_SystemShadowsLevel: 0.125 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -245,14 +425,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.16176468, g: 0.16057524, b: 0.16057524, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Cube_HardEdge.mat b/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Cube_HardEdge.mat index 76ba5b0e3..001a9afd7 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Cube_HardEdge.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Cube_HardEdge.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Cube_HardEdge m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 2800000, guid: 41f4b2ae13a44b97915ab32682043168, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.332 - _1st_ShadeColor_Feather: 0.304 - _1st_ShadeColor_Step: 1 - _2nd_ShadeColor_Feather: 0.332 - _2nd_ShadeColor_Step: 0.907 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 1 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.592 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 1 - _BaseShade_Feather: 0.304 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 1 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 26.6 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.409 @@ -205,18 +353,43 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.907 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _TessEdgeLength: 2 - _TessExtrusionAmount: 0 - _TessPhongStrength: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -227,10 +400,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.205 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.5 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -241,14 +421,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.7488292, g: 0.97794116, b: 0.6759299, a: 1} - _2nd_ShadeColor: {r: 0, g: 0.6985294, b: 0.17824532, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 0.35172424, b: 0, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 0} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 0} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 3.417639, a: 2.3359346} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.0141509175, g: 0.86708456, b: 1, a: 0} - _RimLightColor: {r: 0.5661765, g: 0.5661765, b: 0.5661765, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Silinder_HardEdge.mat b/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Silinder_HardEdge.mat index 6ebb16328..428a0e4ef 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Silinder_HardEdge.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/Cube_HardEdge/Silinder_HardEdge.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_POS - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.332 - _1st_ShadeColor_Feather: 0.304 @@ -478,6 +479,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 3.417639, a: 2.3359346} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toonshader/Samples~/URP/Scenes/EmissiveAnimation/EmissiveAnimation.mat b/com.unity.toonshader/Samples~/URP/Scenes/EmissiveAnimation/EmissiveAnimation.mat index 53d18bacf..40cbc702f 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/EmissiveAnimation/EmissiveAnimation.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/EmissiveAnimation/EmissiveAnimation.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: EmissiveAnimation m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 2800000, guid: 6edc1832a79646349b03111bf588721d, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0 - _BaseShade_Feather: 0.0001 - _Base_Speed: 1 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 30 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,15 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 1 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -206,16 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 1 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -226,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 1 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -240,15 +418,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0, g: 0, b: 0, a: 1} - _2nd_ShadeColor: {r: 0, g: 0, b: 0, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0, g: 0, b: 0, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0, g: 0, b: 0, a: 1} - _ColorShift: {r: 0.021165151, g: 0.2830189, b: 0.0040049767, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0.9339623, g: 0.066082224, b: 0.066082224, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0, g: 0, b: 0, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0.03586687, g: 0.28104413, b: 0.5849056, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Blue_Clipping.mat b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Blue_Clipping.mat index b195cbf91..974d16d09 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Blue_Clipping.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Blue_Clipping.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Blue_Clipping m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: TransparentCutout disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 4186fe3b00c9450ab65ea7f7b2f9b0d1, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 2800000, guid: c2eb826453b648c698d0384a91182469, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.1 - _1st_ShadeColor_Step: 0.6 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.6 - _BaseShade_Feather: 0.1 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.02 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 2 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.547 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.14117648, g: 0.03137255, b: 0.65882355, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0, g: 0.42068958, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0, g: 0.42068955, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.14987022, g: 0.9264706, b: 0.21949644, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 1782.8878, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.74264705, g: 1, b: 0.9254564, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Flesh_Trans.mat b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Flesh_Trans.mat index 057e24b23..5b0c1de73 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Flesh_Trans.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Flesh_Trans.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Flesh_Trans m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_TRANSMODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_TRANSMODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: TransparentCutout disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: ce9d9b2a523a4a73ae82591f65b12b3c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 2800000, guid: c2eb826453b648c698d0384a91182469, type: 3} m_Scale: {x: 5, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.238 - _1st_ShadeColor_Feather: 0.067 - _1st_ShadeColor_Step: 0.474 - _2nd_ShadeColor_Feather: 0.238 - _2nd_ShadeColor_Step: 0.338 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.474 - _BaseShade_Feather: 0.067 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 2 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.5 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 5 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.3 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.338 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 8 - _StencilMode: 2 - _StencilNo: 1 - _StencilOpFail: 2 - _StencilOpPass: 2 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0.3 - _TweakMatCapOnShadow: 0.5 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: -0.122 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.5 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 0.67058825, b: 0.49411768, a: 1} - _2nd_ShadeColor: {r: 0.8078432, g: 0.37647063, b: 0.13725491, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 0.8196079, b: 0.72156864, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 0.8196079, b: 0.72156864, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.6691177, g: 0.5646104, b: 0.12791955, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 4.2870936, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.7058824, g: 0, b: 0.39607847, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Plane.mat b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Plane.mat index 6682f2769..f326ffc9f 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Plane.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Plane.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Plane m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_NO - _IS_TRANSCLIPPING_OFF _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_NO + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,30 +43,74 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -70,6 +123,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -102,20 +159,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.8 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.2 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.8 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -124,18 +224,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.1 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -167,14 +303,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -185,15 +334,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.2 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -204,10 +378,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _simpleUI: 0 - _utsTechnique: 1 @@ -217,14 +398,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.07785467, g: 0.44117647, b: 0.12524445, a: 1} - _2nd_ShadeColor: {r: 0.035683393, g: 0.24264705, b: 0.062388405, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.16863142, g: 0.61764705, b: 0.10899653, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.16863137, g: 0.61764705, b: 0.1089965, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.60294116, g: 1, b: 0.63853955, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 1024, g: 0.99999, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Quad_TransStencilOut.mat b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Quad_TransStencilOut.mat index dbda444ab..b6440e0a4 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Quad_TransStencilOut.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Quad_TransStencilOut.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Quad_TransStencilOut m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_TRANSMODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_TRANSMODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -20,6 +27,7 @@ Material: RenderType: TransparentCutout disabledShaderPasses: - SRPDEFAULTUNLIT + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -35,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: ce9d9b2a523a4a73ae82591f65b12b3c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -59,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -67,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -83,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -123,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.6 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.6 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -145,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 2 - _Clipping_Level: 0.938 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 1 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -188,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -206,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 6 - _StencilMode: 1 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -225,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: -0.017 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -239,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.41900954, g: 0.8363411, b: 0.9191176, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.63029844, g: 0.86777824, b: 0.9852941, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.63029844, g: 0.8677782, b: 0.98529404, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red.mat b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red.mat index 012c331e6..4d1d28860 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Red m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _MatCap _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF + - _MatCap m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 2800000, guid: c2eb826453b648c698d0384a91182469, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.284 - _1st_ShadeColor_Step: 0.6 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.6 - _BaseShade_Feather: 0.284 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.5 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 2 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -205,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.547 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.5 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.5808823, g: 0.03844074, b: 0.2067846, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 0, b: 0.68275833, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 0, b: 0.68275833, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.9044118, g: 0.6982591, b: 0.83901155, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red_Clipping.mat b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red_Clipping.mat index 80e202811..d2125a139 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red_Clipping.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/Red_Clipping.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Red_Clipping m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: TransparentCutout disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 4186fe3b00c9450ab65ea7f7b2f9b0d1, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 2800000, guid: c2eb826453b648c698d0384a91182469, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.1 - _1st_ShadeColor_Step: 0.6 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.6 - _BaseShade_Feather: 0.1 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.5 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 1 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 2 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 0.25 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.6117647, g: 0, b: 0, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 0, b: 0, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 0, b: 0, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.14901961, g: 0.9254902, b: 0.21568628, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 64, g: 0.96875, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 0.64705884, b: 0.9026369, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/ShadingGradeMap.mat b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/ShadingGradeMap.mat index 5e73cdffc..712a2c444 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/KageBall/ShadingGradeMap.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/KageBall/ShadingGradeMap.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ShadingGradeMap m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 2800000, guid: c2eb826453b648c698d0384a91182469, type: 3} m_Scale: {x: 50, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.293 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.185 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.293 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.631 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 5 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.043 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 0 - _ShadeColor_Step: 0.185 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0, g: 0.3577586, b: 0.6102941, a: 1} - _2nd_ShadeColor: {r: 0, g: 0.08696758, b: 0.25735295, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0, g: 0.8758621, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0, g: 0.8758621, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.7647059, g: 0.93184584, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 25.812538, g: 0.89996624, b: 7.315721, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.21323532, g: 0.21323532, b: 0.21323532, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2(Universal).mat b/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2(Universal).mat index 697c224a0..139707f2f 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2(Universal).mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2(Universal).mat @@ -2,18 +2,35 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Grey_UTS2(Universal) m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _INVERSE_Z_AXIS_BLD_ON _IS_ANGELRING_OFF _IS_BLENDADDTOHICOLOR_ON - _IS_BLENDADDTOMATCAP_ON _IS_BLENDBASECOLOR_ON _IS_LIGHTCOLOR_1ST_SHADE_ON _IS_LIGHTCOLOR_2ND_SHADE_ON - _IS_LIGHTCOLOR_AP_RIMLIGHT_ON _IS_LIGHTCOLOR_BASE_ON _IS_LIGHTCOLOR_HIGHCOLOR_ON - _IS_LIGHTCOLOR_MATCAP_ON _IS_LIGHTCOLOR_RIMLIGHT_ON _IS_OUTLINE_CLIPPING_NO _IS_TRANSCLIPPING_OFF - _OUTLINE_NML _SET_SYSTEMSHADOWSTOBASE_ON _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_NO + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _INVERSE_Z_AXIS_BLD_ON + - _IS_ANGELRING_OFF + - _IS_BLENDADDTOHICOLOR_ON + - _IS_BLENDADDTOMATCAP_ON + - _IS_BLENDBASECOLOR_ON + - _IS_LIGHTCOLOR_1ST_SHADE_ON + - _IS_LIGHTCOLOR_2ND_SHADE_ON + - _IS_LIGHTCOLOR_AP_RIMLIGHT_ON + - _IS_LIGHTCOLOR_BASE_ON + - _IS_LIGHTCOLOR_HIGHCOLOR_ON + - _IS_LIGHTCOLOR_MATCAP_ON + - _IS_LIGHTCOLOR_RIMLIGHT_ON + - _SET_SYSTEMSHADOWSTOBASE_ON m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -22,6 +39,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -37,22 +55,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -61,6 +111,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -69,6 +127,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -85,6 +147,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -125,20 +191,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.8 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.5 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.124 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.8 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -147,18 +256,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.35 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -190,14 +335,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 3.29 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -208,15 +366,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.5 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0.136 @@ -227,10 +410,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -241,14 +431,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.6691177, g: 0.6691177, b: 0.6691177, a: 1} - _2nd_ShadeColor: {r: 0.375, g: 0.375, b: 0.375, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.8, g: 0.8, b: 0.8, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 181.01933, g: 0.9947478, b: 8, a: 6.1816845} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2_GI_Intensity(Universal).mat b/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2_GI_Intensity(Universal).mat index e93d0b696..13def7572 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2_GI_Intensity(Universal).mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/LightAndShadows/Grey_UTS2_GI_Intensity(Universal).mat @@ -2,18 +2,34 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Grey_UTS2_GI_Intensity(Universal) m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _INVERSE_Z_AXIS_BLD_ON _IS_ANGELRING_OFF _IS_BLENDADDTOHICOLOR_ON - _IS_BLENDADDTOMATCAP_ON _IS_BLENDBASECOLOR_ON _IS_LIGHTCOLOR_1ST_SHADE_ON _IS_LIGHTCOLOR_2ND_SHADE_ON - _IS_LIGHTCOLOR_AP_RIMLIGHT_ON _IS_LIGHTCOLOR_BASE_ON _IS_LIGHTCOLOR_HIGHCOLOR_ON - _IS_LIGHTCOLOR_MATCAP_ON _IS_LIGHTCOLOR_RIMLIGHT_ON _IS_TRANSCLIPPING_OFF _OUTLINE_NML - _SET_SYSTEMSHADOWSTOBASE_ON _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _INVERSE_Z_AXIS_BLD_ON + - _IS_ANGELRING_OFF + - _IS_BLENDADDTOHICOLOR_ON + - _IS_BLENDADDTOMATCAP_ON + - _IS_BLENDBASECOLOR_ON + - _IS_LIGHTCOLOR_1ST_SHADE_ON + - _IS_LIGHTCOLOR_2ND_SHADE_ON + - _IS_LIGHTCOLOR_AP_RIMLIGHT_ON + - _IS_LIGHTCOLOR_BASE_ON + - _IS_LIGHTCOLOR_HIGHCOLOR_ON + - _IS_LIGHTCOLOR_MATCAP_ON + - _IS_LIGHTCOLOR_RIMLIGHT_ON + - _SET_SYSTEMSHADOWSTOBASE_ON m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -22,6 +38,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -37,22 +54,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -61,6 +110,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -69,6 +126,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -85,6 +146,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -125,20 +190,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.8 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.5 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.124 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.8 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -147,18 +255,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 1 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.35 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -190,15 +334,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 3.29 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -209,16 +365,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.5 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0.136 @@ -229,10 +409,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.01 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -243,15 +430,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.6691177, g: 0.6691177, b: 0.6691177, a: 1} - _2nd_ShadeColor: {r: 0.375, g: 0.375, b: 0.375, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.8, g: 0.8, b: 0.8, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 1, g: 1, b: 1, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 181.01933, g: 0.9947478, b: 8, a: 6.1816845} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/MatCapMask/MatCapMask.mat b/com.unity.toonshader/Samples~/URP/Scenes/MatCapMask/MatCapMask.mat index 1faab5874..721000662 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/MatCapMask/MatCapMask.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/MatCapMask/MatCapMask.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML m_InvalidKeywords: + - _IS_ANGELRING_OFF - _MatCap m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -207,7 +207,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 @@ -479,6 +480,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.12018816, g: 0.1865423, b: 0.8602941, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 18.76536, g: 0.8577857, b: 1.7605181, a: 1.3379275} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.6838235, g: 0.571818, b: 0.20615268, a: 1} diff --git a/com.unity.toonshader/Samples~/URP/Scenes/Mirror/Materials/MatCapMask_Mirror.mat b/com.unity.toonshader/Samples~/URP/Scenes/Mirror/Materials/MatCapMask_Mirror.mat index 0bb3034f2..3596b168c 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/Mirror/Materials/MatCapMask_Mirror.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/Mirror/Materials/MatCapMask_Mirror.mat @@ -2,20 +2,42 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: MatCapMask_Mirror m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _ADD_ANTIPODEAN_RIMLIGHT_ON _CAMERAROLLING_STABILIZER_ON _CAMERAROTATION_STABILIZER_ON - _EMISSIVE_SIMPLE _INVERSE_Z_AXIS_BLD_ON _IS_ANGELRING_OFF _IS_BLENDADDTOMATCAP_ON - _IS_CLIPPING_OFF _IS_FILTER_HICUTPOINTLIGHTCOLOR_ON _IS_LIGHTCOLOR_1ST_SHADE_ON - _IS_LIGHTCOLOR_2ND_SHADE_ON _IS_LIGHTCOLOR_AP_RIMLIGHT_ON _IS_LIGHTCOLOR_AR_ON - _IS_LIGHTCOLOR_BASE_ON _IS_LIGHTCOLOR_HIGHCOLOR_ON _IS_LIGHTCOLOR_MATCAP_ON _IS_LIGHTCOLOR_RIMLIGHT_ON - _IS_OUTLINE_CLIPPING_NO _IS_SPECULARTOHIGHCOLOR_ON _KANIMATCAP_ON _LIGHTDIRECTION_MASKON_ON - _MATCAP_ON _MatCap _OUTLINE_NML _RIMLIGHT_ON + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _ADD_ANTIPODEAN_RIMLIGHT_ON + - _CAMERAROLLING_STABILIZER_ON + - _CAMERAROTATION_STABILIZER_ON + - _INVERSE_Z_AXIS_BLD_ON + - _IS_ANGELRING_OFF + - _IS_BLENDADDTOMATCAP_ON + - _IS_FILTER_HICUTPOINTLIGHTCOLOR_ON + - _IS_LIGHTCOLOR_1ST_SHADE_ON + - _IS_LIGHTCOLOR_2ND_SHADE_ON + - _IS_LIGHTCOLOR_AP_RIMLIGHT_ON + - _IS_LIGHTCOLOR_AR_ON + - _IS_LIGHTCOLOR_BASE_ON + - _IS_LIGHTCOLOR_HIGHCOLOR_ON + - _IS_LIGHTCOLOR_MATCAP_ON + - _IS_LIGHTCOLOR_RIMLIGHT_ON + - _IS_SPECULARTOHIGHCOLOR_ON + - _KANIMATCAP_ON + - _LIGHTDIRECTION_MASKON_ON + - _MATCAP_ON + - _MatCap + - _RIMLIGHT_ON m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -24,6 +46,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -39,30 +62,74 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: c72bd5543bce4674929b05c755faa026, type: 3} m_Scale: {x: 1, y: 1.09} @@ -75,6 +142,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -107,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.8 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.56 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 1 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.86 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.8 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -130,19 +244,55 @@ Material: - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 1 - _CameraRotation_Stabilizer: 1 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorBoost: 1 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.677 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_1st_ShadeColorOnly: 0 - _Is_BLD: 0 @@ -175,16 +325,29 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _LodLevelMatcap: 0 - _LodLevelSGM: 0 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: 0.072 - _Offset_Y_Axis_BLD: 0.185 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 12 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.728 @@ -195,15 +358,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 0 - _ShadeColor_Step: 0.56 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.266 - _Tweak_HighColorMaskLevel: 0 @@ -214,10 +402,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _simpleUI: 0 - _use_ShadowMaskAsMatcapMask: 0 @@ -228,14 +423,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.50735295, g: 0.50735295, b: 0.50735295, a: 1} - _2nd_ShadeColor: {r: 0.3455882, g: 0.3455882, b: 0.3455882, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 0.10899655, g: 0.55742764, b: 0.8235294, a: 1} - _BaseColor: {r: 0.71323526, g: 0.71323526, b: 0.71323526, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.71323526, g: 0.71323526, b: 0.71323526, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.12018816, g: 0.1865423, b: 0.8602941, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 18.76536, g: 0.8577857, b: 1.7605181, a: 1.3379275} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.6838235, g: 0.571818, b: 0.20615268, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.9558824, g: 0.06325693, b: 0.70964074, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/NormalMap/NromalMap_UST2.mat b/com.unity.toonshader/Samples~/URP/Scenes/NormalMap/NromalMap_UST2.mat index 1b23186d1..2eb772ff0 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/NormalMap/NromalMap_UST2.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/NormalMap/NromalMap_UST2.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: NromalMap_UST2 m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_NO - _IS_TRANSCLIPPING_OFF _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_NO + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.8 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.5 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.8 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.881 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -205,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.5 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.36764705, g: 0.36764705, b: 0.36764705, a: 1} - _2nd_ShadeColor: {r: 0.16981131, g: 0.16981131, b: 0.16981131, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.5019608, g: 0.5019608, b: 0.5019608, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.5019608, g: 0.5019608, b: 0.5019608, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.6079566, g: 0.6109654, b: 0.6226415, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 4.563055, g: 0.46926284, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.57992166, g: 0.61403507, b: 0.6792453, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/DoubleShadeWithFeather.mat b/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/DoubleShadeWithFeather.mat index 7a096fcaf..3b5bff725 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/DoubleShadeWithFeather.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/DoubleShadeWithFeather.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: DoubleShadeWithFeather m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,14 +42,26 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BumpMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -50,14 +70,34 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _EmissionMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +106,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -74,6 +122,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -94,6 +146,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OcclusionMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -142,21 +198,64 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.9 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.7 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 - _AlphaClip: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.9 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -166,24 +265,59 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _Cull: 2 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _EnvironmentReflections: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 - _GlossMapScale: 0 - _Glossiness: 0 - _GlossyReflections: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -215,18 +349,30 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _OcclusionStrength: 1 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _QueueOffset: 0 - _ReceiveShadows: 1 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -237,23 +383,46 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.7 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 - _SmoothnessTextureChannel: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 - _SpecularHighlights: 1 + - _SpecularOcclusionMode: 1 - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _Surface: 0 - _TessEdgeLength: 5 - _TessExtrusionAmount: 0 - _TessPhongStrength: 0.5 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -264,11 +433,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _WorkflowMode: 1 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 @@ -280,16 +455,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.77205884, g: 0.8061203, b: 0.8061203, a: 1} - _2nd_ShadeColor: {r: 0.4705882, g: 0.4705882, b: 0.4705882, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/ShadingGradeMap.mat b/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/ShadingGradeMap.mat index 2a8283952..3a67674a4 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/ShadingGradeMap.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/PointLightTest/ShadingGradeMap.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ShadingGradeMap m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_NO - _IS_TRANSCLIPPING_OFF _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_NO + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.9 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0.7 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.9 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -205,18 +354,43 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.7 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 - _TessEdgeLength: 5 - _TessExtrusionAmount: 0 - _TessPhongStrength: 0.5 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -227,10 +401,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -241,14 +422,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.77205884, g: 0.8061203, b: 0.8061203, a: 1} - _2nd_ShadeColor: {r: 0.4705882, g: 0.4705882, b: 0.4705882, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald.mat b/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald.mat index a2d8e69c6..284aac25b 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Emerald m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_YES - _IS_TRANSCLIPPING_ON _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_YES + - _IS_TRANSCLIPPING_ON + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: true RenderType: Transparent disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 0359a95aafd14f3d9310011009dce062, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.023 - _1st_ShadeColor_Feather: 0.065 - _1st_ShadeColor_Step: 0.5 - _2nd_ShadeColor_Feather: 0.023 - _2nd_ShadeColor_Step: 0.003 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 1 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.695 - _AutoRenderQueue: 0 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.5 - _BaseShade_Feather: 0.065 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.3 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,15 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 10 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.093 - _RimLight_Power: 0.619 @@ -206,16 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 2 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.003 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 1 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -226,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.136 - _Tweak_transparency: -0.459 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 1 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 0 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -240,15 +419,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.0070285536, g: 0.68104213, b: 0.9558824, a: 1} - _2nd_ShadeColor: {r: 0.63170415, g: 0.9338235, b: 0.8963189, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 0.7205882, g: 1, b: 0.79188627, a: 1} - _BaseColor: {r: 0.029411793, g: 1, b: 0.75902647, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.029411793, g: 1, b: 0.75902647, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.39549094, g: 0.8574341, b: 0.97794116, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 256, g: 0.99757, b: 2.2083976, a: 1.8855691} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.7004717, g: 0.9339623, b: 0.897696, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.9485294, g: 0.98722106, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald_Inside.mat b/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald_Inside.mat index ac7d820b0..3a34b2906 100644 --- a/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald_Inside.mat +++ b/com.unity.toonshader/Samples~/URP/Scenes/ShaderBall/Emerald_Inside.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Emerald_Inside m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_YES - _IS_TRANSCLIPPING_ON _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_YES + - _IS_TRANSCLIPPING_ON + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: true RenderType: Transparent disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 0359a95aafd14f3d9310011009dce062, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.023 - _1st_ShadeColor_Feather: 0.065 - _1st_ShadeColor_Step: 0.5 - _2nd_ShadeColor_Feather: 0.023 - _2nd_ShadeColor_Step: 0.003 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 1 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.695 - _AutoRenderQueue: 0 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.5 - _BaseShade_Feather: 0.065 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.3 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.093 - _RimLight_Power: 0.619 @@ -205,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 2 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.003 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 1 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.167 - _Tweak_transparency: -0.459 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 1 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 0 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.0070285536, g: 0.68104213, b: 0.9558824, a: 1} - _2nd_ShadeColor: {r: 0.63170415, g: 0.9338235, b: 0.8963189, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 0.7205882, g: 1, b: 0.79188627, a: 1} - _BaseColor: {r: 0.029411793, g: 1, b: 0.75902647, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.029411793, g: 1, b: 0.75902647, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.39549094, g: 0.8574341, b: 0.97794116, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 256, g: 0.99757, b: 2.2083976, a: 1.8855691} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.88235295, g: 0.88235295, b: 0.88235295, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.9485294, g: 0.98722106, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Stage.mat b/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Stage.mat index b2835c1d5..df98973c6 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Stage.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Stage.mat @@ -14,12 +14,12 @@ Material: m_ValidKeywords: - _ALPHATEST_ON - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_TRANSMODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML m_InvalidKeywords: - _EMISSION + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -220,7 +220,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.25 - _1st_ShadeColor_Feather: 0.25 @@ -502,6 +503,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Target.mat b/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Target.mat index 8e8a3d412..7b2f2a6bd 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Target.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/Common/Runtime/Materials/Target.mat @@ -13,12 +13,12 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML m_InvalidKeywords: - _EMISSION + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -219,7 +219,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.448 - _1st_ShadeColor_Feather: 0.458 @@ -501,6 +502,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.498019, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face.mat index ae2f018af..b611143d4 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: CellTouch_ToonShader_Face m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.328 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.328 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.315 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 0 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 1 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.07 - _Offset_Y_Axis_BLD: -0.03 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 4.16 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.092 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: -0.089 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: -0.185 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 0.9858491, b: 0.9858491, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 0.9858491, b: 0.9858491, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.25735295, g: 0.0758225, b: 0.054876737, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 230.72011, g: 0.99689865, b: 6.6070213, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0, g: 0, b: 0, a: 1} - _RimLightColor: {r: 0.875, g: 0.7859914, b: 0.49540442, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face_Firefly.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face_Firefly.mat index b84c3e725..39e89c011 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face_Firefly.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Face_Firefly.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: CellTouch_ToonShader_Face_Firefly m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_NO _IS_TRANSCLIPPING_OFF - _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_NO + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.429 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.429 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 0 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,15 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: 0.09 - _Offset_Y_Axis_BLD: -0.05 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 4.16 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.092 @@ -206,16 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0.11 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -226,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: -0.164 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -240,15 +419,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.8, g: 0.67058825, b: 0.7882353, a: 1} - _2nd_ShadeColor: {r: 0.8, g: 0.67058825, b: 0.7882353, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 6.6070213, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0, g: 0, b: 0, a: 1} - _RimLightColor: {r: 0.875, g: 0.7859914, b: 0.49540442, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair2_StencilOut.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair2_StencilOut.mat index 563cf51d0..ac29256d2 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair2_StencilOut.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair2_StencilOut.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_POS - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.03 @@ -478,6 +479,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 2.4708374, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} @@ -496,3 +498,4 @@ Material: - _ViewShift: {r: 0, g: 0, b: 0, a: 1} - emissive: {r: 0, g: 0, b: 0, a: 1} m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair_StencilOut.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair_StencilOut.mat index b4f59d720..b39845a9b 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair_StencilOut.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Fhair_StencilOut.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -206,7 +206,8 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.133 @@ -478,6 +479,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 2.4708374, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} @@ -496,3 +498,4 @@ Material: - _ViewShift: {r: 0, g: 0, b: 0, a: 1} - emissive: {r: 0, g: 0, b: 0, a: 1} m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping.mat index 4575377f2..2028e215a 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: CellTouch_ToonShader_Hair_Clipping m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: TransparentCutout disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,30 +42,74 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 43b9b5ee0d64457da6c77c0706d8ec63, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 2, y: 4} @@ -70,6 +122,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 50, y: 0.001} m_Offset: {x: 0, y: 0.5} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -102,20 +158,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.006 - _1st_ShadeColor_Step: 0.67 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.67 - _BaseShade_Feather: 0.006 - _Base_Speed: 0 @@ -124,18 +223,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 1 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -167,14 +302,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0.38 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 5.4 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.472 @@ -185,15 +333,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.13 - _Tweak_HighColorMaskLevel: 0 @@ -204,10 +377,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.17 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _simpleUI: 0 - _utsTechnique: 0 @@ -217,14 +397,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.8602941, g: 0.664852, b: 0.45544982, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 2.9979992, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.09558821, g: 0.09558821, b: 0.09558821, a: 1} - _RimLightColor: {r: 0.31617647, g: 0.1962154, b: 0.016273785, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping_Firefly.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping_Firefly.mat index ec48a5721..5bfee3644 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping_Firefly.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Hair_Clipping_Firefly.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: CellTouch_ToonShader_Hair_Clipping_Firefly m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_NO - _IS_TRANSCLIPPING_OFF _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_NO + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 43b9b5ee0d64457da6c77c0706d8ec63, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 2, y: 4} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 50, y: 0.001} m_Offset: {x: 0, y: 0.5} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.673 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.673 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 1 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,15 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0.38 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 5.4 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.472 @@ -206,16 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0.168 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.13 - _Tweak_HighColorMaskLevel: 0 @@ -226,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.021 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -240,15 +419,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.8602941, g: 0.664852, b: 0.45544982, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 2.9979992, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.09558821, g: 0.09558821, b: 0.09558821, a: 1} - _RimLightColor: {r: 0.31617647, g: 0.1962154, b: 0.016273785, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Head_Clipping.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Head_Clipping.mat index 44251bd7c..67cec9a6b 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Head_Clipping.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Head_Clipping.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_MODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -479,6 +479,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.58823526, g: 0.58823526, b: 0.58823526, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 897.64453, g: 0.99997616, b: 2.2973967, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main.mat index 7b7e695b9..e82ed04dc 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: CellTouch_ToonShader_Main m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.006 - _1st_ShadeColor_Step: 0.758 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.758 - _BaseShade_Feather: 0.006 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0.76 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 2.79 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.584 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0.158 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.098 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.74740475, g: 0.69420415, b: 0.88235295, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 2.3751194, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.1397059, g: 0.13867864, b: 0.13867864, a: 1} - _RimLightColor: {r: 0.18401209, g: 0.16608995, b: 0.4705882, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main_Firefly.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main_Firefly.mat index 37c3af255..ce642e253 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main_Firefly.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/CellTouch_ToonShader_Main_Firefly.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: CellTouch_ToonShader_Main_Firefly m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_OUTLINE_CLIPPING_NO _IS_TRANSCLIPPING_OFF - _OUTLINE_NML _SHADINGGRADEMAP + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_OUTLINE_CLIPPING_NO + - _IS_TRANSCLIPPING_OFF + - _OUTLINE_NML + - _SHADINGGRADEMAP + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.703 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.703 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 0 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,15 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: 0 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0.76 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 2.79 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.584 @@ -206,16 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0.106 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -226,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0.05 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -240,15 +419,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.8, g: 0.67058825, b: 0.7892329, a: 1} - _2nd_ShadeColor: {r: 0.8, g: 0.67058825, b: 0.7882353, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 2.3751194, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.1397059, g: 0.13867864, b: 0.13867864, a: 1} - _RimLightColor: {r: 0.18401209, g: 0.16608995, b: 0.4705882, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/Emissive_UTS2.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/Emissive_UTS2.mat index 63bd728ad..a8793fe4e 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/Emissive_UTS2.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/Emissive_UTS2.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Emissive_UTS2 m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 1 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.15 - _1st_ShadeColor_Feather: 0.178 - _1st_ShadeColor_Step: 0.753 - _2nd_ShadeColor_Feather: 0.15 - _2nd_ShadeColor_Step: 0.527 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.753 - _BaseShade_Feather: 0.178 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.434 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.1 @@ -205,16 +353,41 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.527 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 - _TransParnetEnabled: 0 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -225,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -239,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0, g: 0, b: 0, a: 1} - _2nd_ShadeColor: {r: 0, g: 0, b: 0, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0, g: 0, b: 0, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0, g: 0, b: 0, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 2.270603, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.38679248, g: 0.37767002, b: 0.37767002, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 101.12531, g: 0.9846026, b: 6.498019, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 1, g: 1, b: 1, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask.mat index 4720574f6..bd563465f 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Eye_Clipping_StencilMask m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: TransparentCutout disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: ed64082591f745c6907a179d4744a6a4, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0 - _1st_ShadeColor_Feather: 0.629 - _1st_ShadeColor_Step: 0.393 - _2nd_ShadeColor_Feather: 0 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.393 - _BaseShade_Feather: 0.629 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 1 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: 0.1 - _Offset_Y_Axis_BLD: -0.12 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 8 - _StencilMode: 2 - _StencilNo: 1 - _StencilOpFail: 2 - _StencilOpPass: 2 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -239,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.43382353, g: 0.43382353, b: 0.43382353, a: 1} - _2nd_ShadeColor: {r: 1, g: 1, b: 1, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 8, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0, g: 0, b: 0, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_ABN.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_ABN.mat index fbeb118f6..4248a9809 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_ABN.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_ABN.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Eye_Clipping_StencilMask_ABN m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -20,6 +27,7 @@ Material: RenderType: TransparentCutout disabledShaderPasses: - SRPDEFAULTUNLIT + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -35,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: ed64082591f745c6907a179d4744a6a4, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -59,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -67,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -83,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -123,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.505 - _2nd_ShadeColor_Feather: 0 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.505 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -145,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -188,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -206,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 8 - _StencilMode: 2 - _StencilNo: 1 - _StencilOpFail: 2 - _StencilOpPass: 2 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -225,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -239,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} - _2nd_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.64705884, g: 0.64705884, b: 0.64705884, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.64705884, g: 0.64705884, b: 0.64705884, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 8, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0, g: 0, b: 0, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_Firefly.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_Firefly.mat index 276594bb9..e2db874a3 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_Firefly.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eye_Clipping_StencilMask_Firefly.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Eye_Clipping_StencilMask_Firefly m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -20,6 +27,7 @@ Material: RenderType: TransparentCutout disabledShaderPasses: - SRPDEFAULTUNLIT + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -35,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: ed64082591f745c6907a179d4744a6a4, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -59,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -67,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -83,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -123,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.23 - _1st_ShadeColor_Step: 0.757 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.757 - _BaseShade_Feather: 0.23 - _Base_Speed: 0 @@ -145,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.799 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -188,15 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: 0.1 - _Offset_Y_Axis_BLD: -0.12 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0 @@ -207,16 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 8 - _StencilMode: 2 - _StencilNo: 1 - _StencilOpFail: 2 - _StencilOpPass: 2 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -227,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 0 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -241,15 +419,38 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0, g: 0, b: 0, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.62283736, g: 0.9411765, b: 0.8489679, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 8.055643, g: 0.67436284, b: 8, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.14230102, g: 0.41176468, b: 0.31141266, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0, g: 0, b: 0, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} - _SpecColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask.mat index 8218b20d7..ad734ee20 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Eyebrow_StencilMask m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -20,6 +27,7 @@ Material: RenderType: TransparentCutout disabledShaderPasses: - SRPDEFAULTUNLIT + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -35,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 44481ec970664e6da3b426c3817a4872, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -59,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -67,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -83,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -123,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.08 - _1st_ShadeColor_Step: 0.507 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.507 - _BaseShade_Feather: 0.08 - _Base_Speed: 0 @@ -145,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.315 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -188,15 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.092 @@ -207,16 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 8 - _StencilMode: 2 - _StencilNo: 1 - _StencilOpFail: 2 - _StencilOpPass: 2 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -227,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -241,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.5514706, g: 0.1515704, b: 0.10542817, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 230.72011, g: 0.99689865, b: 6.6070213, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.875, g: 0.7859914, b: 0.49540442, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask_ABN.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask_ABN.mat index 66b16883f..f01b3906d 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask_ABN.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Eyebrow_StencilMask_ABN.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Eyebrow_StencilMask_ABN m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -20,6 +27,7 @@ Material: RenderType: TransparentCutout disabledShaderPasses: - SRPDEFAULTUNLIT + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -35,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 44481ec970664e6da3b426c3817a4872, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -59,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -67,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -83,6 +135,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -123,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.515 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.515 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -145,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 100 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.315 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -188,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 0 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 0 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.092 @@ -206,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 8 - _StencilMode: 2 - _StencilNo: 1 - _StencilOpFail: 2 - _StencilOpPass: 2 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -225,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -239,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} - _2nd_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.46323532, g: 0.46323532, b: 0.46323532, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.46323526, g: 0.46323526, b: 0.46323526, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 230.72011, g: 0.99689865, b: 6.6070213, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.875, g: 0.7859914, b: 0.49540442, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face.mat index 1355c5ae4..2d89003f1 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_OFF - _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -453,6 +453,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.5514706, g: 0.1515704, b: 0.10542817, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 230.72011, g: 0.99689865, b: 6.6070213, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face_ABN.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face_ABN.mat index 5960304b3..a2a4727c6 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face_ABN.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Face_ABN.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Face_ABN m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.5 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 1 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.5 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 2.27 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.282 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 1 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0.114 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: -0.068 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} - _2nd_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.69803923, g: 0.69803923, b: 0.69803923, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.69803923, g: 0.69803923, b: 0.69803923, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 4.4506006, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0, g: 0, b: 0, a: 1} - _RimLightColor: {r: 0.028546706, g: 0.05059651, b: 0.48529404, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair2.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair2.mat index b1b92bf65..2dc35220c 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair2.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair2.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Fhair2 m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _MatCap _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF + - _MatCap m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 2800000, guid: 4d5f496ed8734de8a88d3cab428ef0e0, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 2800000, guid: cf16f24e4875445784ff0bf05da66288, type: 3} m_Scale: {x: 50, y: 0.001} m_Offset: {x: 0, y: 0.5} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.236 - _1st_ShadeColor_Feather: 0.062 - _1st_ShadeColor_Step: 0.801 - _2nd_ShadeColor_Feather: 0.236 - _2nd_ShadeColor_Step: 0.727 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.801 - _BaseShade_Feather: 0.062 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 1 @@ -187,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 4.4 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.32 @@ -205,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.727 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 6 - _StencilMode: 1 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.5 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 2 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.8602941, g: 0.664852, b: 0.45544982, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 4.1124554, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.32352942, g: 0.32352942, b: 0.32352942, a: 1} - _RimLightColor: {r: 0.6102941, g: 0.5145411, b: 0.20193556, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut.mat index c44a48aa7..cf677df1e 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Fhair_StencilOut m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _MatCap _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF + - _MatCap m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 2800000, guid: cf16f24e4875445784ff0bf05da66288, type: 3} m_Scale: {x: 50, y: 0.001} m_Offset: {x: 0, y: 0.5} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.236 - _1st_ShadeColor_Feather: 0.062 - _1st_ShadeColor_Step: 0.801 - _2nd_ShadeColor_Feather: 0.236 - _2nd_ShadeColor_Step: 0.727 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.801 - _BaseShade_Feather: 0.062 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 2.92 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.32 @@ -205,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.727 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 6 - _StencilMode: 1 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.5 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 2 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.8602941, g: 0.664852, b: 0.45544982, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 4.1124554, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.32352942, g: 0.32352942, b: 0.32352942, a: 1} - _RimLightColor: {r: 0.6102941, g: 0.5145411, b: 0.20193556, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut_ABN.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut_ABN.mat index cdce71163..2c2bb30c4 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut_ABN.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Fhair_StencilOut_ABN.mat @@ -2,15 +2,23 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Fhair_StencilOut_ABN m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _MatCap _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF + - _MatCap m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +27,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +43,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +99,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +115,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +135,10 @@ Material: m_Texture: {fileID: 2800000, guid: cf16f24e4875445784ff0bf05da66288, type: 3} m_Scale: {x: 50, y: 0.001} m_Offset: {x: 0, y: 0.5} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +179,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.526 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.526 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +244,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +323,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 5 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.32 @@ -205,15 +354,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 6 - _StencilMode: 1 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.3 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +398,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} - _2nd_ShadeColor: {r: 0, g: 0, b: 0, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.43382353, g: 0.43382353, b: 0.43382353, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.4338235, g: 0.4338235, b: 0.4338235, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 4.1124554, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0, g: 0.105882354, b: 0.41960785, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0, g: 0, b: 0, a: 1} - _RimLightColor: {r: 0.10980392, g: 0.09411765, b: 0.5294118, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Hair_Clipping.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Hair_Clipping.mat index b69c6412c..62451dd6b 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Hair_Clipping.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Hair_Clipping.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Hair_Clipping m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_POS + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_POS + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: TransparentCutout disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 43b9b5ee0d64457da6c77c0706d8ec63, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 2800000, guid: 3b42f7c9d35a4b88a533f72baf2a89ce, type: 3} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 2800000, guid: cf16f24e4875445784ff0bf05da66288, type: 3} m_Scale: {x: 50, y: 0.001} m_Offset: {x: 0, y: 0.5} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.064 - _1st_ShadeColor_Feather: 0.13 - _1st_ShadeColor_Step: 0.815 - _2nd_ShadeColor_Feather: 0.064 - _2nd_ShadeColor_Step: 0.722 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.815 - _BaseShade_Feather: 0.13 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 1 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 1 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 1 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0.79 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 4.3 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.32 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.722 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0.5 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 2 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 1 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.8602941, g: 0.664852, b: 0.45544982, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 4.1124554, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.4044118, g: 0.4044118, b: 0.4044118, a: 1} - _RimLightColor: {r: 0.6102941, g: 0.5145411, b: 0.20193556, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping.mat index 6283c9056..12225cfb8 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Head_Clipping m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_MODE _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_MODE + - _IS_OUTLINE_CLIPPING_YES + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: TransparentCutout disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,30 +42,74 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 2800000, guid: b95095d8a45e3954ab4b7970788738c4, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 43b9b5ee0d64457da6c77c0706d8ec63, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -70,6 +122,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 5, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -102,20 +158,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.064 - _1st_ShadeColor_Feather: 0.13 - _1st_ShadeColor_Step: 0.815 - _2nd_ShadeColor_Feather: 0.064 - _2nd_ShadeColor_Step: 0.722 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.815 - _BaseShade_Feather: 0.13 - _Base_Speed: 0 @@ -124,18 +223,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 1 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.2 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -167,14 +302,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 1 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.6 @@ -185,15 +333,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0.722 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -204,10 +377,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 2 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _simpleUI: 0 - _utsTechnique: 0 @@ -217,14 +397,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.6691177, g: 0.4767294, b: 0.2705991, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.4705882, g: 0.4705882, b: 0.4705882, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 512, g: 0.99968, b: 2.2973967, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.30147058, g: 0.30147058, b: 0.30147058, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _RimLightColor: {r: 0.6911765, g: 0.43110907, b: 0.15246537, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_ABN.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_ABN.mat index 4246c6b15..4178d1f60 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_ABN.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_ABN.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Head_Clipping_ABN m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 2800000, guid: 43b9b5ee0d64457da6c77c0706d8ec63, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 5, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.565 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.565 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0.082 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 0 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0.5 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0.2 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 1 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 2.29 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.395 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 1 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -238,14 +418,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} - _2nd_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.5377358, g: 0.53012633, b: 0.53012633, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.53773576, g: 0.53012633, b: 0.53012633, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 512, g: 0.99968, b: 3.5185962, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.30147058, g: 0.30147058, b: 0.30147058, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.2264151, g: 0.22107512, b: 0.22107512, a: 1} - _RimLightColor: {r: 0.10980392, g: 0.09411765, b: 0.5294118, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_Emissive.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_Emissive.mat index 011eab93b..e7e62f462 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_Emissive.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Head_Clipping_Emissive.mat @@ -13,11 +13,11 @@ Material: m_ModifiedSerializedProperties: 0 m_ValidKeywords: - _EMISSIVE_SIMPLE - - _IS_ANGELRING_OFF - _IS_CLIPPING_MODE - _IS_OUTLINE_CLIPPING_YES - _OUTLINE_NML - m_InvalidKeywords: [] + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -474,6 +474,7 @@ Material: - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.9852941, g: 0.7157873, b: 0.3115268, a: 1} - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 68.5935, g: 0.97175246, b: 2.109645, a: 6.498019} - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.30147058, g: 0.30147058, b: 0.30147058, a: 1} diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main.mat index df6343117..f14419dad 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Main m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_NML + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_NML + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 2800000, guid: bb3b82b7766b4734ad55267d388d3453, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.08 - _1st_ShadeColor_Feather: 0.074 - _1st_ShadeColor_Step: 0.841 - _2nd_ShadeColor_Feather: 0.08 - _2nd_ShadeColor_Step: 0 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.1 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.841 - _BaseShade_Feather: 0.074 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 0 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0.76 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 2.9 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.371 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 0 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 2 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -239,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 1, g: 1, b: 1, a: 1} - _2nd_ShadeColor: {r: 0.7490196, g: 0.69411767, b: 0.88235295, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.2205882, g: 0.2205882, b: 0.2205882, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 3.6986532, a: 6.498019} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.44747052, g: 0.3406142, b: 0.5147059, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0.19117647, g: 0.19117647, b: 0.19117647, a: 1} - _RimLightColor: {r: 0.14425497, g: 0.077854656, b: 0.35294116, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main_ABN.mat b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main_ABN.mat index f9f6f39c8..e7523a23f 100644 --- a/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main_ABN.mat +++ b/com.unity.toonshader/Samples~/URP/UnityChan/SD/SampleMaterials/ToonShader_Main_ABN.mat @@ -2,15 +2,22 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 6 + serializedVersion: 8 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ToonShader_Main_ABN m_Shader: {fileID: 4800000, guid: be891319084e9d147b09d89e80ce60e0, type: 3} - m_ShaderKeywords: _ _EMISSIVE_SIMPLE _IS_ANGELRING_OFF _IS_CLIPPING_OFF _IS_OUTLINE_CLIPPING_NO - _OUTLINE_POS + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _EMISSIVE_SIMPLE + - _IS_CLIPPING_OFF + - _IS_OUTLINE_CLIPPING_NO + - _OUTLINE_POS + m_InvalidKeywords: + - _IS_ANGELRING_OFF m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -19,6 +26,7 @@ Material: IgnoreProjection: False RenderType: Opaque disabledShaderPasses: [] + m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -34,22 +42,54 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _AnisotropyMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BakedNormal: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BaseColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _BaseMap: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _BentNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _ClippingMask: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _CoatMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortionVectorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissiveColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _Emissive_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _HeightMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _HighColor_Tex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -58,6 +98,14 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _IridescenceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _IridescenceThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: m_Texture: {fileID: 2800000, guid: 682e7dad2cf2429e8441474769ab30a7, type: 3} m_Scale: {x: 1, y: 1} @@ -66,6 +114,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _MaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MatCap_Sampler: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -82,6 +134,10 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _NormalMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _OutlineTex: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} @@ -122,20 +178,63 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} + - _SpecularColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SubsurfaceMaskMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TangentMapOS: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ThicknessMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _TransmittanceColorMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _ToonMaterialVersion: 0 m_Floats: - _1st2nd_Shades_Feather: 0.0001 - _1st_ShadeColor_Feather: 0.0001 - _1st_ShadeColor_Step: 0.519 - _2nd_ShadeColor_Feather: 0.0001 - _2nd_ShadeColor_Step: 1 + - _AORemapMax: 1 + - _AORemapMin: 0 - _ARSampler_AlphaOn: 0 - _AR_OffsetU: 0 - _AR_OffsetV: 0.3 + - _ATDistance: 1 - _Add_Antipodean_RimLight: 0 + - _AlbedoAffectEmissive: 0 + - _AlphaCutoff: 0.5 + - _AlphaCutoffPostpass: 0.5 + - _AlphaCutoffPrepass: 0.5 + - _AlphaCutoffShadow: 0.5 + - _AlphaDstBlend: 0 + - _AlphaRemapMax: 1 + - _AlphaRemapMin: 0 + - _AlphaSrcBlend: 1 - _AngelRing: 0 + - _AngelRingOverridden: 0 + - _AngelRingVisible: 1 + - _Anisotropy: 0 - _Ap_RimLight_FeatherOff: 0 - _Ap_RimLight_Power: 0.456 - _AutoRenderQueue: 1 + - _BaseColorOverridden: 0 + - _BaseColorVisible: 1 - _BaseColor_Step: 0.519 - _BaseShade_Feather: 0.0001 - _Base_Speed: 0 @@ -144,18 +243,54 @@ Material: - _BumpScale: 1 - _BumpScaleMatcap: 1 - _CameraRolling_Stabilizer: 0 + - _ClippingMatteMode: 0 - _ClippingMode: 0 - _Clipping_Level: 0 + - _CoatMask: 0 - _ColorShift_Speed: 0 + - _ComposerMaskMode: 0 - _CullMode: 2 + - _CullModeForward: 2 - _Cutoff: 0.5 + - _DetailAlbedoScale: 1 + - _DetailNormalScale: 1 + - _DetailSmoothnessScale: 1 + - _DiffusionProfile: 0 + - _DiffusionProfileHash: 0 + - _DistortionBlurDstBlend: 0 + - _DistortionBlurRemapMax: 1 + - _DistortionBlurRemapMin: 0 + - _DistortionBlurScale: 1 + - _DistortionBlurSrcBlend: 0 + - _DistortionDstBlend: 0 + - _DistortionScale: 1 + - _DistortionSrcBlend: 0 + - _DistortionVectorBias: -1 + - _DistortionVectorScale: 2 + - _DoubleSidedEnable: 0 + - _DstBlend: 0 - _EMISSIVE: 0 + - _EmissiveExposureWeight: 1 + - _EnableGeometricSpecularAA: 0 + - _EnergyConservingSpecularColor: 1 - _Farthest_Distance: 10 + - _FirstShadeOverridden: 0 + - _FirstShadeVisible: 1 - _GI_Intensity: 0 + - _HeightAmplitude: 0.02 + - _HeightCenter: 0.5 + - _HeightMapParametrization: 0 + - _HeightOffset: 0 - _HighColor_Power: 0 + - _HighlightOverridden: 0 + - _HighlightVisible: 1 + - _InvTilingScale: 1 - _Inverse_Clipping: 0 - _Inverse_MatcapMask: 0 - _Inverse_Z_Axis_BLD: 1 + - _Ior: 1 + - _IridescenceMask: 1 + - _IridescenceThickness: 1 - _IsBaseMapAlphaAsClippingMask: 0 - _Is_BLD: 0 - _Is_BakedNormal: 0 @@ -187,14 +322,27 @@ Material: - _Is_ViewCoord_Scroll: 0 - _Is_ViewShift: 0 - _LightDirection_MaskOn: 0 + - _LinkDetailsWithBase: 1 - _MatCap: 0 + - _MaterialID: 1 + - _Metallic: 0 - _Nearest_Distance: 0.5 + - _NormalMapSpace: 0 + - _NormalScale: 1 - _OUTLINE: 1 + - _ObjectSpaceUVMapping: 0 - _Offset_X_Axis_BLD: -0.05 - _Offset_Y_Axis_BLD: 0.09 - _Offset_Z: 0 + - _OutlineOverridden: 0 + - _OutlineVisible: 1 - _Outline_Width: 7.87 + - _PPDLodThreshold: 5 + - _PPDMaxSamples: 15 + - _PPDMinSamples: 5 - _RimLight: 1 + - _RimLightOverridden: 0 + - _RimLightVisible: 1 - _RimLight_FeatherOff: 0 - _RimLight_InsideMask: 0.0001 - _RimLight_Power: 0.204 @@ -205,15 +353,40 @@ Material: - _SRPDefaultUnlitColMode: 1 - _Scroll_EmissiveU: 0 - _Scroll_EmissiveV: 0 + - _SecondShadeOverridden: 0 + - _SecondShadeVisible: 1 - _Set_SystemShadowsToBase: 1 - _ShadeColor_Step: 1 + - _Smoothness: 0.5 + - _SmoothnessRemapMax: 1 + - _SmoothnessRemapMin: 0 + - _SpecularAAScreenSpaceVariance: 0.1 + - _SpecularAAThreshold: 0.2 + - _SpecularOcclusionMode: 1 + - _SrcBlend: 1 - _StencilComp: 0 - _StencilMode: 0 - _StencilNo: 1 - _StencilOpFail: 0 - _StencilOpPass: 0 + - _StencilRef: 2 + - _StencilRefDepth: 0 + - _StencilRefDistortionVec: 64 + - _StencilRefGBuffer: 2 + - _StencilRefMV: 128 + - _StencilWriteMask: 3 + - _StencilWriteMaskDepth: 32 + - _StencilWriteMaskGBuffer: 3 + - _StencilWriteMaskMV: 128 - _StepOffset: 0 + - _SubsurfaceMask: 1 + - _TexWorldScale: 1 + - _TexWorldScaleEmissive: 1 + - _Thickness: 1 + - _TransmissionMask: 1 + - _TransparentCullMode: 2 - _TransparentEnabled: 0 + - _TransparentZWrite: 0 - _TweakHighColorOnShadow: 0 - _TweakMatCapOnShadow: 0 - _Tweak_HighColorMaskLevel: 0 @@ -224,10 +397,17 @@ Material: - _Tweak_ShadingGradeMapLevel: 0 - _Tweak_SystemShadowsLevel: 0 - _Tweak_transparency: 0 + - _UVDetail: 0 - _Unlit_Intensity: 0.001 + - _UseShadowThreshold: 0 - _Use_1stAs2nd: 1 - _Use_BaseAs1st: 0 - _ZOverDrawMode: 0 + - _ZTestDepthEqualForOpaque: 4 + - _ZTestGBuffer: 4 + - _ZTestModeDistortion: 8 + - _ZTestTransparent: 4 + - _ZWrite: 1 - _ZWriteMode: 1 - _isUnityToonshader: 1 - _simpleUI: 0 @@ -239,14 +419,37 @@ Material: m_Colors: - _1st_ShadeColor: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} - _2nd_ShadeColor: {r: 0.1544118, g: 0.15214103, b: 0.15214103, a: 1} + - _AngelRingMaskColor: {r: 0, g: 1, b: 0, a: 1} - _AngelRing_Color: {r: 1, g: 1, b: 1, a: 1} - _Ap_RimLightColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColor: {r: 0.6985294, g: 0.6985294, b: 0.6985294, a: 1} + - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} + - _BaseColorMaskColor: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 0.6985294, g: 0.6985294, b: 0.6985294, a: 1} - _ColorShift: {r: 0, g: 0, b: 0, a: 1} + - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _Emissive_Color: {r: 0, g: 0, b: 0, a: 1} + - _FirstShadeMaskColor: {r: 0, g: 1, b: 1, a: 1} - _HighColor: {r: 0.2205882, g: 0.2205882, b: 0.2205882, a: 1} + - _HighlightMaskColor: {r: 1, g: 1, b: 0, a: 1} + - _HighlightRimlightMath: {r: 2048, g: 1, b: 5.2343125, a: 3.0994236} + - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} + - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - _MatCapColor: {r: 0.44747052, g: 0.3406142, b: 0.5147059, a: 1} + - _OutlineMaskColor: {r: 0, g: 0, b: 0, a: 1} - _Outline_Color: {r: 0, g: 0, b: 0, a: 1} - _RimLightColor: {r: 0.14425497, g: 0.077854656, b: 0.35294116, a: 1} + - _RimLightMaskColor: {r: 1, g: 0, b: 1, a: 1} + - _SecondShadeMaskColor: {r: 0, g: 0, b: 1, a: 1} + - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} + - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} + - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} + - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} + - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - _ViewShift: {r: 0, g: 0, b: 0, a: 1} + - emissive: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1