mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-06-03 06:24:46 -05:00
mv namespace from VRMShaders.VRM10.MToon10 to VRM10.MToon10
This commit is contained in:
parent
7449207ae8
commit
8a7d0a82f3
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Editor
|
||||
namespace VRM10.MToon10.Editor
|
||||
{
|
||||
internal static class EditorMenu
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Editor
|
||||
namespace VRM10.MToon10.Editor
|
||||
{
|
||||
public readonly struct LabelScope : IDisposable
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Editor
|
||||
namespace VRM10.MToon10.Editor
|
||||
{
|
||||
public enum MToon10EditorEditMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,13 +1,10 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Editor
|
||||
namespace VRM10.MToon10.Editor
|
||||
{
|
||||
public sealed class MToonInspector : ShaderGUI
|
||||
{
|
||||
|
|
|
|||
|
|
@ -209,5 +209,5 @@ Shader "VRM10/MToon10"
|
|||
}
|
||||
}
|
||||
Fallback "Unlit/Texture"
|
||||
CustomEditor "VRMShaders.VRM10.MToon10.Editor.MToonInspector"
|
||||
CustomEditor "VRM10.MToon10.Editor.MToonInspector"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -253,5 +253,5 @@ Shader "VRM10/Universal Render Pipeline/MToon10"
|
|||
}
|
||||
|
||||
FallBack "Hidden/Universal Render Pipeline/FallbackError"
|
||||
CustomEditor "VRMShaders.VRM10.MToon10.Editor.MToonInspector"
|
||||
CustomEditor "VRM10.MToon10.Editor.MToonInspector"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MaterialExtensions
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
|
||||
namespace VRM10.MToon10.MToon0X
|
||||
{
|
||||
public class MToon0XDefinition
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
|
||||
namespace VRM10.MToon10.MToon0X
|
||||
{
|
||||
public enum MToon0XDebugMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
|
||||
namespace VRM10.MToon10.MToon0X
|
||||
{
|
||||
public static partial class MToon0XUtils
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
|
||||
namespace VRM10.MToon10.MToon0X
|
||||
{
|
||||
public static partial class MToon0XUtils
|
||||
{
|
||||
|
|
@ -11,7 +10,7 @@ namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
|
|||
{
|
||||
Meta = new MToon0XMetaDefinition
|
||||
{
|
||||
Implementation = Implementation,
|
||||
Implementation = MToon0XUtils.Implementation,
|
||||
VersionNumber = material.GetInt(PropVersion),
|
||||
},
|
||||
Rendering = new MToon0XRenderingDefinition
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime.MToon0X
|
||||
namespace VRM10.MToon10.MToon0X
|
||||
{
|
||||
public static partial class MToon0XUtils
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public sealed class MToon10Context
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
/// <summary>
|
||||
/// Migrate from VRM 0.x MToon to VRM 1.0 vrmc_materials_mtoon
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
using VRMShaders.VRM10.MToon10.Runtime.MToon0X;
|
||||
using VRM10.MToon10.MToon0X;
|
||||
using MToon0XUtils = VRM10.MToon10.MToon0X.MToon0XUtils;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Editor
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public sealed class MToonMaterialMigrator
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public sealed class MToonOutlineRenderFeature : ScriptableRendererFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
#if MTOON_URP
|
||||
using System;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public sealed class MToonOutlineRenderPass : ScriptableRenderPass
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public sealed class MToonValidator
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum MToon10AlphaMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum MToon10DoubleSidedMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MToon10EmissiveMapKeyword
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MToon10NormalMapKeyword
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum MToon10OutlineMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MToon10OutlineModeKeyword
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MToon10ParameterMapKeyword
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MToon10RimMapKeyword
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum MToon10TransparentWithZWriteMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MToon10Meta
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum MToon10Prop
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class MToon10Properties
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class UnityAlphaModeKeyword
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum UnityAlphaToMaskMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum UnityCullMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public static class UnityRenderTag
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VRMShaders.VRM10.MToon10.Runtime
|
||||
namespace VRM10.MToon10
|
||||
{
|
||||
public enum UnityZWriteMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
using NUnit.Framework;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
|
||||
namespace VRMShaders.VRM10.MToon10.Tests
|
||||
namespace VRM10.MToon10.Tests
|
||||
{
|
||||
public sealed class MigrationTests
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using UniGLTF.Extensions.VRMC_vrm;
|
||||
using UnityEngine;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
using VRM10.MToon10;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UniGLTF.Extensions.VRMC_vrm;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
using VRM10.MToon10;
|
||||
|
||||
|
||||
namespace UniVRM10
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
using UniGLTF;
|
||||
using UniGLTF.Extensions.VRMC_materials_mtoon;
|
||||
using UnityEngine;
|
||||
using VRM10.MToon10;
|
||||
using VRMShaders;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
using ColorSpace = VRMShaders.ColorSpace;
|
||||
|
||||
namespace UniVRM10
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using System.Linq;
|
|||
using UniGLTF;
|
||||
using UniGLTF.Extensions.VRMC_materials_mtoon;
|
||||
using UnityEngine;
|
||||
using VRM10.MToon10;
|
||||
using VRMShaders;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
using ColorSpace = VRMShaders.ColorSpace;
|
||||
using OutlineWidthMode = UniGLTF.Extensions.VRMC_materials_mtoon.OutlineWidthMode;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
using System.Linq;
|
||||
using UniGLTF;
|
||||
using UnityEngine;
|
||||
using VRM10.MToon10;
|
||||
using VRMShaders;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
|||
using UniGLTF;
|
||||
using UniGLTF.Extensions.VRMC_materials_mtoon;
|
||||
using UnityEngine;
|
||||
using VRM10.MToon10;
|
||||
using VRMShaders;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using UniGLTF;
|
|||
using UniGLTF.Extensions.VRMC_materials_mtoon;
|
||||
using UniJSON;
|
||||
using UnityEngine;
|
||||
using VRMShaders.VRM10.MToon10.Runtime;
|
||||
using VRMShaders.VRM10.MToon10.Runtime.MToon0X;
|
||||
using VRM10.MToon10;
|
||||
using VRM10.MToon10.MToon0X;
|
||||
using ColorSpace = VRMShaders.ColorSpace;
|
||||
|
||||
namespace UniVRM10
|
||||
|
|
|
|||
|
|
@ -3,9 +3,10 @@ using System.Linq;
|
|||
using UniGLTF;
|
||||
using UniJSON;
|
||||
using UnityEngine;
|
||||
using VRM10.MToon10.MToon0X;
|
||||
using VRMShaders;
|
||||
using VRMShaders.VRM10.MToon10.Runtime.MToon0X;
|
||||
using ColorSpace = VRMShaders.ColorSpace;
|
||||
using MToon0XUtils = VRM10.MToon10.MToon0X.MToon0XUtils;
|
||||
|
||||
namespace UniVRM10
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user