diff --git a/.github/workflows/build-webgl.yml b/.github/workflows/build-webgl.yml
new file mode 100644
index 000000000..15c46f12e
--- /dev/null
+++ b/.github/workflows/build-webgl.yml
@@ -0,0 +1,117 @@
+name: WebGL to gh-page
+
+on:
+ workflow_dispatch:
+ # push:
+ # branches:
+ # - workflow-webgl-wip
+
+env:
+ UNITY_PROJECT_PATH: .
+
+defaults:
+ run:
+ shell: bash
+
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+jobs:
+ build:
+ runs-on: [self-hosted, Windows, X64, Unity]
+ timeout-minutes: 60
+ steps:
+ - id: checkout
+ uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ lfs: true
+
+ - name: Detect Unity Version
+ id: detect-unity-version
+ run: |
+ PROJECT_VERSION_PATH="${{ env.UNITY_PROJECT_PATH }}/ProjectSettings/ProjectVersion.txt"
+ UNITY_HUB="C:\Program Files\Unity Hub\Unity Hub.exe"
+
+ UNITY_VERSION=`cat ${PROJECT_VERSION_PATH} | sed -n -E "s/^m_EditorVersion:\s+//p" | head -n 1`
+ UNITY_CHANGESET=`cat ${PROJECT_VERSION_PATH} | sed -n -E "s/^m_EditorVersionWithRevision:\s+\S+\s+\((\S+)\)/\1/p" | head -n 1`
+ UNITY_EDITOR_EXECUTABLE=`"${UNITY_HUB}" -- --headless editors --installed | \
+ sed -n -E "s/^${UNITY_VERSION} , installed at //p" | \
+ head -n 1`
+
+ if [ -z "${UNITY_EDITOR_EXECUTABLE}" ]; then
+ echo "Unity ${UNITY_VERSION} is not installed."
+ exit 1
+
+ # コマンドラインからのインストールは Unity 3.7.0 時点では UAC 必須で難しい
+ UNITY_INSTALL_COMMAND="\"${UNITY_HUB}\" -- --headless install \
+ --version ${UNITY_VERSION} \
+ --changeset ${UNITY_CHANGESET} \
+ --module windows-il2cpp \
+ --childModules"
+ fi
+
+ echo "${UNITY_EDITOR_EXECUTABLE} is installed."
+ echo "unity-editor-executable=${UNITY_EDITOR_EXECUTABLE}" >> "${GITHUB_OUTPUT}"
+
+ # URP
+ - name: Build VRM10Viewer
+ id: build-webgl-VRM10Viewer
+ run: |
+ # build to Build/VRM10Viewer
+ "${{ steps.detect-unity-version.outputs.unity-editor-executable }}" \
+ -batchmode -quit \
+ -silent-crashes \
+ -projectPath "${{ env.UNITY_PROJECT_PATH }}" \
+ -executeMethod "UniVRM10.DevOnly.BuildClass.BuildWebGL_VRM10Viewer" \
+ -logFile webgl-VRM10Viewer.log
+ echo "Success to WebGL VRM10Viewer."
+
+ # はじめに built-in RenderPipeline にして一度終わる。然るのちに
+ - name: Build SimpleViewer
+ id: build-webgl-SimpleViewer
+ run: |
+ "${{ steps.detect-unity-version.outputs.unity-editor-executable }}" \
+ -batchmode -quit \
+ -silent-crashes \
+ -projectPath "${{ env.UNITY_PROJECT_PATH }}" \
+ -executeMethod "VRM.DevOnly.BuildClass.SwitchBuiltinPipeline"
+ echo "Success to Switch built-in RenderPipeline."
+
+ # build to Build/SimpleViewer
+ "${{ steps.detect-unity-version.outputs.unity-editor-executable }}" \
+ -batchmode -quit \
+ -silent-crashes \
+ -projectPath "${{ env.UNITY_PROJECT_PATH }}" \
+ -executeMethod "VRM.DevOnly.BuildClass.BuildWebGL_SimpleViewer" \
+ -logFile webgl-SimpleViewer.log
+ echo "Success to WebGL SimpleViewer."
+
+ # make index
+ cat << __HTML__ > Build/index.html
+
$GITHUB_SHA
+
+ __HTML__
+
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v3
+ with:
+ path: Build
+
+ # Deployment job
+ deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ needs: build
+ runs-on: ubuntu-latest
+ name: Deploy
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v4
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 622fb688b..2bd897499 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -56,5 +56,8 @@
"Scriptable",
"UNIVRM"
],
- "dotnet.defaultSolution": "UniVRM.sln"
+ "dotnet.defaultSolution": "UniVRM.sln",
+ "files.associations": {
+ "*.jslib": "javascript",
+ }
}
\ No newline at end of file
diff --git a/Assets/UniGLTF/Editor/Animation/AnimationExporter.cs b/Assets/UniGLTF/Editor/Animation/AnimationExporter.cs
index d0f73512d..7438803b0 100644
--- a/Assets/UniGLTF/Editor/Animation/AnimationExporter.cs
+++ b/Assets/UniGLTF/Editor/Animation/AnimationExporter.cs
@@ -133,12 +133,12 @@ namespace UniGLTF
var property = AnimationExporter.PropertyToTarget(binding.propertyName);
if (property == glTFAnimationTarget.AnimationProperties.NotImplemented)
{
- Debug.LogWarning("Not Implemented keyframe property : " + binding.propertyName);
+ UniGLTFLogger.Warning("Not Implemented keyframe property : " + binding.propertyName);
continue;
}
if (property == glTFAnimationTarget.AnimationProperties.EulerRotation)
{
- Debug.LogWarning("Interpolation setting of AnimationClip should be Quaternion");
+ UniGLTFLogger.Warning("Interpolation setting of AnimationClip should be Quaternion");
continue;
}
diff --git a/Assets/UniGLTF/Editor/GltfImportMenu.cs b/Assets/UniGLTF/Editor/GltfImportMenu.cs
index cbc19bdfc..f04e002c3 100644
--- a/Assets/UniGLTF/Editor/GltfImportMenu.cs
+++ b/Assets/UniGLTF/Editor/GltfImportMenu.cs
@@ -33,7 +33,7 @@ namespace UniGLTF
//
if (path.StartsWithUnityAssetPath())
{
- Debug.LogWarningFormat("disallow import from folder under the Assets");
+ UniGLTFLogger.Warning("disallow import from folder under the Assets");
return;
}
diff --git a/Assets/UniGLTF/Editor/MeshUtility/MeshUtilityDialog.cs b/Assets/UniGLTF/Editor/MeshUtility/MeshUtilityDialog.cs
index 6207d98c8..e21a01cfc 100644
--- a/Assets/UniGLTF/Editor/MeshUtility/MeshUtilityDialog.cs
+++ b/Assets/UniGLTF/Editor/MeshUtility/MeshUtilityDialog.cs
@@ -212,7 +212,7 @@ namespace UniGLTF.MeshUtility
catch (Exception ex)
{
#if DEBUG
- Debug.LogException(ex, context.Instance);
+ UniGLTFLogger.Exception(ex, context.Instance);
context.Keep = true;
#endif
}
diff --git a/Assets/UniGLTF/Editor/TestRunner/TestRunner.cs b/Assets/UniGLTF/Editor/TestRunner/TestRunner.cs
index 39e371477..aa2e94eac 100644
--- a/Assets/UniGLTF/Editor/TestRunner/TestRunner.cs
+++ b/Assets/UniGLTF/Editor/TestRunner/TestRunner.cs
@@ -54,14 +54,14 @@ namespace UniGLTF
_tmpStackTraceLogType = Application.GetStackTraceLogType(LogType.Log);
Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None);
- Debug.Log($"{LogPrefix}Edit Mode Tests Started.");
+ UniGLTFLogger.Log($"{LogPrefix}Edit Mode Tests Started.");
}
public void RunFinished(ITestResultAdaptor result)
{
- Debug.Log($"{LogPrefix}Edit Mode Tests Finished.");
- Debug.Log($"{LogPrefix}Passed: {result.PassCount}, Skipped: {result.SkipCount}, Failed: {result.FailCount}");
- Debug.Log($"{ResultLogPrefix}{result.FailCount}");
+ UniGLTFLogger.Log($"{LogPrefix}Edit Mode Tests Finished.");
+ UniGLTFLogger.Log($"{LogPrefix}Passed: {result.PassCount}, Skipped: {result.SkipCount}, Failed: {result.FailCount}");
+ UniGLTFLogger.Log($"{ResultLogPrefix}{result.FailCount}");
Application.SetStackTraceLogType(LogType.Log, _tmpStackTraceLogType);
@@ -69,7 +69,7 @@ namespace UniGLTF
{
if (!string.IsNullOrEmpty(_xmlFilePath))
{
- Debug.Log($"{LogPrefix}Write NUnit XML to {_xmlFilePath}");
+ UniGLTFLogger.Log($"{LogPrefix}Write NUnit XML to {_xmlFilePath}");
var xmlNode = CreateNUnitXmlTree(result);
using var xmlWriter = new XmlTextWriter(_xmlFilePath, Encoding.UTF8);
@@ -92,8 +92,8 @@ namespace UniGLTF
if (result.TestStatus != TestStatus.Passed)
{
- Debug.Log($"{LogPrefix}{result.Message}");
- Debug.Log($"{LogPrefix}{result.StackTrace}");
+ UniGLTFLogger.Log($"{LogPrefix}{result.Message}");
+ UniGLTFLogger.Log($"{LogPrefix}{result.StackTrace}");
}
}
diff --git a/Assets/UniGLTF/Editor/TopMenu.cs b/Assets/UniGLTF/Editor/TopMenu.cs
index 0d6e4f678..aa3fe2ae7 100644
--- a/Assets/UniGLTF/Editor/TopMenu.cs
+++ b/Assets/UniGLTF/Editor/TopMenu.cs
@@ -50,11 +50,11 @@ namespace UniGLTF
{
if (Selection.activeObject is GameObject go)
{
- Debug.Log(go.GetPrefabType());
+ UniGLTFLogger.Log($"{go.GetPrefabType()}");
}
else
{
- Debug.Log(Selection.activeContext.GetType());
+ UniGLTFLogger.Log($"{Selection.activeContext.GetType()}");
}
}
#endif
diff --git a/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/ExportDialogState.cs b/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/ExportDialogState.cs
index 85fbbbfba..8026e869c 100644
--- a/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/ExportDialogState.cs
+++ b/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/ExportDialogState.cs
@@ -49,7 +49,7 @@ namespace UniGLTF
}
catch (ArgumentException)
{
- // Debug.LogWarning(ex);
+ // UniGLTFLogger.LogWarning(ex);
}
}
if (m_root.GameObject == value)
diff --git a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs
index 4a065457e..05fb2110a 100644
--- a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs
+++ b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs
@@ -58,7 +58,7 @@ namespace UniGLTF
else
{
// throw new Exception($"{key} is not converted.");
- Debug.LogWarning($"{key} is not converted.");
+ UniGLTFLogger.Warning($"{key} is not converted.");
}
}
diff --git a/Assets/UniGLTF/Editor/UniGLTF/Serialization/DeserializerGenerator.cs b/Assets/UniGLTF/Editor/UniGLTF/Serialization/DeserializerGenerator.cs
index 68f84b0a0..96bec277c 100644
--- a/Assets/UniGLTF/Editor/UniGLTF/Serialization/DeserializerGenerator.cs
+++ b/Assets/UniGLTF/Editor/UniGLTF/Serialization/DeserializerGenerator.cs
@@ -42,7 +42,7 @@ public static class GltfDeserializer
public static void GenerateSerializer()
{
var info = new ObjectSerialization(typeof(glTF), "gltf", "Deserialize_");
- Debug.Log(info);
+ UniGLTFLogger.Log($"{info}");
using (var s = File.Open(OutPath, FileMode.Create))
using (var w = new StreamWriter(s, new UTF8Encoding(false)))
@@ -52,7 +52,7 @@ public static class GltfDeserializer
w.Write(End);
}
- Debug.LogFormat("write: {0}", OutPath);
+ UniGLTFLogger.Log($"write: {OutPath}");
UnityPath.FromFullpath(OutPath).ImportAsset();
}
}
diff --git a/Assets/UniGLTF/Editor/UniGLTF/Serialization/SerializerGenerator.cs b/Assets/UniGLTF/Editor/UniGLTF/Serialization/SerializerGenerator.cs
index 201419a7a..0366adda8 100644
--- a/Assets/UniGLTF/Editor/UniGLTF/Serialization/SerializerGenerator.cs
+++ b/Assets/UniGLTF/Editor/UniGLTF/Serialization/SerializerGenerator.cs
@@ -42,7 +42,7 @@ namespace UniGLTF {
public static void GenerateSerializer()
{
var info = new ObjectSerialization(typeof(glTF), "gltf", "Serialize_");
- Debug.Log(info);
+ UniGLTFLogger.Log($"{info}");
using (var s = File.Open(OutPath, FileMode.Create))
using (var w = new StreamWriter(s, new UTF8Encoding(false)))
@@ -52,7 +52,7 @@ namespace UniGLTF {
w.Write(End);
}
- Debug.LogFormat("write: {0}", OutPath);
+ UniGLTFLogger.Log($"write: {OutPath}");
UnityPath.FromFullpath(OutPath).ImportAsset();
}
}
diff --git a/Assets/UniGLTF/Editor/UniHumanoid/BoneMappingEditor.cs b/Assets/UniGLTF/Editor/UniHumanoid/BoneMappingEditor.cs
index 29ed3e1bc..20456a51b 100644
--- a/Assets/UniGLTF/Editor/UniHumanoid/BoneMappingEditor.cs
+++ b/Assets/UniGLTF/Editor/UniHumanoid/BoneMappingEditor.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.IO;
using UnityEditor;
using UnityEngine;
+using UniGLTF;
namespace UniHumanoid
@@ -122,7 +123,7 @@ animator.GetBoneTransform(x.Head), animator.GetBoneTransform(x.Tail)))
}
else
{
- Debug.LogWarning("fail to CreateAvatar");
+ UniGLTFLogger.Warning("fail to CreateAvatar");
}
}
}
diff --git a/Assets/UniGLTF/Editor/UniHumanoid/HumanPoseTransferEditor.cs b/Assets/UniGLTF/Editor/UniHumanoid/HumanPoseTransferEditor.cs
index 6a8489a45..26f8b1027 100644
--- a/Assets/UniGLTF/Editor/UniHumanoid/HumanPoseTransferEditor.cs
+++ b/Assets/UniGLTF/Editor/UniHumanoid/HumanPoseTransferEditor.cs
@@ -120,7 +120,6 @@ namespace UniHumanoid
var _target = (HumanPoseTransfer)target;
if (_target.PoseClip != old)
{
- //Debug.Log("clip != old");
if (_target.PoseClip != null)
{
var pose = _target.PoseClip.GetPose();
@@ -133,7 +132,7 @@ namespace UniHumanoid
{
if (GUILayout.Button("Apply PoseClip"))
{
- Debug.Log("apply");
+ UniGLTFLogger.Log("apply");
var pose = default(HumanPose);
_target.PoseClip.GetPose(out pose);
_target.SetPose(pose);
diff --git a/Assets/UniGLTF/Editor/UniHumanoid/HumanoidEditor.cs b/Assets/UniGLTF/Editor/UniHumanoid/HumanoidEditor.cs
index f6c95afc7..42c836440 100644
--- a/Assets/UniGLTF/Editor/UniHumanoid/HumanoidEditor.cs
+++ b/Assets/UniGLTF/Editor/UniHumanoid/HumanoidEditor.cs
@@ -5,6 +5,7 @@ using System.IO;
using UnityEditor;
using UnityEngine;
using System;
+using UniGLTF;
namespace UniHumanoid
{
@@ -410,7 +411,7 @@ namespace UniHumanoid
}
else
{
- Debug.LogWarning($"cannot create {path}");
+ UniGLTFLogger.Warning($"cannot create {path}");
}
}
}
diff --git a/Assets/UniGLTF/Editor/UniHumanoid/bvhAssetPostprocessor.cs b/Assets/UniGLTF/Editor/UniHumanoid/bvhAssetPostprocessor.cs
index 0ca4ca2d8..bfe2efec4 100644
--- a/Assets/UniGLTF/Editor/UniHumanoid/bvhAssetPostprocessor.cs
+++ b/Assets/UniGLTF/Editor/UniHumanoid/bvhAssetPostprocessor.cs
@@ -40,7 +40,7 @@ namespace UniHumanoid
}
catch (Exception ex)
{
- Debug.LogError(ex);
+ UniGLTFLogger.Exception(ex);
context.Destroy(true);
}
}
diff --git a/Assets/UniGLTF/Runtime/Extensions/ColorConversionExtensions.cs b/Assets/UniGLTF/Runtime/Extensions/ColorConversionExtensions.cs
index 4e67784d6..65d910d89 100644
--- a/Assets/UniGLTF/Runtime/Extensions/ColorConversionExtensions.cs
+++ b/Assets/UniGLTF/Runtime/Extensions/ColorConversionExtensions.cs
@@ -21,7 +21,7 @@ namespace UniGLTF
{
if (src == null || src.Length < 4)
{
- Debug.LogWarning("Invalid argument.");
+ UniGLTFLogger.Warning("Invalid argument.");
return Color.magenta;
}
@@ -32,7 +32,7 @@ namespace UniGLTF
{
if (src == null || src.Length < 3)
{
- Debug.LogWarning("Invalid argument.");
+ UniGLTFLogger.Warning("Invalid argument.");
return Color.magenta;
}
diff --git a/Assets/UniGLTF/Runtime/Extensions/StringExtensions.cs b/Assets/UniGLTF/Runtime/Extensions/StringExtensions.cs
index f06bba77b..afeb475b6 100644
--- a/Assets/UniGLTF/Runtime/Extensions/StringExtensions.cs
+++ b/Assets/UniGLTF/Runtime/Extensions/StringExtensions.cs
@@ -46,7 +46,7 @@ namespace UniGLTF
return path.Substring(UnityBasePath.Length + 1);
}
- //Debug.LogWarningFormat("{0} is starts with {1}", path, basePath);
+ //UniGLTFLogger.WarningFormat("{0} is starts with {1}", path, basePath);
return path;
}
diff --git a/Assets/UniGLTF/Runtime/Extensions/glTFExtensions.cs b/Assets/UniGLTF/Runtime/Extensions/glTFExtensions.cs
index 29a9ec703..2271969d1 100644
--- a/Assets/UniGLTF/Runtime/Extensions/glTFExtensions.cs
+++ b/Assets/UniGLTF/Runtime/Extensions/glTFExtensions.cs
@@ -132,7 +132,7 @@ namespace UniGLTF
}
catch (Exception ex)
{
- Debug.LogWarningFormat("{0}: {1}", generatorVersion, ex);
+ UniGLTFLogger.Warning($"{generatorVersion}: {ex}");
return false;
}
}
diff --git a/Assets/UniGLTF/Runtime/MeshUtility/MeshAttachInfo.cs b/Assets/UniGLTF/Runtime/MeshUtility/MeshAttachInfo.cs
index babd97af1..82fe946f1 100644
--- a/Assets/UniGLTF/Runtime/MeshUtility/MeshAttachInfo.cs
+++ b/Assets/UniGLTF/Runtime/MeshUtility/MeshAttachInfo.cs
@@ -43,7 +43,7 @@ namespace UniGLTF.MeshUtility
}
else
{
- Debug.LogError($"SkinnedMeshRenderer not found", dst);
+ UniGLTFLogger.Error($"SkinnedMeshRenderer not found", dst);
}
}
else
@@ -57,12 +57,12 @@ namespace UniGLTF.MeshUtility
}
else
{
- Debug.LogError($"MeshRenderer not found", dst);
+ UniGLTFLogger.Error($"MeshRenderer not found", dst);
}
}
else
{
- Debug.LogError($"MeshFilter not found", dst);
+ UniGLTFLogger.Error($"MeshFilter not found", dst);
}
}
}
diff --git a/Assets/UniGLTF/Runtime/MeshUtility/MeshFreezer.cs b/Assets/UniGLTF/Runtime/MeshUtility/MeshFreezer.cs
index 61ca9a091..dda0b6bbf 100644
--- a/Assets/UniGLTF/Runtime/MeshUtility/MeshFreezer.cs
+++ b/Assets/UniGLTF/Runtime/MeshUtility/MeshFreezer.cs
@@ -61,7 +61,7 @@ namespace UniGLTF.MeshUtility
{
// 元のボーンが無い
indexMap[i] = -1;
- Debug.LogWarningFormat("bones[{0}] is null", i);
+ UniGLTFLogger.Warning($"bones[{i}] is null");
}
else
{
@@ -80,7 +80,7 @@ namespace UniGLTF.MeshUtility
{
// 先のボーンが無い
indexMap[i] = -1;
- Debug.LogWarningFormat("{0} is removed", srcBone.name);
+ UniGLTFLogger.Warning($"{srcBone.name} is removed");
}
}
}
@@ -298,10 +298,7 @@ namespace UniGLTF.MeshUtility
}
catch (Exception)
{
- Debug.LogErrorFormat("fail to mesh.AddBlendShapeFrame {0}.{1}",
- mesh.name,
- srcMesh.GetBlendShapeName(i)
- );
+ UniGLTFLogger.Error($"fail to mesh.AddBlendShapeFrame {mesh.name}.{srcMesh.GetBlendShapeName(i)}");
throw;
}
}
diff --git a/Assets/UniGLTF/Runtime/MeshUtility/MeshIntegrator.cs b/Assets/UniGLTF/Runtime/MeshUtility/MeshIntegrator.cs
index d71e2b64f..ccaa9e714 100644
--- a/Assets/UniGLTF/Runtime/MeshUtility/MeshIntegrator.cs
+++ b/Assets/UniGLTF/Runtime/MeshUtility/MeshIntegrator.cs
@@ -99,7 +99,7 @@ namespace UniGLTF.MeshUtility
var mesh = meshFilter.sharedMesh;
if (mesh == null)
{
- Debug.LogWarningFormat("{0} has no mesh", renderer.name);
+ UniGLTFLogger.Warning($"{renderer.name} has no mesh");
return;
}
Result.SourceMeshRenderers.Add(renderer);
@@ -125,7 +125,7 @@ namespace UniGLTF.MeshUtility
var bone = renderer.transform;
if (bone == null)
{
- Debug.LogWarningFormat("{0} is root gameobject.", bone.name);
+ UniGLTFLogger.Warning($"{bone.name} is root gameobject.");
return;
}
var boneIndex = AddBoneIfUnique(bone);
@@ -169,7 +169,7 @@ namespace UniGLTF.MeshUtility
var mesh = renderer.sharedMesh;
if (mesh == null)
{
- Debug.LogWarningFormat("{0} has no mesh", renderer.name);
+ UniGLTFLogger.Warning($"{renderer.name} has no mesh");
return;
}
Result.SourceSkinnedMeshRenderers.Add(renderer);
diff --git a/Assets/UniGLTF/Runtime/Scenes/LookDev/RenderingServicePostProcessingProfile.asset b/Assets/UniGLTF/Runtime/Scenes/LookDev/RenderingServicePostProcessingProfile.asset
index 0ec610d06..ed58c30e6 100644
--- a/Assets/UniGLTF/Runtime/Scenes/LookDev/RenderingServicePostProcessingProfile.asset
+++ b/Assets/UniGLTF/Runtime/Scenes/LookDev/RenderingServicePostProcessingProfile.asset
@@ -45,7 +45,7 @@ MonoBehaviour:
value: 65472
diffusion:
overrideState: 1
- value: 7
+ value: 6.4
anamorphicRatio:
overrideState: 0
value: 0
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/AnimationIO/Import/AnimationImporterUtil.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/AnimationIO/Import/AnimationImporterUtil.cs
index 3d4b4efe4..fa927d235 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/AnimationIO/Import/AnimationImporterUtil.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/AnimationIO/Import/AnimationImporterUtil.cs
@@ -219,7 +219,7 @@ namespace UniGLTF
SetBlendShapeAnimationCurve(data, animation, channel, clip, relativePath);
break;
default:
- Debug.LogWarningFormat("unknown path: {0}", channel.target.path);
+ UniGLTFLogger.Warning($"unknown path: {channel.target.path}");
break;
}
@@ -227,7 +227,7 @@ namespace UniGLTF
}
else
{
- Debug.LogWarning($"ConvertAnimationClipAsync: channel.target.node: out of range: 0<[{channel.target.node}]<{data.GLTF.nodes.Count}");
+ UniGLTFLogger.Warning($"ConvertAnimationClipAsync: channel.target.node: out of range: 0<[{channel.target.node}]<{data.GLTF.nodes.Count}");
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfJsonUtil.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfJsonUtil.cs
index 3ee9c9cf6..9e1cfca9a 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfJsonUtil.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfJsonUtil.cs
@@ -86,7 +86,7 @@ namespace UniGLTF
{
// ありえない。はず
var join = string.Join(", ", path);
- Debug.LogWarning($"invalid json path: {join}");
+ UniGLTFLogger.Warning($"invalid json path: {join}");
}
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfUtility.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfUtility.cs
index d0a26a01e..1f0d6435c 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfUtility.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/GltfUtility.cs
@@ -16,7 +16,7 @@ namespace UniGLTF
if (awaitCaller == null)
{
- Debug.LogWarning("GltfUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
+ UniGLTFLogger.Warning("GltfUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
awaitCaller = new ImmediateCaller();
}
@@ -36,7 +36,7 @@ namespace UniGLTF
if (awaitCaller == null)
{
- Debug.LogWarning("GltfUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
+ UniGLTFLogger.Warning("GltfUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
awaitCaller = new ImmediateCaller();
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContext.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContext.cs
index 2b4e5a83b..ce31fbc6c 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContext.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContext.cs
@@ -362,7 +362,7 @@ namespace UniGLTF
{
if (index < 0 || index >= Nodes.Count)
{
- Debug.LogWarning($"nodes[{index}] is not found !");
+ UniGLTFLogger.Warning($"nodes[{index}] is not found !");
node = default;
return false;
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContextExtensions.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContextExtensions.cs
index c5a3c09c2..44da2dbe1 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContextExtensions.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/ImporterContextExtensions.cs
@@ -23,7 +23,7 @@ namespace UniGLTF
if (Symbols.VRM_DEVELOP)
{
- Debug.Log($"{self.Data.TargetPath}: {meassureTime.GetSpeedLog()}");
+ UniGLTFLogger.Log($"{self.Data.TargetPath}: {meassureTime.GetSpeedLog()}");
}
return task.Result;
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Export/BuiltInGltfMaterialExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Export/BuiltInGltfMaterialExporter.cs
index 75418208f..c8d753913 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Export/BuiltInGltfMaterialExporter.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Export/BuiltInGltfMaterialExporter.cs
@@ -39,7 +39,7 @@ namespace UniGLTF
break;
}
- Debug.Log($"Material `{m.name}` fallbacks.");
+ UniGLTFLogger.Log($"Material `{m.name}` fallbacks.");
return BuiltInFallbackMaterialExporter.ExportMaterial(m, textureExporter);
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Import/BuiltInGltfMaterialDescriptorGenerator.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Import/BuiltInGltfMaterialDescriptorGenerator.cs
index 03ffca198..727e0617e 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Import/BuiltInGltfMaterialDescriptorGenerator.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/BuiltInRP/Import/BuiltInGltfMaterialDescriptorGenerator.cs
@@ -17,7 +17,7 @@ namespace UniGLTF
// fallback
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"material: {i} out of range. fallback");
+ UniGLTFLogger.Warning($"material: {i} out of range. fallback");
}
return GetGltfDefault(GltfMaterialImportUtils.ImportMaterialName(i, null));
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpLitMaterialExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpLitMaterialExporter.cs
index 3ae4807ee..e0bf6a4f2 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpLitMaterialExporter.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpLitMaterialExporter.cs
@@ -38,7 +38,7 @@ namespace UniGLTF
{
if (!validation.CanExport)
{
- Debug.LogError(validation.Message, src);
+ UniGLTFLogger.Error(validation.Message, src);
throw new UniGLTFNotSupportedException(validation.Message);
}
}
@@ -59,7 +59,7 @@ namespace UniGLTF
}
catch (Exception e)
{
- Debug.LogException(e);
+ UniGLTFLogger.Exception(e);
dst = default;
return false;
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUniUnlitMaterialExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUniUnlitMaterialExporter.cs
index 05670b81a..c714de04c 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUniUnlitMaterialExporter.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUniUnlitMaterialExporter.cs
@@ -70,7 +70,7 @@ namespace UniGLTF
}
catch (Exception e)
{
- Debug.LogException(e);
+ UniGLTFLogger.Exception(e);
dst = default;
return false;
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUnlitMaterialExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUnlitMaterialExporter.cs
index 67659c474..5463014c5 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUnlitMaterialExporter.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/Materials/UrpUnlitMaterialExporter.cs
@@ -41,7 +41,7 @@ namespace UniGLTF
}
catch (Exception e)
{
- Debug.LogException(e);
+ UniGLTFLogger.Exception(e);
dst = default;
return false;
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/UrpGltfMaterialExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/UrpGltfMaterialExporter.cs
index e1f1d5921..f7721eca9 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/UrpGltfMaterialExporter.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Export/UrpGltfMaterialExporter.cs
@@ -15,7 +15,7 @@ namespace UniGLTF
if (UrpUnlitExporter.TryExportMaterial(m, textureExporter, out dst)) return dst;
if (UrpUniUnlitExporter.TryExportMaterial(m, textureExporter, out dst)) return dst;
- Debug.Log($"Material `{m.name}` fallbacks.");
+ UniGLTFLogger.Log($"Material `{m.name}` fallbacks.");
return FallbackExporter.ExportMaterial(m, textureExporter);
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Import/UrpGltfMaterialDescriptorGenerator.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Import/UrpGltfMaterialDescriptorGenerator.cs
index 2b2c4bae8..4e2b3e34e 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Import/UrpGltfMaterialDescriptorGenerator.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MaterialIO/URP/Import/UrpGltfMaterialDescriptorGenerator.cs
@@ -18,7 +18,7 @@ namespace UniGLTF
// NOTE: Fallback to default material
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"material: {i} out of range. fallback");
+ UniGLTFLogger.Warning($"material: {i} out of range. fallback");
}
return GetGltfDefault(GltfMaterialImportUtils.ImportMaterialName(i, null));
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshData.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshData.cs
index bb1cf57a9..ed312613a 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshData.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshData.cs
@@ -227,7 +227,7 @@ namespace UniGLTF
{
if (i >= targetNames.Count)
{
- Debug.LogWarning($"invalid primitive.extras.targetNames length");
+ UniGLTFLogger.Warning($"invalid primitive.extras.targetNames length");
break;
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs
index 021efbe37..ad1925f11 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs
@@ -262,7 +262,7 @@ namespace UniGLTF
}
else
{
- Debug.LogWarning($"unknown renderer: {renderer}", context: renderer);
+ UniGLTFLogger.Warning($"unknown renderer: {renderer}", context: renderer);
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs
index 95bcd7cc8..b18e1fc85 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs
@@ -168,7 +168,7 @@ namespace UniGLTF
indices.Clear();
if (j >= materials.Length)
{
- Debug.LogWarningFormat("{0}.materials is not enough", mesh.name);
+ UniGLTFLogger.Warning($"{mesh.name}.materials is not enough");
continue;
}
@@ -184,7 +184,7 @@ namespace UniGLTF
}
else if (submeshIndices.Length < 3)
{
- Debug.LogWarningFormat("Invalid primitive of type {0} found", topologyType);
+ UniGLTFLogger.Warning($"Invalid primitive of type {topologyType} found");
continue;
}
@@ -193,19 +193,19 @@ namespace UniGLTF
{
case MeshTopology.Triangles:
if (submeshIndices.Length % 3 != 0)
- Debug.LogWarningFormat("triangle indices is not multiple of 3");
+ UniGLTFLogger.Warning("triangle indices is not multiple of 3");
GetTriangleIndices(indices, submeshIndices);
break;
case MeshTopology.Quads:
if (submeshIndices.Length % 4 != 0)
- Debug.LogWarningFormat("quad indices is not multiple of 4");
+ UniGLTFLogger.Warning("quad indices is not multiple of 4");
GetQuadIndices(indices, submeshIndices);
break;
default:
case MeshTopology.Lines:
case MeshTopology.LineStrip:
case MeshTopology.Points:
- Debug.LogWarningFormat("Mesh {0} has unsupported topology type {1}.", mesh.name, topologyType);
+ UniGLTFLogger.Warning($"Mesh {mesh.name} has unsupported topology type {topologyType}.");
continue;
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs
index 98450f1c9..63f5dbebb 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshUploader.cs
@@ -68,9 +68,7 @@ namespace UniGLTF
}
else
{
- Debug.LogWarningFormat(
- "May be partial primitive has blendShape. Require separate mesh or extend blend shape, but not implemented: {0}",
- blendShape.Name);
+ UniGLTFLogger.Warning($"May be partial primitive has blendShape. Require separate mesh or extend blend shape, but not implemented: {blendShape.Name}");
}
}
else
@@ -91,8 +89,6 @@ namespace UniGLTF
MeshData data,
Func> materialFromIndex)
{
-
- //Debug.Log(prims.ToJson());
var mesh = new Mesh
{
name = data.Name
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/NodeImporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/NodeImporter.cs
index d18e396ba..7a41e2a8c 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/NodeImporter.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/NodeImporter.cs
@@ -13,7 +13,7 @@ namespace UniGLTF
var nodeName = node.name;
if (!string.IsNullOrEmpty(nodeName) && nodeName.Contains("/"))
{
- Debug.LogWarningFormat("node {0} contains /. replace _", node.name);
+ UniGLTFLogger.Warning($"node {node.name} contains /. replace _");
nodeName = nodeName.Replace("/", "_");
}
if (string.IsNullOrEmpty(nodeName))
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/Parser/GlbLowLevelParser.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/Parser/GlbLowLevelParser.cs
index a6a0fb937..c1b8798d9 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/Parser/GlbLowLevelParser.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/Parser/GlbLowLevelParser.cs
@@ -254,7 +254,6 @@ namespace UniGLTF
var extraName = parsed["images"][i]["extra"]["name"].Value.GetString();
if (!string.IsNullOrEmpty(extraName))
{
- //Debug.LogFormat("restore texturename: {0}", extraName);
GLTF.images[i].name = extraName;
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Export/RuntimeTextureSerializer.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Export/RuntimeTextureSerializer.cs
index 14a9227c2..a575170fe 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Export/RuntimeTextureSerializer.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Export/RuntimeTextureSerializer.cs
@@ -31,7 +31,7 @@ namespace UniGLTF
// System.ArgumentException: not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.
// Failed, because texture is not readable.
- Debug.LogWarning(ex);
+ UniGLTFLogger.Warning($"{ex}");
// 単純に EncodeToPNG できないため、コピーしてから EncodeToPNG する。
return CopyTextureAndGetBytesWithMime(texture, exportColorSpace);
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/KtxTextureDeserializer.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/KtxTextureDeserializer.cs
index 5913be258..0cd450d8c 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/KtxTextureDeserializer.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/KtxTextureDeserializer.cs
@@ -39,7 +39,7 @@ namespace UniGLTF
}
catch (Exception e)
{
- Debug.LogException(e);
+ UniGLTFLogger.Exception(e);
return null;
}
#else
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnitySupportedImageTypeDeserializer.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnitySupportedImageTypeDeserializer.cs
index 9f7753d72..b81445311 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnitySupportedImageTypeDeserializer.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnitySupportedImageTypeDeserializer.cs
@@ -26,7 +26,7 @@ namespace UniGLTF
}
catch (Exception e)
{
- Debug.LogException(e);
+ UniGLTFLogger.Exception(e);
return null;
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnityTextureDeserializer.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnityTextureDeserializer.cs
index 0cf6f775b..491f89757 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnityTextureDeserializer.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/TextureIO/Import/UnityTextureDeserializer.cs
@@ -28,18 +28,18 @@ namespace UniGLTF
default:
if (string.IsNullOrEmpty(textureInfo.DataMimeType))
{
- Debug.Log($"Texture image MIME type is empty.");
+ UniGLTFLogger.Log($"Texture image MIME type is empty.");
}
else
{
- Debug.Log($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
+ UniGLTFLogger.Log($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
}
break;
}
if (texture == null)
{
- Debug.Log($"Failed to load texture from image data.");
+ UniGLTFLogger.Log($"Failed to load texture from image data.");
texture = new Texture2D(2, 2, TextureFormat.ARGB32, textureInfo.UseMipmap, textureInfo.ColorSpace == ColorSpace.Linear);
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs
index 8e051c001..7cb2c6473 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/UnityPath.cs
@@ -495,7 +495,7 @@ namespace UniGLTF
// アセットを作ることができないファイル名だったと仮定。
// 元のファイル名のどこに問題があるか不明なので Guid で置き換える。
var newName = $"{Parent.Value}/{Guid.NewGuid().ToString("N")}{Extension}";
- Debug.LogWarning($"rename: {Value} => {newName}");
+ UniGLTFLogger.Warning($"rename: {Value} => {newName}");
AssetDatabase.CreateAsset(o, newName);
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs
index db93b8017..bd31cec00 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs
@@ -117,7 +117,7 @@ namespace UniGLTF
if (Copy.transform.TryGetComponent(out var r))
{
// should throw ?
- Debug.LogError("root mesh is not exported");
+ UniGLTFLogger.Error("root mesh is not exported");
}
ReportProgress("prepared", 0.1f);
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/PackageVersion.cs b/Assets/UniGLTF/Runtime/UniGLTF/PackageVersion.cs
index d8cf7a71f..b3901a3fe 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/PackageVersion.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/PackageVersion.cs
@@ -5,7 +5,7 @@ namespace UniGLTF
{
public const int MAJOR = 0;
public const int MINOR = 128;
- public const int PATCH = 1;
- public const string VERSION = "0.128.1";
+ public const int PATCH = 2;
+ public const string VERSION = "0.128.2";
}
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/RuntimeGltfInstance.cs b/Assets/UniGLTF/Runtime/UniGLTF/RuntimeGltfInstance.cs
index d23e85241..29e3dee16 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/RuntimeGltfInstance.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/RuntimeGltfInstance.cs
@@ -169,7 +169,7 @@ namespace UniGLTF
{
if (oldResource == null || newResource == null || oldResource.GetType() != newResource.GetType())
{
- Debug.LogError($"{nameof(RuntimeGltfInstance)} - Could not replace resource: mismatched or null types.");
+ UniGLTFLogger.Error($"{nameof(RuntimeGltfInstance)} - Could not replace resource: mismatched or null types.");
return;
}
diff --git a/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs b/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs
index 7ed063fc2..d29b6b80e 100644
--- a/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs
+++ b/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs
@@ -5,7 +5,7 @@ namespace UniGLTF
{
public const int MAJOR = 2;
public const int MINOR = 64;
- public const int PATCH = 1;
- public const string VERSION = "2.64.1";
+ public const int PATCH = 2;
+ public const string VERSION = "2.64.2";
}
}
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/AvatarDescription.cs b/Assets/UniGLTF/Runtime/UniHumanoid/AvatarDescription.cs
index 526cffc7a..bc0078197 100644
--- a/Assets/UniGLTF/Runtime/UniHumanoid/AvatarDescription.cs
+++ b/Assets/UniGLTF/Runtime/UniHumanoid/AvatarDescription.cs
@@ -6,6 +6,7 @@ using System;
using System.Linq;
using System.Collections.Generic;
using UniGLTF.Utils;
+using UniGLTF;
namespace UniHumanoid
@@ -128,7 +129,7 @@ namespace UniHumanoid
public Avatar CreateAvatar(Transform root)
{
// force unique name
- ForceUniqueName.Process(root);
+ ForceTransformUniqueName.Validate(root);
return AvatarBuilder.BuildHumanAvatar(root.gameObject, ToHumanDescription(root));
}
@@ -252,17 +253,17 @@ namespace UniHumanoid
var importer = AssetImporter.GetAtPath(AssetDatabase.GetAssetPath(target));
if (importer != null)
{
- Debug.Log("AssetImporter Type: " + importer.GetType());
+ UniGLTFLogger.Log("AssetImporter Type: " + importer.GetType());
ModelImporter modelImporter = importer as ModelImporter;
if (modelImporter != null)
{
des = modelImporter.humanDescription;
- Debug.Log("## Cool stuff data by ModelImporter ##");
+ UniGLTFLogger.Log("## Cool stuff data by ModelImporter ##");
return true;
}
else
{
- Debug.LogWarning("## Please Select Imported Model in Project View not prefab or other things ##");
+ UniGLTFLogger.Warning("## Please Select Imported Model in Project View not prefab or other things ##");
}
}
}
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/BoneMapping.cs b/Assets/UniGLTF/Runtime/UniHumanoid/BoneMapping.cs
index 0510cd840..b2b8e6838 100644
--- a/Assets/UniGLTF/Runtime/UniHumanoid/BoneMapping.cs
+++ b/Assets/UniGLTF/Runtime/UniHumanoid/BoneMapping.cs
@@ -1,6 +1,7 @@
using UnityEngine;
using System.Linq;
using UniGLTF.Utils;
+using UniGLTF;
namespace UniHumanoid
{
@@ -46,7 +47,7 @@ namespace UniHumanoid
var hips = Bones[(int)HumanBodyBones.Hips];
if (hips == null)
{
- Debug.LogWarning("require hips");
+ UniGLTFLogger.Warning("require hips");
return;
}
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/HumanPoseTransfer.cs b/Assets/UniGLTF/Runtime/UniHumanoid/HumanPoseTransfer.cs
index d9ee1a829..ea7f7a94d 100644
--- a/Assets/UniGLTF/Runtime/UniHumanoid/HumanPoseTransfer.cs
+++ b/Assets/UniGLTF/Runtime/UniHumanoid/HumanPoseTransfer.cs
@@ -65,6 +65,15 @@ namespace UniHumanoid
}
HumanPoseHandler m_handler;
+ public void Dispose()
+ {
+ if (m_handler != null)
+ {
+ m_handler.Dispose();
+ m_handler = null;
+ }
+ }
+
public void OnEnable()
{
if (TryGetComponent(out var animator))
@@ -75,12 +84,18 @@ namespace UniHumanoid
Setup();
}
+ void OnDisable()
+ {
+ Dispose();
+ }
+
public void Setup()
{
if (Avatar == null)
{
return;
}
+ Dispose();
m_handler = new HumanPoseHandler(Avatar, transform);
}
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/HumanoidLoader.cs b/Assets/UniGLTF/Runtime/UniHumanoid/HumanoidLoader.cs
index 45f0ec806..f86f2a844 100644
--- a/Assets/UniGLTF/Runtime/UniHumanoid/HumanoidLoader.cs
+++ b/Assets/UniGLTF/Runtime/UniHumanoid/HumanoidLoader.cs
@@ -9,7 +9,7 @@ namespace UniHumanoid
{
public static Avatar LoadHumanoidAvatar(Transform root, IEnumerable<(Transform, HumanBodyBones)> boneMap)
{
- ForceUniqueName.Process(root);
+ UniGLTF.Utils.ForceTransformUniqueName.Process(root);
var description = new HumanDescription
{
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/IO/BvhImporterContext.cs b/Assets/UniGLTF/Runtime/UniHumanoid/IO/BvhImporterContext.cs
index 423496eb5..55faa4768 100644
--- a/Assets/UniGLTF/Runtime/UniHumanoid/IO/BvhImporterContext.cs
+++ b/Assets/UniGLTF/Runtime/UniHumanoid/IO/BvhImporterContext.cs
@@ -149,13 +149,13 @@ namespace UniHumanoid
// already exists
if (IsOwn(prefabPath))
{
- //Debug.LogFormat("already exist. own: {0}", prefabPath);
+ //UniGLTFLogger.LogFormat("already exist. own: {0}", prefabPath);
}
else
{
// but unknown prefab
var unique = AssetDatabase.GenerateUniqueAssetPath(prefabPath);
- //Debug.LogFormat("already exist: {0} => {1}", prefabPath, unique);
+ //UniGLTFLogger.LogFormat("already exist: {0} => {1}", prefabPath, unique);
prefabPath = unique;
}
}
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs b/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs
index 708dd6544..ec4229dbb 100644
--- a/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs
+++ b/Assets/UniGLTF/Runtime/UniHumanoid/SkeletonMeshUtility.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using UniGLTF;
using UnityEngine;
@@ -254,7 +255,7 @@ namespace UniHumanoid
{
if (Application.isEditor)
{
- Debug.LogWarningFormat("{0} not found", headTail.Head);
+ UniGLTFLogger.Warning($"{headTail.Head} not found");
}
}
}
diff --git a/Assets/UniGLTF/Runtime/UniJSON/Json/JsonFormatter.cs b/Assets/UniGLTF/Runtime/UniJSON/Json/JsonFormatter.cs
index 9b4c4e2b2..9a9132de8 100644
--- a/Assets/UniGLTF/Runtime/UniJSON/Json/JsonFormatter.cs
+++ b/Assets/UniGLTF/Runtime/UniJSON/Json/JsonFormatter.cs
@@ -120,12 +120,6 @@ namespace UniJSON
break;
}
top.Count += 1;
- /*
- {
- var debug = string.Format("{0} {1} = {2}", m_stack.Count, top.Current, top.Count);
- Debug.Log(debug);
- }
- */
m_stack.Push(top);
}
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/ForceUniqueName.cs b/Assets/UniGLTF/Runtime/Utils/ForceTransformUniqueName.cs
similarity index 71%
rename from Assets/UniGLTF/Runtime/UniHumanoid/ForceUniqueName.cs
rename to Assets/UniGLTF/Runtime/Utils/ForceTransformUniqueName.cs
index 22c204a05..31e184f58 100644
--- a/Assets/UniGLTF/Runtime/UniHumanoid/ForceUniqueName.cs
+++ b/Assets/UniGLTF/Runtime/Utils/ForceTransformUniqueName.cs
@@ -2,16 +2,34 @@ using System;
using System.Collections.Generic;
using UnityEngine;
-namespace UniHumanoid
+namespace UniGLTF.Utils
{
- class ForceUniqueName
+ public class ForceTransformUniqueName
{
HashSet m_uniqueNameSet = new HashSet();
int m_counter = 1;
+ public static bool Validate(Transform root)
+ {
+ HashSet uniqueNameSet = new HashSet();
+ var transforms = root.GetComponentsInChildren();
+ foreach (var t in transforms)
+ {
+ if (uniqueNameSet.Contains(t.name))
+ {
+ UniGLTFLogger.Warning($"duplicate name: {t.name}");
+ }
+ else
+ {
+ uniqueNameSet.Add(t.name);
+ }
+ }
+ return uniqueNameSet.Count == transforms.Length;
+ }
+
public static void Process(Transform root)
{
- var uniqueName = new ForceUniqueName();
+ var uniqueName = new ForceTransformUniqueName();
var transforms = root.GetComponentsInChildren();
foreach (var t in transforms)
{
@@ -40,7 +58,7 @@ namespace UniHumanoid
var newName = $"{t.parent.name}-{t.name}";
if (!m_uniqueNameSet.Contains(newName))
{
- Debug.LogWarning($"force rename !!: {t.name} => {newName}");
+ UniGLTFLogger.Warning($"force rename !!: {t.name} => {newName}");
t.name = newName;
m_uniqueNameSet.Add(newName);
return;
@@ -54,7 +72,7 @@ namespace UniHumanoid
var newName = $"{t.name}{m_counter++}";
if (!m_uniqueNameSet.Contains(newName))
{
- Debug.LogWarning($"force rename: {t.name} => {newName}", t);
+ UniGLTFLogger.Warning($"force rename: {t.name} => {newName}", t);
t.name = newName;
m_uniqueNameSet.Add(newName);
return;
diff --git a/Assets/UniGLTF/Runtime/UniHumanoid/ForceUniqueName.cs.meta b/Assets/UniGLTF/Runtime/Utils/ForceTransformUniqueName.cs.meta
similarity index 100%
rename from Assets/UniGLTF/Runtime/UniHumanoid/ForceUniqueName.cs.meta
rename to Assets/UniGLTF/Runtime/Utils/ForceTransformUniqueName.cs.meta
diff --git a/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs b/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs
index 07b1e3e25..60fc81fa9 100644
--- a/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs
+++ b/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs
@@ -1,3 +1,4 @@
+using System;
using UnityEngine;
namespace UniGLTF
@@ -56,5 +57,20 @@ namespace UniGLTF
[HideInCallstack]
#endif
public static void Log(string msg, UnityEngine.Object context = null) => s_logger.LogFormat(LogType.Log, context, msg);
+
+#if UNITY_2022_OR_NEWER
+ [HideInCallstack]
+#endif
+ public static void Warning(string msg, UnityEngine.Object context = null) => s_logger.LogFormat(LogType.Warning, context, msg);
+
+#if UNITY_2022_OR_NEWER
+ [HideInCallstack]
+#endif
+ public static void Error(string msg, UnityEngine.Object context = null) => s_logger.LogFormat(LogType.Error, context, msg);
+
+#if UNITY_2022_OR_NEWER
+ [HideInCallstack]
+#endif
+ public static void Exception(Exception exception, UnityEngine.Object context = null) => s_logger.LogException(exception, context);
}
}
\ No newline at end of file
diff --git a/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.asmdef b/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.asmdef
index b200fed37..a7c28e065 100644
--- a/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.asmdef
+++ b/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.asmdef
@@ -2,8 +2,8 @@
"name": "GltfViewer",
"rootNamespace": "",
"references": [
- "GUID:da3e51d19d51a544fa14d43fee843098",
- "GUID:8d76e605759c3f64a957d63ef96ada7c"
+ "GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412"
],
"includePlatforms": [],
"excludePlatforms": [],
diff --git a/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.cs b/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.cs
index dc8596b53..bcfcdec0c 100644
--- a/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.cs
+++ b/Assets/UniGLTF/Samples~/GltfViewer/GltfViewer.cs
@@ -26,7 +26,7 @@ namespace UniGLTF.GltfViewer
{
return;
}
- Debug.Log($"open: {path}");
+ UniGLTFLogger.Log($"open: {path}");
LoadPathAsync(path);
}
@@ -46,15 +46,15 @@ namespace UniGLTF.GltfViewer
_instance = await GltfUtility.LoadAsync(path.FullPath);
if (_instance == null)
{
- Debug.LogWarning("LoadAsync: null");
+ UniGLTFLogger.Warning("LoadAsync: null");
return;
}
- Debug.Log($"LoadAsync: {sw.Elapsed}");
+ UniGLTFLogger.Log($"LoadAsync: {sw.Elapsed}");
_instance.ShowMeshes();
}
catch (Exception ex)
{
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
}
}
}
diff --git a/Assets/UniGLTF/Samples~/GltfViewer/OpenFileDialog/OpenFileDialog.cs b/Assets/UniGLTF/Samples~/GltfViewer/OpenFileDialog/OpenFileDialog.cs
index 47695f73c..8dbe022bf 100644
--- a/Assets/UniGLTF/Samples~/GltfViewer/OpenFileDialog/OpenFileDialog.cs
+++ b/Assets/UniGLTF/Samples~/GltfViewer/OpenFileDialog/OpenFileDialog.cs
@@ -1,13 +1,16 @@
+using UnityEngine;
+
namespace UniGLTF.GltfViewer
{
public static class OpenFileDialog
{
public static PathObject Show(string title, params string[] extensions)
{
+ Debug.Log(typeof(UniGLTFLogger));
#if UNITY_STANDALONE_WIN
return PathObject.FromFullPath(FileDialogForWindows.FileDialog(title, extensions));
#else
- UnityEngine.Debug.LogWarning("Non-Windows runtime file dialogs are not yet implemented.");
+ UniGLTFLogger.Warning("Non-Windows runtime file dialogs are not yet implemented.");
return default;
#endif
}
diff --git a/Assets/UniGLTF/package.json b/Assets/UniGLTF/package.json
index 758fbadd0..4c24033e7 100644
--- a/Assets/UniGLTF/package.json
+++ b/Assets/UniGLTF/package.json
@@ -1,6 +1,6 @@
{
"name": "com.vrmc.gltf",
- "version": "0.128.1",
+ "version": "0.128.2",
"displayName": "UniGLTF",
"description": "GLTF importer and exporter",
"unity": "2021.3",
diff --git a/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.asmdef b/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.asmdef
index b200fed37..a7c28e065 100644
--- a/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.asmdef
+++ b/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.asmdef
@@ -2,8 +2,8 @@
"name": "GltfViewer",
"rootNamespace": "",
"references": [
- "GUID:da3e51d19d51a544fa14d43fee843098",
- "GUID:8d76e605759c3f64a957d63ef96ada7c"
+ "GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412"
],
"includePlatforms": [],
"excludePlatforms": [],
diff --git a/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.cs b/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.cs
index dc8596b53..bcfcdec0c 100644
--- a/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.cs
+++ b/Assets/UniGLTF_Samples/GltfViewer/GltfViewer.cs
@@ -26,7 +26,7 @@ namespace UniGLTF.GltfViewer
{
return;
}
- Debug.Log($"open: {path}");
+ UniGLTFLogger.Log($"open: {path}");
LoadPathAsync(path);
}
@@ -46,15 +46,15 @@ namespace UniGLTF.GltfViewer
_instance = await GltfUtility.LoadAsync(path.FullPath);
if (_instance == null)
{
- Debug.LogWarning("LoadAsync: null");
+ UniGLTFLogger.Warning("LoadAsync: null");
return;
}
- Debug.Log($"LoadAsync: {sw.Elapsed}");
+ UniGLTFLogger.Log($"LoadAsync: {sw.Elapsed}");
_instance.ShowMeshes();
}
catch (Exception ex)
{
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
}
}
}
diff --git a/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs b/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs
index 47695f73c..8dbe022bf 100644
--- a/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs
+++ b/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs
@@ -1,13 +1,16 @@
+using UnityEngine;
+
namespace UniGLTF.GltfViewer
{
public static class OpenFileDialog
{
public static PathObject Show(string title, params string[] extensions)
{
+ Debug.Log(typeof(UniGLTFLogger));
#if UNITY_STANDALONE_WIN
return PathObject.FromFullPath(FileDialogForWindows.FileDialog(title, extensions));
#else
- UnityEngine.Debug.LogWarning("Non-Windows runtime file dialogs are not yet implemented.");
+ UniGLTFLogger.Warning("Non-Windows runtime file dialogs are not yet implemented.");
return default;
#endif
}
diff --git a/Assets/VRM/Editor/AOT/VRMDeserializerGenerator.cs b/Assets/VRM/Editor/AOT/VRMDeserializerGenerator.cs
index ca306488b..7a71fe8ee 100644
--- a/Assets/VRM/Editor/AOT/VRMDeserializerGenerator.cs
+++ b/Assets/VRM/Editor/AOT/VRMDeserializerGenerator.cs
@@ -1,6 +1,7 @@
using System.IO;
using System.Reflection;
using System.Text;
+using UniGLTF;
using UnityEditor;
using UnityEngine;
@@ -25,7 +26,7 @@ namespace VRM
public static void GenerateCode()
{
var info = new UniGLTF.ObjectSerialization(typeof(glTF_VRM_extensions), "vrm", "_Deserialize");
- Debug.Log(info);
+ UniGLTFLogger.Log($"{info}");
using (var s = File.Open(OutPath, FileMode.Create))
using (var w = new StreamWriter(s, Encoding.UTF8))
@@ -53,7 +54,7 @@ public static class VrmDeserializer
} // VRM
");
- Debug.LogFormat("write: {0}", OutPath);
+ UniGLTFLogger.Log($"write: {OutPath}");
}
}
}
diff --git a/Assets/VRM/Editor/AOT/VRMSerializerGenerator.cs b/Assets/VRM/Editor/AOT/VRMSerializerGenerator.cs
index df8e19524..3bc34f57f 100644
--- a/Assets/VRM/Editor/AOT/VRMSerializerGenerator.cs
+++ b/Assets/VRM/Editor/AOT/VRMSerializerGenerator.cs
@@ -44,7 +44,7 @@ namespace VRM {
public static void GenerateCode()
{
var info = new ObjectSerialization(typeof(glTF_VRM_extensions), "vrm", "Serialize_");
- Debug.Log(info);
+ UniGLTFLogger.Log($"{info}");
using (var s = File.Open(OutPath, FileMode.Create))
using (var w = new StreamWriter(s, new UTF8Encoding(false)))
@@ -54,7 +54,7 @@ namespace VRM {
w.Write(End);
}
- Debug.LogFormat("write: {0}", OutPath);
+ UniGLTFLogger.Log($"write: {OutPath}");
UnityPath.FromFullpath(OutPath).ImportAsset();
}
}
diff --git a/Assets/VRM/Editor/BlendShape/PreviewEditor.cs b/Assets/VRM/Editor/BlendShape/PreviewEditor.cs
index a84b9ecd2..543dff439 100644
--- a/Assets/VRM/Editor/BlendShape/PreviewEditor.cs
+++ b/Assets/VRM/Editor/BlendShape/PreviewEditor.cs
@@ -80,7 +80,6 @@ namespace VRM
{
if (m_scene != null)
{
- //Debug.Log("Bake");
m_scene.Bake(GetBakeValue());
}
}
diff --git a/Assets/VRM/Editor/BuildClass.cs b/Assets/VRM/Editor/BuildClass.cs
index f1ed4a9c9..4a2c051f8 100644
--- a/Assets/VRM/Editor/BuildClass.cs
+++ b/Assets/VRM/Editor/BuildClass.cs
@@ -1,6 +1,6 @@
using UnityEditor;
-namespace VRM
+namespace VRM.DevOnly
{
public static class BuildClass
{
@@ -15,7 +15,7 @@ namespace VRM
var report = BuildPipeline.BuildPlayer(
scenes,
- "./Build/DummyBuild.exe",
+ "./Build/DummyBuild/DummyBuild.exe",
BuildTarget.StandaloneWindows,
BuildOptions.Development
);
@@ -25,5 +25,34 @@ namespace VRM
throw new System.Exception(report.summary.ToString());
}
}
+
+ public static void SwitchBuiltinPipeline()
+ {
+#if UNITY_6000_0_OR_NEWER
+ UnityEngine.Rendering.GraphicsSettings.defaultRenderPipeline = null;
+#else
+ UnityEngine.Rendering.GraphicsSettings.renderPipelineAsset = null;
+#endif
+ }
+
+ public static void BuildWebGL_SimpleViewer()
+ {
+ var scenes = new string[]{
+ "./Assets/VRM_Samples/SimpleViewer/SimpleViewer.unity",
+ };
+
+ var report = BuildPipeline.BuildPlayer(new BuildPlayerOptions
+ {
+ scenes = scenes,
+ locationPathName = "Build/SimpleViewer",
+ target = BuildTarget.WebGL,
+ }
+ );
+
+ if (report.summary.result != UnityEditor.Build.Reporting.BuildResult.Succeeded)
+ {
+ throw new System.Exception(report.summary.ToString());
+ }
+ }
}
}
diff --git a/Assets/VRM/Editor/Format/VRMEditorExporter.cs b/Assets/VRM/Editor/Format/VRMEditorExporter.cs
index 856f88b7e..47bbba57e 100644
--- a/Assets/VRM/Editor/Format/VRMEditorExporter.cs
+++ b/Assets/VRM/Editor/Format/VRMEditorExporter.cs
@@ -33,7 +33,7 @@ namespace VRM
foreach (var x in destroy)
{
// エラーを引き起こす場合がある
- // Debug.LogFormat("destroy: {0}", x.name);
+ // UniGLTFLogger.LogFormat("destroy: {0}", x.name);
GameObject.DestroyImmediate(x);
}
}
@@ -133,7 +133,7 @@ namespace VRM
var newName = sb.ToString();
if (!nameCount.ContainsKey(newName))
{
- Debug.LogWarningFormat("force rename {0} => {1}", transform.name, newName);
+ UniGLTFLogger.Warning($"force rename {transform.name} => {newName}");
transform.name = newName;
nameCount.Add(newName, 1);
return;
@@ -245,7 +245,7 @@ namespace VRM
exporter.Export();
}
var bytes = data.ToGlbBytes();
- Debug.LogFormat("Export elapsed {0}", sw.Elapsed);
+ UniGLTFLogger.Log($"Export elapsed {sw.Elapsed}");
return bytes;
}
}
diff --git a/Assets/VRM/Editor/Format/VRMEditorImporterContext.cs b/Assets/VRM/Editor/Format/VRMEditorImporterContext.cs
index 9cdac0ce0..7bfc9826d 100644
--- a/Assets/VRM/Editor/Format/VRMEditorImporterContext.cs
+++ b/Assets/VRM/Editor/Format/VRMEditorImporterContext.cs
@@ -119,7 +119,7 @@ namespace VRM
if (Symbols.VRM_DEVELOP)
{
// 来ない?
- Debug.LogWarning($"{o} already exists. skip write");
+ UniGLTFLogger.Warning($"{o} already exists. skip write");
}
return;
}
diff --git a/Assets/VRM/Editor/Format/VRMExporterWizard.cs b/Assets/VRM/Editor/Format/VRMExporterWizard.cs
index cb2a44768..5c5248b67 100644
--- a/Assets/VRM/Editor/Format/VRMExporterWizard.cs
+++ b/Assets/VRM/Editor/Format/VRMExporterWizard.cs
@@ -222,7 +222,7 @@ namespace VRM
}
else
{
- Debug.LogWarning("not found");
+ UniGLTFLogger.Warning("not found");
}
}
}
diff --git a/Assets/VRM/Editor/Format/VRMImporterMenu.cs b/Assets/VRM/Editor/Format/VRMImporterMenu.cs
index c99d1ff91..a4e5f541b 100644
--- a/Assets/VRM/Editor/Format/VRMImporterMenu.cs
+++ b/Assets/VRM/Editor/Format/VRMImporterMenu.cs
@@ -26,7 +26,7 @@ namespace VRM
// import vrm to asset
if (path.StartsWithUnityAssetPath())
{
- Debug.LogWarningFormat("disallow import from folder under the Assets");
+ UniGLTFLogger.Warning("disallow import from folder under the Assets");
return;
}
diff --git a/Assets/VRM/Editor/Format/VRMSampleCopy.cs b/Assets/VRM/Editor/Format/VRMSampleCopy.cs
index 9724cbce1..b08ad4796 100644
--- a/Assets/VRM/Editor/Format/VRMSampleCopy.cs
+++ b/Assets/VRM/Editor/Format/VRMSampleCopy.cs
@@ -1,6 +1,7 @@
using System;
using System.IO;
using System.Linq;
+using UniGLTF;
using UnityEngine;
namespace VRM
@@ -57,14 +58,13 @@ namespace VRM
Directory.Delete(dstDir, recursive: true);
}
_Copy(srcDir, dstDir);
- Debug.Log($"copy {srcDir} \n => {dstDir}");
+ UniGLTFLogger.Log($"copy {srcDir} \n => {dstDir}");
}
static void _Copy(string src, string dst)
{
if (Directory.Exists(src))
{
- // Debug.Log($"CreateDirectory({dst})");
Directory.CreateDirectory(dst);
foreach (var child in Directory.EnumerateFileSystemEntries(src))
{
@@ -73,7 +73,6 @@ namespace VRM
}
else if (File.Exists(src))
{
- // Debug.Log($"Copy {src} => {dst}");
File.Copy(src, dst);
}
else
@@ -93,7 +92,7 @@ namespace VRM
{
if (!Directory.Exists(dst))
{
- Debug.LogError($"{dst} not exists");
+ UniGLTFLogger.Error($"{dst} not exists");
return false;
}
@@ -110,7 +109,7 @@ namespace VRM
if (list.Count > 0)
{
var remain = string.Join(",", list);
- Debug.LogError($"only dst: {remain}");
+ UniGLTFLogger.Error($"only dst: {remain}");
return false;
}
return true;
@@ -120,12 +119,12 @@ namespace VRM
// same file
if (!File.Exists(dst))
{
- Debug.LogError($"{dst} not exists");
+ UniGLTFLogger.Error($"{dst} not exists");
return false;
}
if (!File.ReadAllBytes(src).SequenceEqual(File.ReadAllBytes(dst)))
{
- Debug.LogError($"{src} != {dst}");
+ UniGLTFLogger.Error($"{src} != {dst}");
return false;
}
return true;
@@ -133,7 +132,7 @@ namespace VRM
else
{
// throw new FileNotFoundException(src);
- Debug.LogError($"dir nor file");
+ UniGLTFLogger.Error($"dir nor file");
return false;
}
}
diff --git a/Assets/VRM/Editor/Format/VRMVersionMenu.cs b/Assets/VRM/Editor/Format/VRMVersionMenu.cs
index 92f9f2b9d..9b36b45a4 100644
--- a/Assets/VRM/Editor/Format/VRMVersionMenu.cs
+++ b/Assets/VRM/Editor/Format/VRMVersionMenu.cs
@@ -7,24 +7,24 @@ using System;
namespace VRM
{
+ ///
+ /// VersionDialog
+ ///
+ /// v0.81.0: com.vrmc.unigltf to com.vrmc.gltf and same version with univrm.
+ ///
+ /// Major = 2
+ /// Minor = VRMVersion.MINOR - 64
+ /// Patch = VRMVersion.PATCH
+ ///
+ ///
+ public class VRMVersionMenu : EditorWindow
+ {
///
- /// VersionDialog
- ///
- /// v0.81.0: com.vrmc.unigltf to com.vrmc.gltf and same version with univrm.
- ///
- /// Major = 2
- /// Minor = VRMVersion.MINOR - 64
- /// Patch = VRMVersion.PATCH
- ///
+ /// UNIGLTF
///
- public class VRMVersionMenu : EditorWindow
- {
- ///
- /// UNIGLTF
- ///
- static string UniGltfVersionPath = "Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs";
+ static string UniGltfVersionPath = "Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs";
- const string UniGltfVersionTemplate = @"
+ const string UniGltfVersionTemplate = @"
namespace UniGLTF
{{
public static partial class UniGLTFVersion
@@ -37,11 +37,11 @@ namespace UniGLTF
}}
";
- ///
- /// VRM
- ///
- const string VrmVersionPath = "Assets/UniGLTF/Runtime/UniGLTF/PackageVersion.cs";
- const string VrmVersionTemplate = @"
+ ///
+ /// VRM
+ ///
+ const string VrmVersionPath = "Assets/UniGLTF/Runtime/UniGLTF/PackageVersion.cs";
+ const string VrmVersionTemplate = @"
namespace UniGLTF
{{
public static partial class PackageVersion
@@ -54,20 +54,20 @@ namespace UniGLTF
}}
";
- struct UpmPackage
- {
- public readonly string Path;
- public readonly string Template;
+ struct UpmPackage
+ {
+ public readonly string Path;
+ public readonly string Template;
- public UpmPackage(string path, string template)
- {
- Path = path;
- Template = template;
- }
- }
+ public UpmPackage(string path, string template)
+ {
+ Path = path;
+ Template = template;
+ }
+ }
- UpmPackage[] Packages = new UpmPackage[]
- {
+ UpmPackage[] Packages = new UpmPackage[]
+ {
new UpmPackage("Assets/VRM/package.json",
@"{{
""name"": ""com.vrmc.univrm"",
@@ -142,14 +142,19 @@ namespace UniGLTF
""displayName"": ""VRM10FirstPersonSample"",
""description"": ""First Person layer sample with multi camera"",
""path"": ""Samples~/VRM10FirstPersonSample""
+ }},
+ {{
+ ""displayName"": ""ClothSample"",
+ ""description"": ""Experimental cloth implementation"",
+ ""path"": ""Samples~/ClothSample""
}}
]
}}
"),
- };
+ };
- UpmPackage UniGLTFPackage = new UpmPackage("Assets/UniGLTF/package.json",
+ UpmPackage UniGLTFPackage = new UpmPackage("Assets/UniGLTF/package.json",
@"{{
""name"": ""com.vrmc.gltf"",
""version"": ""{0}"",
@@ -174,137 +179,137 @@ namespace UniGLTF
]
}}");
- [SerializeField]
- string m_vrmVersion;
+ [SerializeField]
+ string m_vrmVersion;
- (int, int, int) m_uniGltfVersion
+ (int, int, int) m_uniGltfVersion
+ {
+ get
+ {
+ if (TryGetVersion(m_vrmVersion, out (int, int, int) vrmVersion))
{
- get
- {
- if (TryGetVersion(m_vrmVersion, out (int, int, int) vrmVersion))
- {
- return (2, vrmVersion.Item2 - 64, vrmVersion.Item3);
- }
- else
- {
- return (0, 0, 0);
- }
- }
+ return (2, vrmVersion.Item2 - 64, vrmVersion.Item3);
}
-
- static bool TryGetVersion(string src, out (int, int, int) version)
+ else
{
- try
- {
- if (string.IsNullOrEmpty(src))
- {
- version = default;
- return false;
- }
-
- var splitted = src.Split('.');
- if (splitted.Length != 3)
- {
- version = default;
- return false;
- }
-
- version = (
- int.Parse(splitted[0]),
- int.Parse(splitted[1]),
- int.Parse(splitted[2])
- );
- return true;
- }
- catch (Exception)
- {
- version = default;
- return false;
- }
- }
-
- ///
- /// バージョン管理ダイアログ
- ///
- void OnGUI()
- {
- GUILayout.Label("VRM");
- GUILayout.Label($"Current version: {PackageVersion.VERSION}");
- m_vrmVersion = EditorGUILayout.TextField("Major.Minor.Patch", m_vrmVersion);
- GUILayout.Space(30);
-
- GUILayout.Label("UniGLTF");
- GUILayout.Label($"Current version: {UniGLTFVersion.VERSION}");
- {
- var enabled = GUI.enabled;
- GUI.enabled = false;
- EditorGUILayout.TextField("Major.Minor.Patch", $"{m_uniGltfVersion}");
- GUI.enabled = enabled;
- }
- GUILayout.Space(30);
-
- if (GUILayout.Button("Apply"))
- {
- if (TryGetVersion(m_vrmVersion, out (int, int, int) vrmVersion))
- {
- UpdateVrmVersion(vrmVersion);
- UpdateUniGLTFVersion(m_uniGltfVersion, vrmVersion);
- AssetDatabase.Refresh();
- Debug.Log($"{m_uniGltfVersion}, {vrmVersion}");
- }
- else
- {
- Debug.LogWarning($"InvalidFormat: {m_vrmVersion}");
- }
-
- // COPY
- VRMSampleCopy.Execute();
- }
-
- if (GUILayout.Button("Close"))
- {
- Close();
- }
- }
-
- void UpdateUniGLTFVersion((int, int, int) uniGltf, (int, int, int) vrm)
- {
- var utf8 = new UTF8Encoding(false);
- File.WriteAllText(UniGltfVersionPath, string.Format(UniGltfVersionTemplate,
- uniGltf.Item1,
- uniGltf.Item2,
- uniGltf.Item3), utf8);
-
- File.WriteAllText(UniGLTFPackage.Path, string.Format(UniGLTFPackage.Template,
- $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}",
- $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}"
- ), utf8);
- }
-
- void UpdateVrmVersion((int, int, int) vrm)
- {
- // generate
- var utf8 = new UTF8Encoding(false);
- File.WriteAllText(VrmVersionPath, string.Format(VrmVersionTemplate,
- vrm.Item1,
- vrm.Item2,
- vrm.Item3), utf8);
- // UPM
- foreach (var upm in Packages)
- {
- File.WriteAllText(upm.Path, string.Format(upm.Template,
- $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}",
- $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}"
- ), utf8);
- }
- }
-
- public static void ShowVersionDialog()
- {
- var window = ScriptableObject.CreateInstance();
- window.m_vrmVersion = PackageVersion.VERSION;
- // window.m_uniGltfVersion = UniGLTFVersion.VERSION;
- window.ShowUtility();
+ return (0, 0, 0);
}
+ }
}
+
+ static bool TryGetVersion(string src, out (int, int, int) version)
+ {
+ try
+ {
+ if (string.IsNullOrEmpty(src))
+ {
+ version = default;
+ return false;
+ }
+
+ var splitted = src.Split('.');
+ if (splitted.Length != 3)
+ {
+ version = default;
+ return false;
+ }
+
+ version = (
+ int.Parse(splitted[0]),
+ int.Parse(splitted[1]),
+ int.Parse(splitted[2])
+ );
+ return true;
+ }
+ catch (Exception)
+ {
+ version = default;
+ return false;
+ }
+ }
+
+ ///
+ /// バージョン管理ダイアログ
+ ///
+ void OnGUI()
+ {
+ GUILayout.Label("VRM");
+ GUILayout.Label($"Current version: {PackageVersion.VERSION}");
+ m_vrmVersion = EditorGUILayout.TextField("Major.Minor.Patch", m_vrmVersion);
+ GUILayout.Space(30);
+
+ GUILayout.Label("UniGLTF");
+ GUILayout.Label($"Current version: {UniGLTFVersion.VERSION}");
+ {
+ var enabled = GUI.enabled;
+ GUI.enabled = false;
+ EditorGUILayout.TextField("Major.Minor.Patch", $"{m_uniGltfVersion}");
+ GUI.enabled = enabled;
+ }
+ GUILayout.Space(30);
+
+ if (GUILayout.Button("Apply"))
+ {
+ if (TryGetVersion(m_vrmVersion, out (int, int, int) vrmVersion))
+ {
+ UpdateVrmVersion(vrmVersion);
+ UpdateUniGLTFVersion(m_uniGltfVersion, vrmVersion);
+ AssetDatabase.Refresh();
+ UniGLTFLogger.Log($"{m_uniGltfVersion}, {vrmVersion}");
+ }
+ else
+ {
+ UniGLTFLogger.Warning($"InvalidFormat: {m_vrmVersion}");
+ }
+
+ // COPY
+ VRMSampleCopy.Execute();
+ }
+
+ if (GUILayout.Button("Close"))
+ {
+ Close();
+ }
+ }
+
+ void UpdateUniGLTFVersion((int, int, int) uniGltf, (int, int, int) vrm)
+ {
+ var utf8 = new UTF8Encoding(false);
+ File.WriteAllText(UniGltfVersionPath, string.Format(UniGltfVersionTemplate,
+ uniGltf.Item1,
+ uniGltf.Item2,
+ uniGltf.Item3), utf8);
+
+ File.WriteAllText(UniGLTFPackage.Path, string.Format(UniGLTFPackage.Template,
+ $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}",
+ $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}"
+ ), utf8);
+ }
+
+ void UpdateVrmVersion((int, int, int) vrm)
+ {
+ // generate
+ var utf8 = new UTF8Encoding(false);
+ File.WriteAllText(VrmVersionPath, string.Format(VrmVersionTemplate,
+ vrm.Item1,
+ vrm.Item2,
+ vrm.Item3), utf8);
+ // UPM
+ foreach (var upm in Packages)
+ {
+ File.WriteAllText(upm.Path, string.Format(upm.Template,
+ $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}",
+ $"{vrm.Item1}.{vrm.Item2}.{vrm.Item3}"
+ ), utf8);
+ }
+ }
+
+ public static void ShowVersionDialog()
+ {
+ var window = ScriptableObject.CreateInstance();
+ window.m_vrmVersion = PackageVersion.VERSION;
+ // window.m_uniGltfVersion = UniGLTFVersion.VERSION;
+ window.ShowUtility();
+ }
+ }
}
diff --git a/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs b/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs
index 688e7ffc5..1ebaaee95 100644
--- a/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs
+++ b/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs
@@ -23,7 +23,7 @@ namespace VRM
if (unityPath.IsStreamingAsset)
{
- Debug.LogFormat("Skip StreamingAssets: {0}", path);
+ UniGLTFLogger.Log($"Skip StreamingAssets: {path}");
continue;
}
@@ -59,7 +59,7 @@ namespace VRM
{
if (!prefabPath.IsUnderWritableFolder)
{
- Debug.LogWarningFormat("out of Asset or writable Packages folder: {0}", prefabPath);
+ UniGLTFLogger.Warning($"out of Asset or writable Packages folder: {prefabPath}");
return;
}
diff --git a/Assets/VRM/Editor/Meta/VRMMetaObjectEditor.cs b/Assets/VRM/Editor/Meta/VRMMetaObjectEditor.cs
index 19c4d1ac0..e11ff6156 100644
--- a/Assets/VRM/Editor/Meta/VRMMetaObjectEditor.cs
+++ b/Assets/VRM/Editor/Meta/VRMMetaObjectEditor.cs
@@ -327,7 +327,6 @@ namespace VRM
{
var r = GUILayoutUtility.GetRect(GUIContent.none, GUIStyle.none, GUILayout.Height(EditorGUIUtility.singleLineHeight));
var (left, right) = FixedRight(r, 64);
- // Debug.Log($"{left}, {right}");
EditorGUI.LabelField(left, label);
EditorGUI.PropertyField(right, prop, new GUIContent(""), false);
}
diff --git a/Assets/VRM/Editor/SkinnedMeshUtility/VrmBlendShapeUpdater.cs b/Assets/VRM/Editor/SkinnedMeshUtility/VrmBlendShapeUpdater.cs
index aa9e58257..af0568d39 100644
--- a/Assets/VRM/Editor/SkinnedMeshUtility/VrmBlendShapeUpdater.cs
+++ b/Assets/VRM/Editor/SkinnedMeshUtility/VrmBlendShapeUpdater.cs
@@ -71,12 +71,12 @@ namespace VRM
};
if (used.Contains(binding))
{
- Debug.LogWarning($"duplicated: {binding}");
+ UniGLTFLogger.Warning($"duplicated: {binding}");
}
else
{
#if VRM_DEVELOP
- Debug.Log($"{val} >> {binding}");
+ UniGLTFLogger.Log($"{val} >> {binding}");
#endif
used.Add(binding);
yield return binding;
@@ -86,7 +86,7 @@ namespace VRM
else
{
// skip
- Debug.LogWarning($"SkinnedMeshRenderer not found: {val.RelativePath}");
+ UniGLTFLogger.Warning($"SkinnedMeshRenderer not found: {val.RelativePath}");
}
}
}
diff --git a/Assets/VRM/Editor/SpringBone/VRMSpringBoneUtilityEditor.cs b/Assets/VRM/Editor/SpringBone/VRMSpringBoneUtilityEditor.cs
index 9380f20e3..efbbb6c73 100644
--- a/Assets/VRM/Editor/SpringBone/VRMSpringBoneUtilityEditor.cs
+++ b/Assets/VRM/Editor/SpringBone/VRMSpringBoneUtilityEditor.cs
@@ -95,7 +95,7 @@ namespace VRM
{
if (index < 0 || index >= nodes.Count)
{
- Debug.LogWarning($"nodes[{index}] is not found !");
+ UniGLTFLogger.Warning($"nodes[{index}] is not found !");
node = default;
return false;
}
diff --git a/Assets/VRM/Editor/VRMExportUnityPackage.cs b/Assets/VRM/Editor/VRMExportUnityPackage.cs
index 1ad482342..132a7c785 100644
--- a/Assets/VRM/Editor/VRMExportUnityPackage.cs
+++ b/Assets/VRM/Editor/VRMExportUnityPackage.cs
@@ -3,6 +3,8 @@ using System.Linq;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
+using UniGLTF;
+
#if UNITY_2018_1_OR_NEWER
using UnityEditor.Build.Reporting;
#endif
@@ -145,20 +147,20 @@ namespace VRM.DevOnly.PackageExporter
{
try
{
- Debug.Log($"[{nameof(VRMExportUnityPackage)}] Start CreateUnityPackageWithBuild...");
+ UniGLTFLogger.Log($"[{nameof(VRMExportUnityPackage)}] Start CreateUnityPackageWithBuild...");
var folder = GetProjectRoot();
if (!Directory.Exists(folder))
{
Directory.CreateDirectory(folder);
}
- Debug.Log($"[{nameof(VRMExportUnityPackage)}] Try to build test scenes...");
+ UniGLTFLogger.Log($"[{nameof(VRMExportUnityPackage)}] Try to build test scenes...");
BuildTestScene();
- Debug.Log($"[{nameof(VRMExportUnityPackage)}] Create UnityPackages...");
+ UniGLTFLogger.Log($"[{nameof(VRMExportUnityPackage)}] Create UnityPackages...");
CreateUnityPackages(folder);
- Debug.Log($"[{nameof(VRMExportUnityPackage)}] Finish CreateUnityPackageWithBuild");
+ UniGLTFLogger.Log($"[{nameof(VRMExportUnityPackage)}] Finish CreateUnityPackageWithBuild");
if (Application.isBatchMode)
{
EditorApplication.Exit(0);
@@ -166,7 +168,7 @@ namespace VRM.DevOnly.PackageExporter
}
catch (Exception e)
{
- Debug.LogException(e);
+ UniGLTFLogger.Exception(e);
if (Application.isBatchMode)
{
EditorApplication.Exit(1);
@@ -262,8 +264,8 @@ namespace VRM.DevOnly.PackageExporter
{
var targetFileNames = package.List.SelectMany(x => x.Files).ToArray();
- Debug.LogFormat("Package '{0}' will include {1} files...", package.Name, targetFileNames.Count());
- Debug.LogFormat("{0}", string.Join("", targetFileNames.Select((x, i) => string.Format("[{0:##0}] {1}\n", i, x)).ToArray()));
+ UniGLTFLogger.Log($"Package '{package.Name}' will include {targetFileNames.Count()} files...");
+ UniGLTFLogger.Log($"{string.Join("", targetFileNames.Select((x, i) => string.Format("[{0:##0}] {1}\n", i, x)).ToArray())}");
var path = MakePackagePathName(outputDir, package.Name);
AssetDatabase.ExportPackage(targetFileNames, path, ExportPackageOptions.Default);
@@ -283,7 +285,7 @@ namespace VRM.DevOnly.PackageExporter
private static void Build(string[] levels)
{
var buildPath = Path.GetFullPath(Application.dataPath + "/../build/build.exe");
- Debug.LogFormat("BuildPath: {0}", buildPath);
+ UniGLTFLogger.Log($"BuildPath: {buildPath}");
var build = BuildPipeline.BuildPlayer(levels,
buildPath,
BuildTarget.StandaloneWindows,
diff --git a/Assets/VRM/Editor/VrmTopMenu.cs b/Assets/VRM/Editor/VrmTopMenu.cs
index f1e910074..d9aab4784 100644
--- a/Assets/VRM/Editor/VrmTopMenu.cs
+++ b/Assets/VRM/Editor/VrmTopMenu.cs
@@ -53,9 +53,15 @@ namespace VRM
private static void ShowVersionDialog() => VRMVersionMenu.ShowVersionDialog();
[MenuItem(DevelopmentMenuPrefix + "/Build dummy for CI", false, 93)]
- private static void BuildDummyForCi() => BuildClass.Build();
+ private static void BuildDummyForCi() => DevOnly.BuildClass.Build();
- [MenuItem(DevelopmentMenuPrefix + "/Create UnityPackage", false, 94)]
+ [MenuItem(DevelopmentMenuPrefix + "/Switch to built-in RenderPipeline", false, 94)]
+ private static void SwitchToBuiltinPipeline() => DevOnly.BuildClass.SwitchBuiltinPipeline();
+
+ [MenuItem(DevelopmentMenuPrefix + "/Build WebGL SimpleViewer for CI", false, 95)]
+ private static void BuildWebGLForCi0x() => DevOnly.BuildClass.BuildWebGL_SimpleViewer();
+
+ [MenuItem(DevelopmentMenuPrefix + "/Create UnityPackage", false, 99)]
private static void CreateUnityPackage() => VRMExportUnityPackage.CreateUnityPackageWithoutBuild();
#endif
}
diff --git a/Assets/VRM/MToon/Runtime/MToon.asmdef b/Assets/VRM/MToon/Runtime/MToon.asmdef
index 647303ff7..266e761b7 100644
--- a/Assets/VRM/MToon/Runtime/MToon.asmdef
+++ b/Assets/VRM/MToon/Runtime/MToon.asmdef
@@ -1,12 +1,16 @@
{
"name": "MToon",
- "references": [],
- "optionalUnityReferences": [],
+ "rootNamespace": "",
+ "references": [
+ "GUID:1cd941934d098654fa21a13f28346412"
+ ],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": false,
- "defineConstraints": []
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
}
\ No newline at end of file
diff --git a/Assets/VRM/MToon/Runtime/UtilsGetter.cs b/Assets/VRM/MToon/Runtime/UtilsGetter.cs
index a91795560..ddd86abd5 100644
--- a/Assets/VRM/MToon/Runtime/UtilsGetter.cs
+++ b/Assets/VRM/MToon/Runtime/UtilsGetter.cs
@@ -1,5 +1,6 @@
using System;
using UnityEngine;
+using UniGLTF;
namespace MToon
{
@@ -119,7 +120,7 @@ namespace MToon
case DisabledIntValue:
return RenderMode.Transparent;
default:
- Debug.LogWarning("Invalid ZWrite Int Value.");
+ UniGLTFLogger.Warning("Invalid ZWrite Int Value.");
return RenderMode.Transparent;
}
}
@@ -140,7 +141,7 @@ namespace MToon
case CullMode.Back:
return CullMode.Back;
default:
- Debug.LogWarning("Invalid CullMode.");
+ UniGLTFLogger.Warning("Invalid CullMode.");
return CullMode.Back;
}
}
diff --git a/Assets/VRM/Runtime/BlendShape/BlendShapeBindingMerger.cs b/Assets/VRM/Runtime/BlendShape/BlendShapeBindingMerger.cs
index 220fdeb60..b3ebb0fe6 100644
--- a/Assets/VRM/Runtime/BlendShape/BlendShapeBindingMerger.cs
+++ b/Assets/VRM/Runtime/BlendShape/BlendShapeBindingMerger.cs
@@ -65,13 +65,13 @@ namespace VRM
}
else
{
- Debug.LogWarningFormat("Invalid blendshape binding: {0}: {1}", target.name, binding);
+ UniGLTFLogger.Warning($"Invalid blendshape binding: {target.name}: {binding}");
}
}
else
{
- Debug.LogWarningFormat("SkinnedMeshRenderer: {0} not found", binding.RelativePath);
+ UniGLTFLogger.Warning($"SkinnedMeshRenderer: {binding.RelativePath} not found");
}
}
}
diff --git a/Assets/VRM/Runtime/BlendShape/Blinker.cs b/Assets/VRM/Runtime/BlendShape/Blinker.cs
index 61052f97b..4eb72353a 100644
--- a/Assets/VRM/Runtime/BlendShape/Blinker.cs
+++ b/Assets/VRM/Runtime/BlendShape/Blinker.cs
@@ -107,7 +107,7 @@ namespace VRM
private void OnDisable()
{
- Debug.Log("StopCoroutine");
+ UniGLTFLogger.Log("StopCoroutine");
if (m_coroutine != null)
{
StopCoroutine(m_coroutine);
diff --git a/Assets/VRM/Runtime/BlendShape/MaterialValueBindingMerger.cs b/Assets/VRM/Runtime/BlendShape/MaterialValueBindingMerger.cs
index 59959bd0a..e2c0b7662 100644
--- a/Assets/VRM/Runtime/BlendShape/MaterialValueBindingMerger.cs
+++ b/Assets/VRM/Runtime/BlendShape/MaterialValueBindingMerger.cs
@@ -123,7 +123,7 @@ namespace VRM
}
else
{
- Debug.LogWarningFormat("material: {0} not found", binding.MaterialName);
+ UniGLTFLogger.Warning($"material: {binding.MaterialName} not found");
}
}
}
@@ -158,7 +158,7 @@ namespace VRM
}
else
{
- Debug.LogWarningFormat("{0} not found", y.MaterialName);
+ UniGLTFLogger.Warning($"{y.MaterialName} not found");
}
}
}
diff --git a/Assets/VRM/Runtime/BlendShape/MeshPreviewItem.cs b/Assets/VRM/Runtime/BlendShape/MeshPreviewItem.cs
index 07c038b89..4a0dd0592 100644
--- a/Assets/VRM/Runtime/BlendShape/MeshPreviewItem.cs
+++ b/Assets/VRM/Runtime/BlendShape/MeshPreviewItem.cs
@@ -176,10 +176,7 @@ namespace VRM
}
else
{
- Debug.LogWarningFormat("Out of range {0}: 0 <= {1} < {2}",
- SkinnedMeshRenderer.name,
- x.Index,
- SkinnedMeshRenderer.sharedMesh.blendShapeCount);
+ UniGLTFLogger.Warning($"Out of range {SkinnedMeshRenderer.name}: 0 <= {x.Index} < {SkinnedMeshRenderer.sharedMesh.blendShapeCount}");
}
}
}
diff --git a/Assets/VRM/Runtime/BlendShape/PreviewSceneManager.cs b/Assets/VRM/Runtime/BlendShape/PreviewSceneManager.cs
index 58bcfc4d1..04a6cbf02 100644
--- a/Assets/VRM/Runtime/BlendShape/PreviewSceneManager.cs
+++ b/Assets/VRM/Runtime/BlendShape/PreviewSceneManager.cs
@@ -40,7 +40,6 @@ namespace VRM
GameObject.DestroyImmediate(x.gameObject);
}
- //Debug.Log("new prefab. instanciate");
// no previous instance detected, so now let's make a fresh one
// very important: this loads the PreviewInstance prefab and temporarily instantiates it into PreviewInstance
var go = GameObject.Instantiate(prefab,
@@ -246,7 +245,6 @@ namespace VRM
{
if (m_materialMap.TryGetValue(x.MaterialName, out var item))
{
- //Debug.Log("set material");
if (item.PropMap.TryGetValue(x.ValueName, out _))
{
var offsetValue = x.TargetValue - x.BaseValue;
diff --git a/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs b/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs
index a34cdc1e8..7b00c6bc5 100644
--- a/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs
+++ b/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs
@@ -25,7 +25,7 @@ namespace VRM
}
if (string.IsNullOrEmpty((binding.RelativePath)))
{
- Debug.LogWarning("binding.RelativePath is null");
+ UniGLTFLogger.Warning("binding.RelativePath is null");
return null;
}
var found = root.transform.Find(binding.RelativePath);
@@ -35,12 +35,12 @@ namespace VRM
found = root.GetComponentsInChildren().FirstOrDefault(x => x.name == name);
if (found == null)
{
- Debug.LogWarning($"{binding.RelativePath} not found");
+ UniGLTFLogger.Warning($"{binding.RelativePath} not found");
return null;
}
else
{
- Debug.LogWarning($"fall back '{binding.RelativePath}' => '{found.RelativePathFrom(root)}'");
+ UniGLTFLogger.Warning($"fall back '{binding.RelativePath}' => '{found.RelativePathFrom(root)}'");
}
}
if (found.TryGetComponent(out var renderer))
@@ -98,7 +98,6 @@ namespace VRM
var bind = Create(exporter.Copy.transform, value, exporter);
if (bind == null)
{
- // Debug.LogFormat("{0}: skip blendshapebind", clip.name);
continue;
}
bindList.Add(bind);
diff --git a/Assets/VRM/Runtime/FirstPerson/VRMFirstPerson.cs b/Assets/VRM/Runtime/FirstPerson/VRMFirstPerson.cs
index 43e437968..0feb58325 100644
--- a/Assets/VRM/Runtime/FirstPerson/VRMFirstPerson.cs
+++ b/Assets/VRM/Runtime/FirstPerson/VRMFirstPerson.cs
@@ -61,12 +61,12 @@ namespace VRM
{
if (x.Renderer == null || x.Renderer.transform == null)
{
- Debug.LogWarning("[VRMFirstPerson] Renderer is null", this);
+ UniGLTFLogger.Warning("[VRMFirstPerson] Renderer is null", this);
return false;
}
if (!map.ContainsKey(x.Renderer.transform))
{
- Debug.LogWarning("[VRMFirstPerson] Cannot copy. Not found ?", this);
+ UniGLTFLogger.Warning("[VRMFirstPerson] Cannot copy. Not found ?", this);
return false;
}
return true;
@@ -397,7 +397,6 @@ namespace VRM
{
if (mesh != null)
{
- // Debug.LogFormat("[VRMFirstPerson] OnDestroy: {0}", mesh);
UnityEngine.Object.Destroy(mesh);
}
}
diff --git a/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Export/BuiltInVrmExtensionMaterialPropertyExporter.cs b/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Export/BuiltInVrmExtensionMaterialPropertyExporter.cs
index ba3bb8788..c2682e115 100644
--- a/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Export/BuiltInVrmExtensionMaterialPropertyExporter.cs
+++ b/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Export/BuiltInVrmExtensionMaterialPropertyExporter.cs
@@ -84,7 +84,7 @@ namespace VRM
}
if (value == -1)
{
- Debug.LogWarningFormat("not found {0}", texture.name);
+ UniGLTFLogger.Warning($"not found {texture.name}");
}
else
{
diff --git a/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/BuiltInVrmMaterialDescriptorGenerator.cs b/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/BuiltInVrmMaterialDescriptorGenerator.cs
index b48387cd0..44fabb22b 100644
--- a/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/BuiltInVrmMaterialDescriptorGenerator.cs
+++ b/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/BuiltInVrmMaterialDescriptorGenerator.cs
@@ -43,7 +43,7 @@ namespace VRM
// fallback
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"material: {i} out of range. fallback");
+ UniGLTFLogger.Warning($"material: {i} out of range. fallback");
}
return GetGltfDefault(GltfMaterialImportUtils.ImportMaterialName(i, null));
}
diff --git a/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/Materials/BuiltInVrmUnlitTransparentZWriteMaterialImporter.cs b/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/Materials/BuiltInVrmUnlitTransparentZWriteMaterialImporter.cs
index de3e7ada1..63d8526f3 100644
--- a/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/Materials/BuiltInVrmUnlitTransparentZWriteMaterialImporter.cs
+++ b/Assets/VRM/Runtime/IO/MaterialIO/BuiltInRP/Import/Materials/BuiltInVrmUnlitTransparentZWriteMaterialImporter.cs
@@ -167,7 +167,7 @@ namespace VRM
vectors,
actions);
- Debug.LogWarning($"fallback: {UnlitTransparentZWriteShaderName} => {MToon.Utils.ShaderName}");
+ UniGLTFLogger.Warning($"fallback: {UnlitTransparentZWriteShaderName} => {MToon.Utils.ShaderName}");
return true;
}
}
diff --git a/Assets/VRM/Runtime/IO/MaterialIO/URP/Import/UrpVrmMaterialDescriptorGenerator.cs b/Assets/VRM/Runtime/IO/MaterialIO/URP/Import/UrpVrmMaterialDescriptorGenerator.cs
index 10da02bdd..e97aff2dc 100644
--- a/Assets/VRM/Runtime/IO/MaterialIO/URP/Import/UrpVrmMaterialDescriptorGenerator.cs
+++ b/Assets/VRM/Runtime/IO/MaterialIO/URP/Import/UrpVrmMaterialDescriptorGenerator.cs
@@ -28,7 +28,7 @@ namespace VRM
// NOTE: Fallback to default material
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"material: {i} out of range. fallback");
+ UniGLTFLogger.Warning($"material: {i} out of range. fallback");
}
return GetGltfDefault(GltfMaterialImportUtils.ImportMaterialName(i, null));
}
diff --git a/Assets/VRM/Runtime/IO/VRMExporter.cs b/Assets/VRM/Runtime/IO/VRMExporter.cs
index ade5cc078..10b469623 100644
--- a/Assets/VRM/Runtime/IO/VRMExporter.cs
+++ b/Assets/VRM/Runtime/IO/VRMExporter.cs
@@ -45,7 +45,7 @@ namespace VRM
if (exportSettings.InverseAxis != Vrm0xSpecificationInverseAxis)
{
// migration 用に reverseX を許す
- Debug.LogWarning($"VRM specification requires InverseAxis settings as {Vrm0xSpecificationInverseAxis}");
+ UniGLTFLogger.Warning($"VRM specification requires InverseAxis settings as {Vrm0xSpecificationInverseAxis}");
}
_gltf.extensionsUsed.Add(glTF_VRM_extensions.ExtensionName);
@@ -93,7 +93,7 @@ namespace VRM
var nodeIndex = nodes.IndexOf(transform);
if (nodeIndex < 0)
{
- Debug.LogError($"ヒューマンボーンが export 対象に含まれていない?", transform);
+ UniGLTFLogger.Error($"ヒューマンボーンが export 対象に含まれていない?", transform);
}
else
{
diff --git a/Assets/VRM/Runtime/IO/VrmUtility.cs b/Assets/VRM/Runtime/IO/VrmUtility.cs
index a5a28274f..f7d79209f 100644
--- a/Assets/VRM/Runtime/IO/VrmUtility.cs
+++ b/Assets/VRM/Runtime/IO/VrmUtility.cs
@@ -25,7 +25,7 @@ namespace VRM
if (awaitCaller == null)
{
- Debug.LogWarning("VrmUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
+ UniGLTFLogger.Warning("VrmUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
awaitCaller = new ImmediateCaller();
}
@@ -57,7 +57,7 @@ namespace VRM
catch (NotVrm0Exception)
{
// retry
- Debug.LogWarning("file extension is vrm. but not vrm ?");
+ UniGLTFLogger.Warning("file extension is vrm. but not vrm ?");
using (var loader = new UniGLTF.ImporterContext(data))
{
return await loader.LoadAsync(awaitCaller);
@@ -84,7 +84,7 @@ namespace VRM
if (awaitCaller == null)
{
- Debug.LogWarning("VrmUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
+ UniGLTFLogger.Warning("VrmUtility.LoadAsync: awaitCaller argument is null. ImmediateCaller is used as the default fallback. When playing, we recommend RuntimeOnlyAwaitCaller.");
awaitCaller = new ImmediateCaller();
}
@@ -118,7 +118,7 @@ namespace VRM
catch (NotVrm0Exception)
{
// retry
- Debug.LogWarning("file extension is vrm. but not vrm ?");
+ UniGLTFLogger.Warning("file extension is vrm. but not vrm ?");
using (var loader = new UniGLTF.ImporterContext(data))
{
return await loader.LoadAsync(awaitCaller);
diff --git a/Assets/VRM/Runtime/LookAt/LookAtTargetSwitcher.cs b/Assets/VRM/Runtime/LookAt/LookAtTargetSwitcher.cs
index 8f4812f76..679a202e3 100644
--- a/Assets/VRM/Runtime/LookAt/LookAtTargetSwitcher.cs
+++ b/Assets/VRM/Runtime/LookAt/LookAtTargetSwitcher.cs
@@ -61,7 +61,6 @@ namespace VRM
if (target != m_lastTarget)
{
// blink
- //Debug.Log("request");
m_lastTarget = target;
m_blinker.Request = true;
}
diff --git a/Assets/VRM/Runtime/LookAt/VRMLookAtBoneApplyer.cs b/Assets/VRM/Runtime/LookAt/VRMLookAtBoneApplyer.cs
index dae52960b..fdfcf2737 100644
--- a/Assets/VRM/Runtime/LookAt/VRMLookAtBoneApplyer.cs
+++ b/Assets/VRM/Runtime/LookAt/VRMLookAtBoneApplyer.cs
@@ -58,7 +58,7 @@ namespace VRM
if (m_head == null)
{
enabled = false;
- Debug.LogError("[VRMLookAtBoneApplyer]VRMLookAtHead not found");
+ UniGLTFLogger.Log("[VRMLookAtBoneApplyer]VRMLookAtHead not found");
return;
}
m_head.YawPitchChanged += ApplyRotations;
diff --git a/Assets/VRM/Runtime/LookAt/VRMLookAtHead.cs b/Assets/VRM/Runtime/LookAt/VRMLookAtHead.cs
index 6073de323..fc10e28af 100644
--- a/Assets/VRM/Runtime/LookAt/VRMLookAtHead.cs
+++ b/Assets/VRM/Runtime/LookAt/VRMLookAtHead.cs
@@ -83,14 +83,14 @@ namespace VRM
var animator = this.GetComponentOrNull();
if (animator == null)
{
- Debug.LogWarning("animator is not found");
+ UniGLTFLogger.Warning("animator is not found");
return;
}
var head = animator.GetBoneTransform(HumanBodyBones.Head);
if (head == null)
{
- Debug.LogWarning("head is not found");
+ UniGLTFLogger.Warning("head is not found");
return;
}
diff --git a/Assets/VRM/Runtime/Meta/VRMMetaInformation.cs b/Assets/VRM/Runtime/Meta/VRMMetaInformation.cs
index 72b023889..736f03b70 100644
--- a/Assets/VRM/Runtime/Meta/VRMMetaInformation.cs
+++ b/Assets/VRM/Runtime/Meta/VRMMetaInformation.cs
@@ -98,7 +98,7 @@ namespace VRM
if (Thumbnail.width != 2048 || Thumbnail.height != 2048)
{
Thumbnail = null;
- Debug.LogError("Thumbnail must 2048 x 2048");
+ UniGLTFLogger.Error("Thumbnail must 2048 x 2048");
}
}
}
diff --git a/Assets/VRM/Runtime/SkinnedMeshUtility/VrmMeshUtility.cs b/Assets/VRM/Runtime/SkinnedMeshUtility/VrmMeshUtility.cs
index 424b41234..02dbb1125 100644
--- a/Assets/VRM/Runtime/SkinnedMeshUtility/VrmMeshUtility.cs
+++ b/Assets/VRM/Runtime/SkinnedMeshUtility/VrmMeshUtility.cs
@@ -62,7 +62,7 @@ namespace VRM
// Mesh 統合の後処理
// FirstPerson == "auto" の場合に
// 頭部の無いモデルを追加で作成する
- Debug.Log("generateFirstPerson");
+ UniGLTFLogger.Log("generateFirstPerson");
if (result.Integrated.Mesh != null)
{
// BlendShape 有り
@@ -87,7 +87,7 @@ namespace VRM
}
else
{
- Debug.LogWarning("no result");
+ UniGLTFLogger.Warning("no result");
}
}
diff --git a/Assets/VRM/Runtime/SpringBone/Jobs/Vrm0XFastSpringBoneRuntime.cs b/Assets/VRM/Runtime/SpringBone/Jobs/Vrm0XFastSpringBoneRuntime.cs
index 9d8c8e5a6..4e730e4ac 100644
--- a/Assets/VRM/Runtime/SpringBone/Jobs/Vrm0XFastSpringBoneRuntime.cs
+++ b/Assets/VRM/Runtime/SpringBone/Jobs/Vrm0XFastSpringBoneRuntime.cs
@@ -51,7 +51,7 @@ namespace VRM
void Unregister()
{
- Debug.Log("Vrm0XFastSpringboneRuntime.Unregister");
+ UniGLTFLogger.Log("Vrm0XFastSpringboneRuntime.Unregister");
if (m_buffer == null)
{
return;
diff --git a/Assets/VRM/Runtime/SpringBone/VRMSpringBone.cs.meta b/Assets/VRM/Runtime/SpringBone/VRMSpringBone.cs.meta
index a811724a1..355c98629 100644
--- a/Assets/VRM/Runtime/SpringBone/VRMSpringBone.cs.meta
+++ b/Assets/VRM/Runtime/SpringBone/VRMSpringBone.cs.meta
@@ -5,7 +5,7 @@ MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
- icon: {fileID: 2800000, guid: 7656e3d0da852c54e979d2887196ef75, type: 3}
+ icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
diff --git a/Assets/VRM/Runtime/SpringBone/VRMSpringUtility.cs b/Assets/VRM/Runtime/SpringBone/VRMSpringUtility.cs
index 7f1c937e5..eeefc1ab6 100644
--- a/Assets/VRM/Runtime/SpringBone/VRMSpringUtility.cs
+++ b/Assets/VRM/Runtime/SpringBone/VRMSpringUtility.cs
@@ -135,7 +135,7 @@ namespace VRM
}
else
{
- Debug.LogError("Broken collider group");
+ UniGLTFLogger.Error("Broken collider group");
break;
}
}
diff --git a/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.asmdef b/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.asmdef
new file mode 100644
index 000000000..fd7f783ee
--- /dev/null
+++ b/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.asmdef
@@ -0,0 +1,18 @@
+{
+ "name": "BlendShapeMenu",
+ "rootNamespace": "",
+ "references": [
+ "GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412",
+ "GUID:05dd262a0c0a2f841b8252c8c3815582"
+ ],
+ "includePlatforms": [],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
\ No newline at end of file
diff --git a/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.asmdef.meta b/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.asmdef.meta
new file mode 100644
index 000000000..959831536
--- /dev/null
+++ b/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 65a83bac7c049b341b41b20eac1c926d
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.cs b/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.cs
index 95ae2a461..4f5dabe6a 100644
--- a/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.cs
+++ b/Assets/VRM/Samples~/BlendShapeMenu/BlendShapeMenu.cs
@@ -1,5 +1,6 @@
using System.IO;
using System.Text;
+using UniGLTF;
using UnityEditor;
using UnityEngine;
@@ -82,11 +83,10 @@ namespace VRM.Sample.BlendShapeMenu
[MenuItem("CONTEXT/BlendShapeAvatar/Add ARKit FaceTracking BlendShapes")]
public static void AddARKitFaceTrackingBlendShapes(MenuCommand command)
{
- // Debug.Log(command.context);
var avatar = command.context as BlendShapeAvatar;
if (avatar == null)
{
- Debug.LogError("no context");
+ UniGLTFLogger.Error("no context");
return;
}
@@ -124,17 +124,16 @@ namespace VRM.Sample.BlendShapeMenu
avatar.Clips.Add(clip);
}
- Debug.Log("Create\n" + sb.ToString());
+ UniGLTFLogger.Log("Create\n" + sb.ToString());
}
[MenuItem("CONTEXT/BlendShapeAvatar/Assign all BlendShapes in a folder")]
static void AssginAllBlendShapesInAFolder(MenuCommand command)
{
- // Debug.Log(command.context);
var avatar = command.context as BlendShapeAvatar;
if (avatar == null)
{
- Debug.LogError("no context");
+ UniGLTFLogger.Error("no context");
return;
}
var assetPath = AssetDatabase.GetAssetPath(avatar);
@@ -175,7 +174,7 @@ namespace VRM.Sample.BlendShapeMenu
avatar.Clips.Add(clip);
}
- Debug.Log($"Assign\n" + sb.ToString());
+ UniGLTFLogger.Log($"Assign\n" + sb.ToString());
}
#endif
}
diff --git a/Assets/VRM/Samples~/FirstPersonSample/VRM.Samples.FirstPersonSample.asmdef b/Assets/VRM/Samples~/FirstPersonSample/VRM.Samples.FirstPersonSample.asmdef
index fd74fd317..5ae8a8c26 100644
--- a/Assets/VRM/Samples~/FirstPersonSample/VRM.Samples.FirstPersonSample.asmdef
+++ b/Assets/VRM/Samples~/FirstPersonSample/VRM.Samples.FirstPersonSample.asmdef
@@ -1,9 +1,10 @@
{
"name": "VRM.Samples.FirstPersonSample",
+ "rootNamespace": "",
"references": [
- "GUID:da3e51d19d51a544fa14d43fee843098",
- "GUID:b7aa47b240b57de44a4b2021c143c9bf",
"GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412",
+ "GUID:b7aa47b240b57de44a4b2021c143c9bf",
"GUID:05dd262a0c0a2f841b8252c8c3815582"
],
"includePlatforms": [],
diff --git a/Assets/VRM/Samples~/FirstPersonSample/VRMRuntimeLoader.cs b/Assets/VRM/Samples~/FirstPersonSample/VRMRuntimeLoader.cs
index 8ca9f94e0..be8a35132 100644
--- a/Assets/VRM/Samples~/FirstPersonSample/VRMRuntimeLoader.cs
+++ b/Assets/VRM/Samples~/FirstPersonSample/VRMRuntimeLoader.cs
@@ -60,7 +60,7 @@ namespace VRM.FirstPersonSample
{
if (m_canvas == null)
{
- Debug.LogWarning("no canvas");
+ UniGLTFLogger.Warning("no canvas");
return;
}
@@ -162,7 +162,7 @@ namespace VRM.FirstPersonSample
void LoadBvh(string path)
{
- Debug.LogFormat("ImportBvh: {0}", path);
+ UniGLTFLogger.Log($"ImportBvh: {path}");
var context = new UniHumanoid.BvhImporterContext();
context.Parse(path);
diff --git a/Assets/VRM/Samples~/RuntimeExporterSample/VRM.Samples.RuntimeExporterSample.asmdef b/Assets/VRM/Samples~/RuntimeExporterSample/VRM.Samples.RuntimeExporterSample.asmdef
index d4c423ecd..c7bdeb5b8 100644
--- a/Assets/VRM/Samples~/RuntimeExporterSample/VRM.Samples.RuntimeExporterSample.asmdef
+++ b/Assets/VRM/Samples~/RuntimeExporterSample/VRM.Samples.RuntimeExporterSample.asmdef
@@ -1,8 +1,9 @@
{
"name": "VRM.Samples.RuntimeExporterSample",
+ "rootNamespace": "",
"references": [
- "GUID:da3e51d19d51a544fa14d43fee843098",
"GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412",
"GUID:05dd262a0c0a2f841b8252c8c3815582"
],
"includePlatforms": [],
diff --git a/Assets/VRM/Samples~/RuntimeExporterSample/VRMRuntimeExporter.cs b/Assets/VRM/Samples~/RuntimeExporterSample/VRMRuntimeExporter.cs
index ad237600c..2a5f7f4b8 100644
--- a/Assets/VRM/Samples~/RuntimeExporterSample/VRMRuntimeExporter.cs
+++ b/Assets/VRM/Samples~/RuntimeExporterSample/VRMRuntimeExporter.cs
@@ -82,7 +82,7 @@ namespace VRM.RuntimeExporterSample
// add blendshape clip to avatar.Clips
var clip = ScriptableObject.CreateInstance();
var name = $"custom#{avatar.Clips.Count}";
- Debug.Log($"Add {name}");
+ UniGLTFLogger.Log($"Add {name}");
// unity asset name
clip.name = name;
// vrm export name
@@ -131,7 +131,7 @@ namespace VRM.RuntimeExporterSample
var bytes = useNormalize ? ExportCustom(model, false, bakeBlendShape) : ExportSimple(model);
File.WriteAllBytes(path, bytes);
- Debug.LogFormat("export to {0}", path);
+ UniGLTFLogger.Log($"export to {path}");
}
static byte[] ExportSimple(GameObject model)
@@ -151,7 +151,7 @@ namespace VRM.RuntimeExporterSample
void OnExported(UniGLTF.glTF vrm)
{
- Debug.LogFormat("exported");
+ UniGLTFLogger.Log("exported");
}
}
}
diff --git a/Assets/VRM/Samples~/SimpleViewer/AIUEO.cs b/Assets/VRM/Samples~/SimpleViewer/AIUEO.cs
index 2edcd72b1..69e7142c8 100644
--- a/Assets/VRM/Samples~/SimpleViewer/AIUEO.cs
+++ b/Assets/VRM/Samples~/SimpleViewer/AIUEO.cs
@@ -1,4 +1,5 @@
using System.Collections;
+using UniGLTF;
using UnityEngine;
@@ -67,7 +68,7 @@ namespace VRM.SimpleViewer
private void OnDisable()
{
- Debug.Log("StopCoroutine");
+ UniGLTFLogger.Log("StopCoroutine");
StopCoroutine(m_coroutine);
}
}
diff --git a/Assets/VRM/Samples~/SimpleViewer/FileDialog/FileUtil.cs b/Assets/VRM/Samples~/SimpleViewer/FileDialog/FileUtil.cs
index b7c73f2c8..4d98bd9c5 100644
--- a/Assets/VRM/Samples~/SimpleViewer/FileDialog/FileUtil.cs
+++ b/Assets/VRM/Samples~/SimpleViewer/FileDialog/FileUtil.cs
@@ -4,22 +4,22 @@ namespace VRM.SimpleViewer
{
public static string OpenFileDialog(string title, params string[] extensions)
{
-#if UNITY_STANDALONE_WIN
- return FileDialogForWindows.FileDialog(title, extensions);
-#elif UNITY_WEBGL
- // Open WebGLFileDialog
- // see: Assets\VRM_Samples\SimpleViewer\Plugins\OpenFile.jslib
- WebGLUtil.WebGLFileDialog();
- // Control flow does not return here. return empty string with dummy
- return "";
-#elif UNITY_EDITOR
+#if UNITY_EDITOR
// EditorUtility.OpenFilePanel
// TODO: How to specify multiple extensions on OSX?
// https://github.com/vrm-c/UniVRM/issues/1837
return UnityEditor.EditorUtility.OpenFilePanel(title, "", extensions[0]);
+#elif UNITY_STANDALONE_WIN
+ return FileDialogForWindows.FileDialog(title, extensions);
+#elif UNITY_WEBGL
+ // Open WebGL_VRM0X_SimpleViewer_FileDialog
+ // see: Assets/UniGLTF/Runtime/Utils/Plugins/OpenFile.jslib
+ WebGLUtil.WebGL_VRM0X_SimpleViewer_FileDialog("Canvas", "FileSelected");
+ // Control flow does not return here. return empty string with dummy
+ return "";
#else
// fall back constant path
- UnityEngine.Debug.LogWarning("Non-Windows runtime file dialogs are not yet implemented.");
+ UnityEngine.UniGLTFLogger.Warning("Non-Windows runtime file dialogs are not yet implemented.");
return UnityEngine.Application.dataPath + "/default.vrm";
#endif
}
diff --git a/Assets/VRM/Samples~/SimpleViewer/FileDialog/WebGLUtil.cs b/Assets/VRM/Samples~/SimpleViewer/FileDialog/WebGLUtil.cs
index 1d94e2de8..06dea7b71 100644
--- a/Assets/VRM/Samples~/SimpleViewer/FileDialog/WebGLUtil.cs
+++ b/Assets/VRM/Samples~/SimpleViewer/FileDialog/WebGLUtil.cs
@@ -6,7 +6,7 @@ namespace VRM.SimpleViewer
public static class WebGLUtil
{
[DllImport("__Internal")]
- public static extern void WebGLFileDialog();
+ public static extern void WebGL_VRM0X_SimpleViewer_FileDialog(string target, string message);
}
}
-#endif
\ No newline at end of file
+#endif
diff --git a/Assets/VRM/Samples~/SimpleViewer/Plugins.meta b/Assets/VRM/Samples~/SimpleViewer/Plugins.meta
index fdecce026..7c4d5035c 100644
--- a/Assets/VRM/Samples~/SimpleViewer/Plugins.meta
+++ b/Assets/VRM/Samples~/SimpleViewer/Plugins.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ccb1849bc34bcd740ba2e17462125200
+guid: 453de3a4f46d44d4087a1fca730e04d5
folderAsset: yes
DefaultImporter:
externalObjects: {}
diff --git a/Assets/VRM/Samples~/SimpleViewer/Plugins/WebGL_VRM0X_SimpleViewer.jslib b/Assets/VRM/Samples~/SimpleViewer/Plugins/WebGL_VRM0X_SimpleViewer.jslib
new file mode 100644
index 000000000..11c9321aa
--- /dev/null
+++ b/Assets/VRM/Samples~/SimpleViewer/Plugins/WebGL_VRM0X_SimpleViewer.jslib
@@ -0,0 +1,23 @@
+mergeInto(LibraryManager.library, {
+ WebGL_VRM0X_SimpleViewer_FileDialog: function (_target, _message) {
+ const target = UTF8ToString(_target);
+ const message = UTF8ToString(_message);
+ const file_input_id = "file-input";
+ var file_input = document.getElementById(file_input_id);
+ if (!file_input) {
+ file_input = document.createElement('input');
+ file_input.setAttribute('type', 'file');
+ file_input.setAttribute('id', file_input_id);
+ file_input.style.visibility = 'hidden';
+ file_input.onclick = function (event) {
+ event.target.value = null;
+ };
+ file_input.onchange = function (event) {
+ console.log('SendMessage', target, message);
+ SendMessage(target, message, URL.createObjectURL(event.target.files[0]));
+ }
+ document.body.appendChild(file_input);
+ }
+ file_input.click();
+ },
+});
diff --git a/Assets/VRM/Samples~/SimpleViewer/Plugins/WebGL_VRM0X_SimpleViewer.jslib.meta b/Assets/VRM/Samples~/SimpleViewer/Plugins/WebGL_VRM0X_SimpleViewer.jslib.meta
new file mode 100644
index 000000000..d1ccd5cd3
--- /dev/null
+++ b/Assets/VRM/Samples~/SimpleViewer/Plugins/WebGL_VRM0X_SimpleViewer.jslib.meta
@@ -0,0 +1,32 @@
+fileFormatVersion: 2
+guid: ef25d97dc58954a4ca17b4173225e58f
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 0
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 0
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ WebGL: WebGL
+ second:
+ enabled: 1
+ settings: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM/Samples~/SimpleViewer/VRM.Samples.SimpleViewer.asmdef b/Assets/VRM/Samples~/SimpleViewer/VRM.Samples.SimpleViewer.asmdef
index ccfa5649c..b356b2415 100644
--- a/Assets/VRM/Samples~/SimpleViewer/VRM.Samples.SimpleViewer.asmdef
+++ b/Assets/VRM/Samples~/SimpleViewer/VRM.Samples.SimpleViewer.asmdef
@@ -2,9 +2,9 @@
"name": "VRM.Samples.SimpleViewer",
"rootNamespace": "",
"references": [
- "GUID:da3e51d19d51a544fa14d43fee843098",
- "GUID:b7aa47b240b57de44a4b2021c143c9bf",
"GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412",
+ "GUID:b7aa47b240b57de44a4b2021c143c9bf",
"GUID:05dd262a0c0a2f841b8252c8c3815582",
"GUID:3e5d614bc16b50d41bd94c8d7444ca46"
],
diff --git a/Assets/VRM/Samples~/SimpleViewer/ViewerUI.cs b/Assets/VRM/Samples~/SimpleViewer/ViewerUI.cs
index 3a4988c90..e3e03d610 100644
--- a/Assets/VRM/Samples~/SimpleViewer/ViewerUI.cs
+++ b/Assets/VRM/Samples~/SimpleViewer/ViewerUI.cs
@@ -4,7 +4,6 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using UniGLTF;
-using UniGLTF.SpringBoneJobs;
using UniHumanoid;
using Unity.Collections;
using UnityEngine;
@@ -180,7 +179,7 @@ namespace VRM.SimpleViewer
}
else
{
- Debug.Log("motion: no toggle");
+ UniGLTFLogger.Log("motion: no toggle");
}
}
}
@@ -294,8 +293,7 @@ namespace VRM.SimpleViewer
private void Start()
{
- m_version.text = string.Format("VRMViewer {0}.{1}",
- PackageVersion.MAJOR, PackageVersion.MINOR);
+ m_version.text = string.Format("SimpleViewer {0}", PackageVersion.VERSION);
m_open.onClick.AddListener(OnOpenClicked);
m_reset.onClick.AddListener(() => m_loaded?.ResetSpringbone());
@@ -359,9 +357,9 @@ namespace VRM.SimpleViewer
IEnumerator LoadCoroutine(string url)
{
- var www = new UnityEngine.Networking.UnityWebRequest(url);
+ var www = new WWW(url);
yield return www;
- var task = LoadBytesAsync("WebGL.vrm", www.downloadHandler.data);
+ var task = LoadBytesAsync("WebGL.vrm", www.bytes);
}
///
@@ -370,7 +368,7 @@ namespace VRM.SimpleViewer
///
public void FileSelected(string url)
{
- Debug.Log($"FileSelected: {url}");
+ UniGLTFLogger.Log($"FileSelected: {url}");
StartCoroutine(LoadCoroutine(url));
}
@@ -388,7 +386,7 @@ namespace VRM.SimpleViewer
{
if (!File.Exists(path))
{
- Debug.LogWarning($"{path} not exists");
+ UniGLTFLogger.Warning($"{path} not exists");
return;
}
var bytes = File.ReadAllBytes(path);
@@ -398,7 +396,7 @@ namespace VRM.SimpleViewer
public async Task LoadBytesAsync(string path, byte[] bytes)
{
var size = bytes != null ? bytes.Length : 0;
- Debug.Log($"LoadModelAsync: {path}: {size}bytes");
+ UniGLTFLogger.Log($"LoadModelAsync: {path}: {size}bytes");
var ext = Path.GetExtension(path).ToLower();
if (ext == ".bvh")
diff --git a/Assets/VRM/package.json b/Assets/VRM/package.json
index 3cce4e73b..49b2d9548 100644
--- a/Assets/VRM/package.json
+++ b/Assets/VRM/package.json
@@ -1,6 +1,6 @@
{
"name": "com.vrmc.univrm",
- "version": "0.128.1",
+ "version": "0.128.2",
"displayName": "VRM",
"description": "VRM importer",
"unity": "2021.3",
@@ -14,7 +14,7 @@
"name": "VRM Consortium"
},
"dependencies": {
- "com.vrmc.gltf": "0.128.1",
+ "com.vrmc.gltf": "0.128.2",
"com.unity.ugui": "1.0.0"
},
"samples": [
diff --git a/Assets/VRM10/Editor/BuildClass.cs b/Assets/VRM10/Editor/BuildClass.cs
new file mode 100644
index 000000000..230151a98
--- /dev/null
+++ b/Assets/VRM10/Editor/BuildClass.cs
@@ -0,0 +1,27 @@
+using UnityEditor;
+
+namespace UniVRM10.DevOnly
+{
+ public static class BuildClass
+ {
+ public static void BuildWebGL_VRM10Viewer()
+ {
+ var scenes = new string[]{
+ "./Assets/VRM10_Samples/VRM10Viewer/VRM10Viewer.unity",
+ };
+
+ var report = BuildPipeline.BuildPlayer(new BuildPlayerOptions
+ {
+ scenes = scenes,
+ locationPathName = "Build/VRM10Viewer",
+ target = BuildTarget.WebGL,
+ }
+ );
+
+ if (report.summary.result != UnityEditor.Build.Reporting.BuildResult.Succeeded)
+ {
+ throw new System.Exception(report.summary.ToString());
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Editor/BuildClass.cs.meta b/Assets/VRM10/Editor/BuildClass.cs.meta
new file mode 100644
index 000000000..df70f0176
--- /dev/null
+++ b/Assets/VRM10/Editor/BuildClass.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 3783cb4bfaca889418092d0fdde301ad
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Editor/Components/ScrollView.cs b/Assets/VRM10/Editor/Components/ScrollView.cs
index 0a35ab38d..6de720b64 100644
--- a/Assets/VRM10/Editor/Components/ScrollView.cs
+++ b/Assets/VRM10/Editor/Components/ScrollView.cs
@@ -30,7 +30,6 @@ namespace UniVRM10
if (isScroll)
{
var maxScroll = bottom.y - (height - EditorGUIUtility.singleLineHeight * 2);
- // Debug.Log($"{bottom.y}: {this.position.size.y}: {maxScroll}");
if (m_scrollPosition.y > maxScroll)
{
m_scrollPosition = new Vector2(0, maxScroll);
diff --git a/Assets/VRM10/Editor/Components/SpringBone/CustomInspector.cs b/Assets/VRM10/Editor/Components/SpringBone/CustomInspector.cs
index fb8d83a76..36941c5d8 100644
--- a/Assets/VRM10/Editor/Components/SpringBone/CustomInspector.cs
+++ b/Assets/VRM10/Editor/Components/SpringBone/CustomInspector.cs
@@ -30,10 +30,6 @@ namespace UniVRM10
continue;
}
-#if DEBUG
- // Debug.Log($"{iterator.propertyPath}({iterator.propertyType})");
-#endif
-
if (m_callback is null || !m_callback(iterator))
{
EditorGUI.indentLevel = iterator.depth + m_depth;
diff --git a/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs b/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs
index 079129434..012a3e162 100644
--- a/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs
+++ b/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs
@@ -43,7 +43,11 @@ namespace UniVRM10
{
bindingPath = nameof(VRM10SpringBoneColliderGroup.Colliders)
};
+#if UNITY_2022_3_OR_NEWER
m_colliders.selectionChanged += (e) =>
+#else
+ m_colliders.onSelectionChange += (e) =>
+#endif
{
var item = (SerializedProperty)e.FirstOrDefault();
if (item == null)
diff --git a/Assets/VRM10/Editor/Components/VRM10MetaEditor.cs b/Assets/VRM10/Editor/Components/VRM10MetaEditor.cs
index 67d442e0e..0582a2dfd 100644
--- a/Assets/VRM10/Editor/Components/VRM10MetaEditor.cs
+++ b/Assets/VRM10/Editor/Components/VRM10MetaEditor.cs
@@ -124,7 +124,6 @@ namespace UniVRM10
{
var r = GUILayoutUtility.GetRect(GUIContent.none, GUIStyle.none, GUILayout.Height(EditorGUIUtility.singleLineHeight));
var (left, right) = FixedRight(r, 64);
- // Debug.Log($"{left}, {right}");
EditorGUI.LabelField(left, label);
EditorGUI.PropertyField(right, prop, new GUIContent(""), false);
}
diff --git a/Assets/VRM10/Editor/Components/VRM10MetaPropertyValidator.cs b/Assets/VRM10/Editor/Components/VRM10MetaPropertyValidator.cs
index d95ebaa71..5db12ac27 100644
--- a/Assets/VRM10/Editor/Components/VRM10MetaPropertyValidator.cs
+++ b/Assets/VRM10/Editor/Components/VRM10MetaPropertyValidator.cs
@@ -47,7 +47,6 @@ namespace UniVRM10
if (match != null && iterator.type == "string")
{
// ArrayItem
- // Debug.Log($"{match.Groups[1].Value}");
iterator.stringValue = EditorGUILayout.TextField($" {arrayName}[{match.Groups[1].Value}]", iterator.stringValue);
}
else
diff --git a/Assets/VRM10/Editor/EditorTool/VRM10BoneSelectorEditorTool.cs b/Assets/VRM10/Editor/EditorTool/VRM10BoneSelectorEditorTool.cs
index 250e4b981..aa4603745 100644
--- a/Assets/VRM10/Editor/EditorTool/VRM10BoneSelectorEditorTool.cs
+++ b/Assets/VRM10/Editor/EditorTool/VRM10BoneSelectorEditorTool.cs
@@ -88,7 +88,6 @@ namespace UniVRM10
{
EditorGUI.BeginChangeCheck();
Quaternion rot = Handles.RotationHandle(selected.HeadObject.transform.rotation, selected.HeadObject.transform.position);
- // Debug.Log($"{selected}");
if (EditorGUI.EndChangeCheck())
{
// UNDO
diff --git a/Assets/VRM10/Editor/MeshUtility/Vrm10ExpressionUpdater.cs b/Assets/VRM10/Editor/MeshUtility/Vrm10ExpressionUpdater.cs
index e435e1fa0..e95928653 100644
--- a/Assets/VRM10/Editor/MeshUtility/Vrm10ExpressionUpdater.cs
+++ b/Assets/VRM10/Editor/MeshUtility/Vrm10ExpressionUpdater.cs
@@ -68,13 +68,13 @@ namespace UniVRM10
};
if (used.Contains(binding))
{
- Debug.LogWarning($"duplicated: {binding}");
+ UniGLTFLogger.Warning($"duplicated: {binding}");
}
else
{
if (Symbols.VRM_DEVELOP)
{
- Debug.Log($"{val} >> {binding}");
+ UniGLTFLogger.Log($"{val} >> {binding}");
}
used.Add(binding);
yield return binding;
@@ -84,7 +84,7 @@ namespace UniVRM10
else
{
// skip
- Debug.LogWarning($"SkinnedMeshRenderer not found: {val.RelativePath}");
+ UniGLTFLogger.Warning($"SkinnedMeshRenderer not found: {val.RelativePath}");
}
}
}
diff --git a/Assets/VRM10/Editor/ScriptedImporter/VrmScriptedImporterImpl.cs b/Assets/VRM10/Editor/ScriptedImporter/VrmScriptedImporterImpl.cs
index a3c5d71b2..4b58034e5 100644
--- a/Assets/VRM10/Editor/ScriptedImporter/VrmScriptedImporterImpl.cs
+++ b/Assets/VRM10/Editor/ScriptedImporter/VrmScriptedImporterImpl.cs
@@ -86,7 +86,7 @@ namespace UniVRM10
{
if (Symbols.VRM_DEVELOP)
{
- Debug.Log("OnImportAsset to " + scriptedImporter.assetPath);
+ UniGLTFLogger.Log("OnImportAsset to " + scriptedImporter.assetPath);
}
// 1st parse as vrm1
@@ -117,7 +117,7 @@ namespace UniVRM10
// fail to migrate...
if (migration != null)
{
- Debug.LogWarning(migration.Message);
+ UniGLTFLogger.Warning(migration.Message);
}
return;
}
diff --git a/Assets/VRM10/Editor/Vrm10ExportDialog.cs b/Assets/VRM10/Editor/Vrm10ExportDialog.cs
index 091662f6f..f1872e585 100644
--- a/Assets/VRM10/Editor/Vrm10ExportDialog.cs
+++ b/Assets/VRM10/Editor/Vrm10ExportDialog.cs
@@ -45,7 +45,7 @@ namespace UniVRM10
if (value != null && AssetDatabase.IsSubAsset(value))
{
// SubAsset is readonly. copy
- Debug.Log("copy VRM10ObjectMeta");
+ UniGLTFLogger.Log("copy VRM10ObjectMeta");
value.Meta.CopyTo(m_tmpObject.Meta);
return;
}
@@ -197,7 +197,7 @@ namespace UniVRM10
}
else
{
- Debug.LogWarning("not found");
+ UniGLTFLogger.Warning("not found");
}
}
}
@@ -288,7 +288,7 @@ namespace UniVRM10
{
if (m_settings.FreezeMesh)
{
- Debug.Log("vrm-1.0 FreezeMesh");
+ UniGLTFLogger.Log("vrm-1.0 FreezeMesh");
var copy = GameObject.Instantiate(root);
copy.GetComponent().UpdateType = Vrm10Instance.UpdateTypes.None;
disposer.Push(copy);
@@ -329,7 +329,7 @@ namespace UniVRM10
m_logLabel += $"write to {path}...\n";
File.WriteAllBytes(path, exportedBytes);
- Debug.Log("exportedBytes: " + exportedBytes.Length);
+ UniGLTFLogger.Log("exportedBytes: " + exportedBytes.Length);
var assetPath = UniGLTF.UnityPath.FromFullpath(path);
if (assetPath.IsUnderWritableFolder)
@@ -344,7 +344,7 @@ namespace UniVRM10
m_logLabel += ex.ToString();
// rethrow
//throw;
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
}
}
}
diff --git a/Assets/VRM10/Editor/Vrm10InstanceEditor.cs b/Assets/VRM10/Editor/Vrm10InstanceEditor.cs
index 4c6cc7c28..906398682 100644
--- a/Assets/VRM10/Editor/Vrm10InstanceEditor.cs
+++ b/Assets/VRM10/Editor/Vrm10InstanceEditor.cs
@@ -309,7 +309,11 @@ namespace UniVRM10
root.Add(m_springs);
var selected = new PropertyField();
+#if UNITY_2022_3_OR_NEWER
m_springs.selectedIndicesChanged += (e) =>
+#else
+ m_springs.onSelectedIndicesChange += (e) =>
+#endif
{
var values = e.ToArray();
if (values.Length > 0)
diff --git a/Assets/VRM10/Editor/Vrm10SerializerGenerator.cs b/Assets/VRM10/Editor/Vrm10SerializerGenerator.cs
index 034f3b792..0229699b6 100644
--- a/Assets/VRM10/Editor/Vrm10SerializerGenerator.cs
+++ b/Assets/VRM10/Editor/Vrm10SerializerGenerator.cs
@@ -1,4 +1,5 @@
using System.IO;
+using UniGLTF;
using UnityEditor;
using UnityEngine;
@@ -94,14 +95,14 @@ namespace UniVRM10
var extensionSchema = parser.Load(extensionSchemaPath, "");
var formatDst = new DirectoryInfo(Path.Combine(projectRoot.FullName, arg.FormatDir));
- Debug.Log($"Format.g Dir: {formatDst}");
+ UniGLTFLogger.Log($"Format.g Dir: {formatDst}");
var serializerDst = new DirectoryInfo(Path.Combine(projectRoot.FullName, arg.SerializerDir));
- Debug.Log($"Serializer/Deserializer.g Dir: {serializerDst}");
+ UniGLTFLogger.Log($"Serializer/Deserializer.g Dir: {serializerDst}");
if (debug)
{
- Debug.Log(extensionSchema.Dump());
+ UniGLTFLogger.Log(extensionSchema.Dump());
}
else
{
diff --git a/Assets/VRM10/Editor/Vrm10TopMenu.cs b/Assets/VRM10/Editor/Vrm10TopMenu.cs
index e0cc2d8eb..ace2ff2cf 100644
--- a/Assets/VRM10/Editor/Vrm10TopMenu.cs
+++ b/Assets/VRM10/Editor/Vrm10TopMenu.cs
@@ -26,6 +26,9 @@ namespace UniVRM10
[MenuItem(DevelopmentMenuPrefix + "/Generate from JsonSchema(debug)", false, 101)]
private static void Parse() => Vrm10SerializerGenerator.Run(true);
+
+ [MenuItem(DevelopmentMenuPrefix + "/Build WebGL VRM10Viewer for CI", false, 201)]
+ private static void BuildWebGLForCi10() => DevOnly.BuildClass.BuildWebGL_VRM10Viewer();
#endif
}
}
diff --git a/Assets/VRM10/MToon10/Editor/EditorMenu.cs b/Assets/VRM10/MToon10/Editor/EditorMenu.cs
index 388891199..5259b2807 100644
--- a/Assets/VRM10/MToon10/Editor/EditorMenu.cs
+++ b/Assets/VRM10/MToon10/Editor/EditorMenu.cs
@@ -1,4 +1,5 @@
using System.Linq;
+using UniGLTF;
using UnityEditor;
using UnityEngine;
@@ -25,11 +26,11 @@ namespace VRM10.MToon10.Editor
if (obj is Material material && migrator.TryMigrate(material, validateShaderName: true))
{
- Debug.Log($"Migrated {material.name} to MToon10");
+ UniGLTFLogger.Log($"Migrated {material.name} to MToon10");
}
else
{
- Debug.LogWarning($"Failed to migrate {obj.name} to MToon10");
+ UniGLTFLogger.Warning($"Failed to migrate {obj.name} to MToon10");
}
}
}
diff --git a/Assets/VRM10/MToon10/Editor/VRM10.MToon10.Editor.asmdef b/Assets/VRM10/MToon10/Editor/VRM10.MToon10.Editor.asmdef
index 20754f5c4..3915e0025 100644
--- a/Assets/VRM10/MToon10/Editor/VRM10.MToon10.Editor.asmdef
+++ b/Assets/VRM10/MToon10/Editor/VRM10.MToon10.Editor.asmdef
@@ -2,6 +2,7 @@
"name": "VRM10.MToon10.Editor",
"rootNamespace": "",
"references": [
+ "GUID:1cd941934d098654fa21a13f28346412",
"GUID:0aaf403bd13871a44b7127aef2695ff8"
],
"includePlatforms": [
diff --git a/Assets/VRM10/MToon10/Runtime/MToon0X/MToon0XUtilsGetter.cs b/Assets/VRM10/MToon10/Runtime/MToon0X/MToon0XUtilsGetter.cs
index d6953a3e3..67a3c6af4 100644
--- a/Assets/VRM10/MToon10/Runtime/MToon0X/MToon0XUtilsGetter.cs
+++ b/Assets/VRM10/MToon10/Runtime/MToon0X/MToon0XUtilsGetter.cs
@@ -1,3 +1,4 @@
+using UniGLTF;
using UnityEngine;
namespace VRM10.MToon10.MToon0X
@@ -118,7 +119,7 @@ namespace VRM10.MToon10.MToon0X
case DisabledIntValue:
return MToon0XRenderMode.Transparent;
default:
- Debug.LogWarning("Invalid ZWrite Int Value.");
+ UniGLTFLogger.Warning("Invalid ZWrite Int Value.");
return MToon0XRenderMode.Transparent;
}
}
@@ -139,7 +140,7 @@ namespace VRM10.MToon10.MToon0X
case MToon0XCullMode.Back:
return MToon0XCullMode.Back;
default:
- Debug.LogWarning("Invalid CullMode.");
+ UniGLTFLogger.Warning("Invalid CullMode.");
return MToon0XCullMode.Back;
}
}
diff --git a/Assets/VRM10/MToon10/Runtime/VRM10.MToon10.Runtime.asmdef b/Assets/VRM10/MToon10/Runtime/VRM10.MToon10.Runtime.asmdef
index 64d63c1a8..a640b15d1 100644
--- a/Assets/VRM10/MToon10/Runtime/VRM10.MToon10.Runtime.asmdef
+++ b/Assets/VRM10/MToon10/Runtime/VRM10.MToon10.Runtime.asmdef
@@ -3,7 +3,8 @@
"rootNamespace": "",
"references": [
"GUID:15fc0a57446b3144c949da3e2b9737a9",
- "GUID:df380645f10b7bc4b97d4f5eb6303d95"
+ "GUID:df380645f10b7bc4b97d4f5eb6303d95",
+ "GUID:1cd941934d098654fa21a13f28346412"
],
"includePlatforms": [],
"excludePlatforms": [],
diff --git a/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs.meta b/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs.meta
index 43c836095..205e03dc4 100644
--- a/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs.meta
+++ b/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs.meta
@@ -5,7 +5,7 @@ MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
- icon: {fileID: 2800000, guid: ad4861e134018c948ac79793d290f48b, type: 3}
+ icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
diff --git a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs.meta b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs.meta
index 46236ae1e..4c6dc5979 100644
--- a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs.meta
+++ b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs.meta
@@ -5,7 +5,7 @@ MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
- icon: {fileID: 2800000, guid: ad4861e134018c948ac79793d290f48b, type: 3}
+ icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
diff --git a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs.meta b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs.meta
index 82c8c0e65..4eaea4e14 100644
--- a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs.meta
+++ b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs.meta
@@ -5,7 +5,7 @@ MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
- icon: {fileID: 2800000, guid: ad4861e134018c948ac79793d290f48b, type: 3}
+ icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
diff --git a/Assets/VRM10/Runtime/Components/Expression/ExpressionMerger.cs b/Assets/VRM10/Runtime/Components/Expression/ExpressionMerger.cs
index c67515913..61cded5fc 100644
--- a/Assets/VRM10/Runtime/Components/Expression/ExpressionMerger.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/ExpressionMerger.cs
@@ -61,6 +61,11 @@ namespace UniVRM10
return;
}
+ if (clip.IsBinary)
+ {
+ value = value > 0 ? 1 : 0;
+ }
+
m_morphTargetBindingMerger.AccumulateValue(key, value);
m_materialValueBindingMerger.AccumulateValue(clip, value);
}
diff --git a/Assets/VRM10/Runtime/Components/Expression/MaterialValueBindingMerger.cs b/Assets/VRM10/Runtime/Components/Expression/MaterialValueBindingMerger.cs
index 30983ea60..bdd6b20bd 100644
--- a/Assets/VRM10/Runtime/Components/Expression/MaterialValueBindingMerger.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/MaterialValueBindingMerger.cs
@@ -22,10 +22,6 @@ namespace UniVRM10
{
switch (bindType)
{
- // case MaterialBindType.UvOffset:
- // case MaterialBindType.UvScale:
- // return UV_PROPERTY;
-
case MaterialColorType.color:
return COLOR_PROPERTY;
diff --git a/Assets/VRM10/Runtime/Components/Expression/MorphTargetBinding.cs b/Assets/VRM10/Runtime/Components/Expression/MorphTargetBinding.cs
index 9a4ca77c3..fac600992 100644
--- a/Assets/VRM10/Runtime/Components/Expression/MorphTargetBinding.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/MorphTargetBinding.cs
@@ -1,4 +1,5 @@
using System;
+using UniGLTF;
using UnityEngine;
namespace UniVRM10
@@ -47,7 +48,7 @@ namespace UniVRM10
Index = index;
if (weight > MAX_WEIGHT)
{
- Debug.LogWarning($"MorphTargetBinding: {weight} > {MAX_WEIGHT}");
+ UniGLTFLogger.Warning($"MorphTargetBinding: {weight} > {MAX_WEIGHT}");
}
Weight = weight;
}
diff --git a/Assets/VRM10/Runtime/Components/Expression/MorphTargetBindingMerger/MorphTargetBindingMerger.cs b/Assets/VRM10/Runtime/Components/Expression/MorphTargetBindingMerger/MorphTargetBindingMerger.cs
index 3c99a1a72..3492a6257 100644
--- a/Assets/VRM10/Runtime/Components/Expression/MorphTargetBindingMerger/MorphTargetBindingMerger.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/MorphTargetBindingMerger/MorphTargetBindingMerger.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using UniGLTF;
using UnityEngine;
namespace UniVRM10
@@ -48,12 +49,12 @@ namespace UniVRM10
var morphTarget = MorphTargetIdentifier.Create(rawBinding, modelRoot);
if (!morphTarget.HasValue)
{
- Debug.LogWarning($"Invalid {nameof(MorphTargetBinding)} found: {rawBinding}");
+ UniGLTFLogger.Warning($"Invalid {nameof(MorphTargetBinding)} found: {rawBinding}");
continue;
}
if (bindingsPerKey.FindIndex(x => morphTarget.Value.Equals(x.TargetIdentifier)) >= 0)
{
- Debug.LogWarning($"Duplicate MorphTargetBinding found: {rawBinding}");
+ UniGLTFLogger.Warning($"Duplicate MorphTargetBinding found: {rawBinding}");
continue;
}
diff --git a/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMaterialUtil.cs b/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMaterialUtil.cs
index aa9ab6b44..544bfc689 100644
--- a/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMaterialUtil.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMaterialUtil.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using UnityEngine;
+using UniGLTF;
#if UNITY_EDITOR
using UnityEditor;
@@ -27,14 +28,14 @@ namespace UniVRM10
{
if (!PreviewMaterialItem.TryGetBindType(name, out var bindType))
{
- Debug.LogError($"{material.shader.name}.{name} is unsupported property name");
+ UniGLTFLogger.Error($"{material.shader.name}.{name} is unsupported property name");
hasError = true;
continue;
}
if (!Enum.TryParse(propType.ToString(), true, out ShaderPropertyType propertyType))
{
- Debug.LogError($"{material.shader.name}.{propertyType.ToString()} is unsupported property type");
+ UniGLTFLogger.Error($"{material.shader.name}.{propertyType.ToString()} is unsupported property type");
hasError = true;
continue;
}
diff --git a/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMeshItem.cs b/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMeshItem.cs
index 86cc0e050..2765bd254 100644
--- a/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMeshItem.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewMeshItem.cs
@@ -2,6 +2,7 @@
using UnityEngine;
using System;
using System.Collections.Generic;
+using UniGLTF;
namespace UniVRM10
{
@@ -83,10 +84,7 @@ namespace UniVRM10
}
else
{
- Debug.LogWarningFormat("Out of range {0}: 0 <= {1} < {2}",
- SkinnedMeshRenderer.name,
- x.Index,
- SkinnedMeshRenderer.sharedMesh.blendShapeCount);
+ UniGLTFLogger.Warning($"Out of range {SkinnedMeshRenderer.name}: 0 <= {x.Index} < {SkinnedMeshRenderer.sharedMesh.blendShapeCount}");
}
}
}
diff --git a/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewSceneManager.cs b/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewSceneManager.cs
index f9b293197..c93504344 100644
--- a/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewSceneManager.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/Preview/PreviewSceneManager.cs
@@ -43,7 +43,6 @@ namespace UniVRM10
GameObject.DestroyImmediate(x.gameObject);
}
- //Debug.Log("new prefab. instanciate");
// no previous instance detected, so now let's make a fresh one
// very important: this loads the PreviewInstance prefab and temporarily instantiates it into PreviewInstance
var go = GameObject.Instantiate(prefab,
@@ -264,7 +263,6 @@ namespace UniVRM10
PreviewMaterialItem item;
if (m_materialMap.TryGetValue(x.MaterialName, out item))
{
- //Debug.Log("set material");
PropItem prop;
if (item.PropMap.TryGetValue(x.BindType, out prop))
{
diff --git a/Assets/VRM10/Runtime/Components/Expression/PreviewMaterialItem.cs b/Assets/VRM10/Runtime/Components/Expression/PreviewMaterialItem.cs
index af3315c5d..707223bf4 100644
--- a/Assets/VRM10/Runtime/Components/Expression/PreviewMaterialItem.cs
+++ b/Assets/VRM10/Runtime/Components/Expression/PreviewMaterialItem.cs
@@ -56,7 +56,9 @@ namespace UniVRM10
Material = material;
// uv default value
- DefaultUVScaleOffset = material.GetVector(UV_PROPERTY);
+ var s = material.mainTextureScale;
+ var o = material.mainTextureOffset;
+ DefaultUVScaleOffset = new(s.x, s.y, o.x, o.y);
}
public Dictionary PropMap = new Dictionary();
@@ -77,7 +79,6 @@ namespace UniVRM10
}
}
- public static readonly string UV_PROPERTY = $"{MToon10Prop.BaseColorTexture.ToUnityShaderLabName()}_ST";
public static readonly string COLOR_PROPERTY = MToon10Prop.BaseColorFactor.ToUnityShaderLabName();
public static readonly string EMISSION_COLOR_PROPERTY = MToon10Prop.EmissiveFactor.ToUnityShaderLabName();
public static readonly string RIM_COLOR_PROPERTY = MToon10Prop.ParametricRimColorFactor.ToUnityShaderLabName();
@@ -132,7 +133,8 @@ namespace UniVRM10
}
// clear UV
- Material.SetVector(UV_PROPERTY, DefaultUVScaleOffset);
+ Material.mainTextureScale = new(DefaultUVScaleOffset.x, DefaultUVScaleOffset.y);
+ Material.mainTextureOffset = new(DefaultUVScaleOffset.z, DefaultUVScaleOffset.w);
}
///
@@ -142,9 +144,12 @@ namespace UniVRM10
///
public void AddScaleOffset(Vector4 scaleOffset, float weight)
{
- var value = Material.GetVector(UV_PROPERTY);
+ var s = Material.mainTextureScale;
+ var o = Material.mainTextureOffset;
+ var value = new Vector4(s.x, s.y, o.x, o.y);
value += (scaleOffset - DefaultUVScaleOffset) * weight;
- Material.SetColor(UV_PROPERTY, value);
+ Material.mainTextureOffset = new(value.z, value.w);
+ Material.mainTextureScale = new(value.x, value.y);
}
}
}
diff --git a/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneColliderGroup.cs.meta b/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneColliderGroup.cs.meta
index f1eadb27a..dd1463115 100644
--- a/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneColliderGroup.cs.meta
+++ b/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneColliderGroup.cs.meta
@@ -5,7 +5,7 @@ MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
- icon: {fileID: 2800000, guid: ad4861e134018c948ac79793d290f48b, type: 3}
+ icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
diff --git a/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs b/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs
index cb48cf293..33a3c75d6 100644
--- a/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs
+++ b/Assets/VRM10/Runtime/Components/SpringBone/VRM10SpringBoneJoint.cs
@@ -72,13 +72,13 @@ namespace UniVRM10
var root = GetComponentInParent();
if (root == null)
{
- Debug.LogWarning("not Vrm10Instance");
+ UniGLTFLogger.Warning("not Vrm10Instance");
return;
}
if (transform.childCount == 0)
{
- Debug.LogWarning("no children");
+ UniGLTFLogger.Warning("no children");
return;
}
@@ -107,7 +107,7 @@ namespace UniVRM10
}
}
- Debug.LogWarning($"{this} is found in {root}");
+ UniGLTFLogger.Warning($"{this} is found in {root}");
}
private void OnDrawGizmosSelected()
diff --git a/Assets/VRM10/Runtime/Components/VRM10Object/VRM10ObjectFirstPerson.cs b/Assets/VRM10/Runtime/Components/VRM10Object/VRM10ObjectFirstPerson.cs
index db97f8c64..51f2cafd1 100644
--- a/Assets/VRM10/Runtime/Components/VRM10Object/VRM10ObjectFirstPerson.cs
+++ b/Assets/VRM10/Runtime/Components/VRM10Object/VRM10ObjectFirstPerson.cs
@@ -187,7 +187,7 @@ namespace UniVRM10
if (!used.Add(x.Renderer))
{
// 同じ対象が複数回現れた
- Debug.LogWarning($"VRM10ObjectFirstPerson.SetupAsync: duplicated {x.Renderer}");
+ UniGLTFLogger.Warning($"VRM10ObjectFirstPerson.SetupAsync: duplicated {x.Renderer}");
continue;
}
diff --git a/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs b/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs
index ff7a4a844..1c9fbecfb 100644
--- a/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs
+++ b/Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs
@@ -188,7 +188,7 @@ namespace UniVRM10
{
if (Vrm == null)
{
- Debug.LogError("no VRM10Object");
+ UniGLTFLogger.Error("no VRM10Object");
enabled = false;
return;
}
diff --git a/Assets/VRM10/Runtime/Components/Vrm10Runtime/FastSpringBoneBufferFactory.cs b/Assets/VRM10/Runtime/Components/Vrm10Runtime/FastSpringBoneBufferFactory.cs
index c84f58de0..f176a5e19 100644
--- a/Assets/VRM10/Runtime/Components/Vrm10Runtime/FastSpringBoneBufferFactory.cs
+++ b/Assets/VRM10/Runtime/Components/Vrm10Runtime/FastSpringBoneBufferFactory.cs
@@ -36,7 +36,7 @@ namespace UniVRM10
return defaultTransformState;
}
- Debug.LogWarning($"{tf.name} does not exist on load.");
+ UniGLTFLogger.Warning($"{tf.name} does not exist on load.");
return new TransformState(null);
};
diff --git a/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10Runtime.cs b/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10Runtime.cs
index 6365c7c1e..d8673594a 100644
--- a/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10Runtime.cs
+++ b/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10Runtime.cs
@@ -1,4 +1,5 @@
using System;
+using UniGLTF;
using UnityEngine;
namespace UniVRM10
@@ -49,7 +50,7 @@ namespace UniVRM10
{
if (!Application.isPlaying)
{
- Debug.LogWarning($"{nameof(Vrm10Runtime)} expects runtime behaviour.");
+ UniGLTFLogger.Warning($"{nameof(Vrm10Runtime)} expects runtime behaviour.");
}
m_instance = instance;
diff --git a/Assets/VRM10/Runtime/Components/VrmAnimationInstance/IVrm10Animation.cs b/Assets/VRM10/Runtime/Components/VrmAnimationInstance/IVrm10Animation.cs
index 6936ab7a3..cf60b537d 100644
--- a/Assets/VRM10/Runtime/Components/VrmAnimationInstance/IVrm10Animation.cs
+++ b/Assets/VRM10/Runtime/Components/VrmAnimationInstance/IVrm10Animation.cs
@@ -9,6 +9,7 @@ namespace UniVRM10
(INormalizedPoseProvider, ITPoseProvider) ControlRig { get; }
IReadOnlyDictionary> ExpressionMap { get; }
public void ShowBoxMan(bool enable);
+ public void SetBoxManMaterial(Material material);
LookAtInput? LookAt { get; }
}
}
diff --git a/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10AnimationInstance.cs b/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10AnimationInstance.cs
index 2835f6ab6..d18472483 100644
--- a/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10AnimationInstance.cs
+++ b/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10AnimationInstance.cs
@@ -3,10 +3,11 @@ using System.Collections.Generic;
using UniGLTF;
using UniHumanoid;
using UnityEngine;
+using UnityEngine.Timeline;
namespace UniVRM10
{
- public class Vrm10AnimationInstance : MonoBehaviour, IVrm10Animation
+ public class Vrm10AnimationInstance : MonoBehaviour, IVrm10Animation, ITimeControl
{
public SkinnedMeshRenderer BoxMan;
public void ShowBoxMan(bool enable)
@@ -14,6 +15,11 @@ namespace UniVRM10
BoxMan.enabled = enable;
}
+ public void SetBoxManMaterial(Material material)
+ {
+ BoxMan.material = material;
+ }
+
public void Dispose()
{
if (Application.isPlaying)
@@ -330,5 +336,33 @@ namespace UniVRM10
}
}
}
+
+ Animation m_animation;
+ AnimationState m_state;
+
+ void ITimeControl.OnControlTimeStart()
+ {
+ m_animation = GetComponent();
+ foreach (AnimationState state in m_animation)
+ {
+ m_state = state;
+ break;
+ }
+ m_state.speed = 0;
+ m_state.enabled = true;
+ m_animation.Play();
+ }
+
+ void ITimeControl.OnControlTimeStop()
+ {
+ m_animation.Stop();
+ m_state = null;
+ }
+
+ void ITimeControl.SetTime(double time)
+ {
+ m_state.time = (float)time;
+ m_animation.Sample();
+ }
}
}
diff --git a/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10TPose.cs b/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10TPose.cs
index b4f2eef5f..ae744dd11 100644
--- a/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10TPose.cs
+++ b/Assets/VRM10/Runtime/Components/VrmAnimationInstance/Vrm10TPose.cs
@@ -65,5 +65,9 @@ namespace UniVRM10
public void ShowBoxMan(bool enable)
{
}
+
+ public void SetBoxManMaterial(Material material)
+ {
+ }
}
}
\ No newline at end of file
diff --git a/Assets/VRM10/Runtime/ControlRig/AnimatorPoseProvider.cs b/Assets/VRM10/Runtime/ControlRig/AnimatorPoseProvider.cs
index 5d570c36b..b440ca10a 100644
--- a/Assets/VRM10/Runtime/ControlRig/AnimatorPoseProvider.cs
+++ b/Assets/VRM10/Runtime/ControlRig/AnimatorPoseProvider.cs
@@ -49,7 +49,6 @@ namespace UniVRM10
}
else
{
- // Debug.LogWarning($"{bone} not found");
return Quaternion.identity;
}
}
diff --git a/Assets/VRM10/Runtime/ControlRig/InitialRotationPoseProvider.cs b/Assets/VRM10/Runtime/ControlRig/InitialRotationPoseProvider.cs
index eed24c030..48e8dac29 100644
--- a/Assets/VRM10/Runtime/ControlRig/InitialRotationPoseProvider.cs
+++ b/Assets/VRM10/Runtime/ControlRig/InitialRotationPoseProvider.cs
@@ -42,7 +42,6 @@ namespace UniVRM10
}
else
{
- // Debug.LogWarning($"${bone} not found");
return Quaternion.identity;
}
}
diff --git a/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/BuiltInVrm10MaterialDescriptorGenerator.cs b/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/BuiltInVrm10MaterialDescriptorGenerator.cs
index 15d27c2e6..ddcb5da02 100644
--- a/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/BuiltInVrm10MaterialDescriptorGenerator.cs
+++ b/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/BuiltInVrm10MaterialDescriptorGenerator.cs
@@ -19,7 +19,7 @@ namespace UniVRM10
// fallback
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"material: {i} out of range. fallback");
+ UniGLTFLogger.Warning($"material: {i} out of range. fallback");
}
return GetGltfDefault(GltfMaterialImportUtils.ImportMaterialName(i, null));
}
diff --git a/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/Materials/BuiltInVrm10MToonMaterialImporter.cs b/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/Materials/BuiltInVrm10MToonMaterialImporter.cs
index 2f07ad27b..d74221bdf 100644
--- a/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/Materials/BuiltInVrm10MToonMaterialImporter.cs
+++ b/Assets/VRM10/Runtime/IO/Material/BuiltInRP/Import/Materials/BuiltInVrm10MToonMaterialImporter.cs
@@ -252,7 +252,7 @@ namespace UniVRM10
case "BLEND":
return MToon10AlphaMode.Transparent;
default:
- Debug.LogWarning($"Invalid AlphaMode");
+ UniGLTFLogger.Warning($"Invalid AlphaMode");
return MToon10AlphaMode.Opaque;
}
}
@@ -292,7 +292,7 @@ namespace UniVRM10
return MToon10OutlineMode.Screen;
default:
// Invalid
- Debug.LogWarning("Invalid outlineWidthMode");
+ UniGLTFLogger.Warning("Invalid outlineWidthMode");
return MToon10OutlineMode.None;
}
}
diff --git a/Assets/VRM10/Runtime/IO/Material/URP/Import/UrpVrm10MaterialDescriptorGenerator.cs b/Assets/VRM10/Runtime/IO/Material/URP/Import/UrpVrm10MaterialDescriptorGenerator.cs
index f3ae462a2..8fb873bfb 100644
--- a/Assets/VRM10/Runtime/IO/Material/URP/Import/UrpVrm10MaterialDescriptorGenerator.cs
+++ b/Assets/VRM10/Runtime/IO/Material/URP/Import/UrpVrm10MaterialDescriptorGenerator.cs
@@ -22,7 +22,7 @@ namespace UniVRM10
// NOTE: Fallback to default material
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"material: {i} out of range. fallback");
+ UniGLTFLogger.Warning($"material: {i} out of range. fallback");
}
return GetGltfDefault(GltfMaterialImportUtils.ImportMaterialName(i, null));
}
diff --git a/Assets/VRM10/Runtime/IO/Model/ModelExporter.cs b/Assets/VRM10/Runtime/IO/Model/ModelExporter.cs
index 971656ec3..d0ca55f2c 100644
--- a/Assets/VRM10/Runtime/IO/Model/ModelExporter.cs
+++ b/Assets/VRM10/Runtime/IO/Model/ModelExporter.cs
@@ -67,22 +67,22 @@ namespace UniVRM10
{
if (mesh == null)
{
- Debug.LogWarning("mesh is null");
+ UniGLTFLogger.Warning("mesh is null");
return false;
}
if (mesh.vertexCount == 0)
{
- Debug.LogWarning($"{mesh}: no vertices");
+ UniGLTFLogger.Warning($"{mesh}: no vertices");
return false;
}
if (mesh.triangles == null)
{
- Debug.LogWarning($"{mesh}: no triangles");
+ UniGLTFLogger.Warning($"{mesh}: no triangles");
return false;
}
if (mesh.triangles.Length == 0)
{
- Debug.LogWarning($"{mesh}: no triangles");
+ UniGLTFLogger.Warning($"{mesh}: no triangles");
return false;
}
return true;
@@ -248,7 +248,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogError(ex);
+ UniGLTFLogger.Exception(ex);
}
offset += subMesh.indexCount;
#else
@@ -259,7 +259,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogError(ex);
+ UniGLTFLogger.Exception(ex);
}
offset += triangles.Length;
#endif
diff --git a/Assets/VRM10/Runtime/IO/Texture/Vrm10MToonTextureImporter.cs b/Assets/VRM10/Runtime/IO/Texture/Vrm10MToonTextureImporter.cs
index 28d78c174..b7dd4fe7b 100644
--- a/Assets/VRM10/Runtime/IO/Texture/Vrm10MToonTextureImporter.cs
+++ b/Assets/VRM10/Runtime/IO/Texture/Vrm10MToonTextureImporter.cs
@@ -118,7 +118,7 @@ namespace UniVRM10
}
}
- private static bool TryGetShadeMultiplyTexture(GltfData data, VRMC_materials_mtoon mToon, out SubAssetKey key, out TextureDescriptor desc)
+ public static bool TryGetShadeMultiplyTexture(GltfData data, VRMC_materials_mtoon mToon, out SubAssetKey key, out TextureDescriptor desc)
{
return TryGetSRGBTexture(data, new Vrm10TextureInfo(mToon.ShadeMultiplyTexture), out key, out desc);
}
diff --git a/Assets/VRM10/Runtime/IO/Vrm10.cs b/Assets/VRM10/Runtime/IO/Vrm10.cs
index a797df092..1008602fa 100644
--- a/Assets/VRM10/Runtime/IO/Vrm10.cs
+++ b/Assets/VRM10/Runtime/IO/Vrm10.cs
@@ -99,7 +99,8 @@ namespace UniVRM10
IMaterialDescriptorGenerator materialGenerator = null,
VrmMetaInformationCallback vrmMetaInformationCallback = null,
CancellationToken ct = default,
- ImporterContextSettings importerContextSettings = null)
+ ImporterContextSettings importerContextSettings = null,
+ IVrm10SpringBoneRuntime springboneRuntime = null)
{
awaitCaller ??= Application.isPlaying
? new RuntimeOnlyAwaitCaller()
@@ -116,7 +117,8 @@ namespace UniVRM10
materialGenerator,
vrmMetaInformationCallback,
ct,
- importerContextSettings);
+ importerContextSettings,
+ springboneRuntime);
}
///
diff --git a/Assets/VRM10/Runtime/IO/Vrm10Data.cs b/Assets/VRM10/Runtime/IO/Vrm10Data.cs
index 2ffae0c3c..1a14449ca 100644
--- a/Assets/VRM10/Runtime/IO/Vrm10Data.cs
+++ b/Assets/VRM10/Runtime/IO/Vrm10Data.cs
@@ -122,7 +122,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogWarning(ex);
+ UniGLTFLogger.Warning($"{ex}");
vrm1Data = default;
migration = new MigrationData(ex.Message);
// 破棄
diff --git a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs
index 7cc83c11a..db12de492 100644
--- a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs
+++ b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs
@@ -777,7 +777,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogWarning(ex);
+ UniGLTFLogger.Warning($"{ex}");
}
}
foreach (var b in e.MaterialColorBindings)
@@ -788,7 +788,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogWarning(ex);
+ UniGLTFLogger.Warning($"{ex}");
}
}
foreach (var b in e.MaterialUVBindings)
@@ -799,7 +799,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogWarning(ex);
+ UniGLTFLogger.Warning($"{ex}");
}
}
return vrmExpression;
diff --git a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs
index 8f8c28383..3c28d48e2 100644
--- a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs
+++ b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs
@@ -613,7 +613,7 @@ namespace UniVRM10
{
// 仕様違反。マイグレーションで発生しうるのと、エクスポーターでの除外などがされていないので、
// エラーにせずに飛ばす
- Debug.LogWarning($"duplicated spring joint: {Data.TargetPath}");
+ UniGLTFLogger.Warning($"duplicated spring joint: {Data.TargetPath}");
continue;
}
diff --git a/Assets/VRM10/Runtime/IO/VrmAnimationImporter.cs b/Assets/VRM10/Runtime/IO/VrmAnimationImporter.cs
index 3c2d5f9b2..b46c8f2d5 100644
--- a/Assets/VRM10/Runtime/IO/VrmAnimationImporter.cs
+++ b/Assets/VRM10/Runtime/IO/VrmAnimationImporter.cs
@@ -111,7 +111,6 @@ namespace UniVRM10
{
foreach (HumanBodyBones bone in UniGLTF.Utils.CachedEnum.GetValues())
{
- // Debug.Log($"{bone} => {index}");
var node = GetNodeIndex(animation.Humanoid, bone);
if (node.HasValue)
{
@@ -241,7 +240,7 @@ namespace UniVRM10
// 後ろから順に channel を除去
Data.GLTF.animations[0].channels.RemoveAt(channelIndex);
- Debug.Log($"remove: {channelIndex}");
+ UniGLTFLogger.Log($"remove: {channelIndex}");
}
Data.GLTF.scenes[0].nodes = Data.GLTF.scenes[0].nodes.Take(1).ToArray();
diff --git a/Assets/VRM10/Runtime/MeshUtility/Vrm10MeshUtility.cs b/Assets/VRM10/Runtime/MeshUtility/Vrm10MeshUtility.cs
index 2ad8c59e6..e48e2274d 100644
--- a/Assets/VRM10/Runtime/MeshUtility/Vrm10MeshUtility.cs
+++ b/Assets/VRM10/Runtime/MeshUtility/Vrm10MeshUtility.cs
@@ -66,7 +66,7 @@ namespace UniVRM10
// Mesh 統合の後処理
// FirstPerson == "auto" の場合に
// 頭部の無いモデルを追加で作成する
- Debug.Log("generateFirstPerson");
+ UniGLTFLogger.Log("generateFirstPerson");
if (result.Integrated.Mesh != null)
{
// BlendShape 有り
@@ -96,7 +96,7 @@ namespace UniVRM10
}
else
{
- Debug.LogWarning("no result");
+ UniGLTFLogger.Warning("no result");
}
}
diff --git a/Assets/VRM10/Runtime/Migration/Materials/MigrationLegacyUnlitMaterial.cs b/Assets/VRM10/Runtime/Migration/Materials/MigrationLegacyUnlitMaterial.cs
index 8e7e5a50d..29eee6220 100644
--- a/Assets/VRM10/Runtime/Migration/Materials/MigrationLegacyUnlitMaterial.cs
+++ b/Assets/VRM10/Runtime/Migration/Materials/MigrationLegacyUnlitMaterial.cs
@@ -32,7 +32,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
}
}
diff --git a/Assets/VRM10/Runtime/Migration/Materials/MigrationMaterialUtil.cs b/Assets/VRM10/Runtime/Migration/Materials/MigrationMaterialUtil.cs
index 91d87dbc2..d9664901a 100644
--- a/Assets/VRM10/Runtime/Migration/Materials/MigrationMaterialUtil.cs
+++ b/Assets/VRM10/Runtime/Migration/Materials/MigrationMaterialUtil.cs
@@ -24,7 +24,7 @@ namespace UniVRM10
}
catch (Exception)
{
- Debug.LogWarning($"Migration Warning: ShaderName fallback default.");
+ UniGLTFLogger.Warning($"Migration Warning: ShaderName fallback default.");
return string.Empty;
}
}
@@ -42,7 +42,7 @@ namespace UniVRM10
}
catch (Exception)
{
- Debug.LogWarning($"Migration Warning: BaseColorFactor fallback default.");
+ UniGLTFLogger.Warning($"Migration Warning: BaseColorFactor fallback default.");
return new float[] {1, 1, 1, 1};
}
}
@@ -61,7 +61,7 @@ namespace UniVRM10
}
catch (Exception)
{
- Debug.LogWarning($"Migration Warning: BaseColorTexture fallback default.");
+ UniGLTFLogger.Warning($"Migration Warning: BaseColorTexture fallback default.");
return null;
}
}
@@ -85,7 +85,7 @@ namespace UniVRM10
}
catch (Exception)
{
- Debug.LogWarning($"Migration Warning: BaseColorTextureScaleOffset fallback default.");
+ UniGLTFLogger.Warning($"Migration Warning: BaseColorTextureScaleOffset fallback default.");
return (0, 0, 1, 1);
}
}
@@ -98,7 +98,7 @@ namespace UniVRM10
}
catch (Exception)
{
- Debug.LogWarning($"Migration Warning: Cutoff fallback default.");
+ UniGLTFLogger.Warning($"Migration Warning: Cutoff fallback default.");
return 0.5f;
}
}
@@ -111,7 +111,7 @@ namespace UniVRM10
}
catch (Exception)
{
- Debug.LogWarning($"Migration Warning: RenderQueue fallback default.");
+ UniGLTFLogger.Warning($"Migration Warning: RenderQueue fallback default.");
return default;
}
}
diff --git a/Assets/VRM10/Runtime/Migration/Materials/MigrationUnlitTransparentZWriteMaterial.cs b/Assets/VRM10/Runtime/Migration/Materials/MigrationUnlitTransparentZWriteMaterial.cs
index b0d2c809c..420590e81 100644
--- a/Assets/VRM10/Runtime/Migration/Materials/MigrationUnlitTransparentZWriteMaterial.cs
+++ b/Assets/VRM10/Runtime/Migration/Materials/MigrationUnlitTransparentZWriteMaterial.cs
@@ -39,7 +39,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
}
}
@@ -76,7 +76,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
return new Dictionary();
}
}
@@ -136,7 +136,7 @@ namespace UniVRM10
}
catch (Exception)
{
- Debug.LogWarning($"Migration failed in VRM/UnlitTransparentZWrite material: {materialName}");
+ UniGLTFLogger.Warning($"Migration failed in VRM/UnlitTransparentZWrite material: {materialName}");
return null;
}
}
diff --git a/Assets/VRM10/Runtime/Migration/Materials/Vrm0XMToonValue.cs b/Assets/VRM10/Runtime/Migration/Materials/Vrm0XMToonValue.cs
index 9459dba84..985abfece 100644
--- a/Assets/VRM10/Runtime/Migration/Materials/Vrm0XMToonValue.cs
+++ b/Assets/VRM10/Runtime/Migration/Materials/Vrm0XMToonValue.cs
@@ -88,7 +88,7 @@ namespace UniVRM10
default:
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"vectorProperties: {kv.Key}: {kv.Value}");
+ UniGLTFLogger.Warning($"vectorProperties: {kv.Key}: {kv.Value}");
}
break;
}
@@ -192,7 +192,7 @@ namespace UniVRM10
default:
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"floatProperties: {kv.Key} is unknown");
+ UniGLTFLogger.Warning($"floatProperties: {kv.Key} is unknown");
}
break;
}
@@ -223,7 +223,7 @@ namespace UniVRM10
default:
if (Symbols.VRM_DEVELOP)
{
- Debug.LogWarning($"textureProperties: {kv.Key} is unknown");
+ UniGLTFLogger.Warning($"textureProperties: {kv.Key} is unknown");
}
break;
}
diff --git a/Assets/VRM10/Runtime/Migration/MigrationMaterials.cs b/Assets/VRM10/Runtime/Migration/MigrationMaterials.cs
index 116683450..b25555de4 100644
--- a/Assets/VRM10/Runtime/Migration/MigrationMaterials.cs
+++ b/Assets/VRM10/Runtime/Migration/MigrationMaterials.cs
@@ -45,7 +45,7 @@ namespace UniVRM10
}
catch (Exception ex)
{
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
}
if (needsDisablingVertexColor)
diff --git a/Assets/VRM10/Runtime/Migration/MigrationVrmExpression.cs b/Assets/VRM10/Runtime/Migration/MigrationVrmExpression.cs
index 8013b1ecf..948bbe434 100644
--- a/Assets/VRM10/Runtime/Migration/MigrationVrmExpression.cs
+++ b/Assets/VRM10/Runtime/Migration/MigrationVrmExpression.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using UniGLTF;
using UniJSON;
using UnityEngine;
@@ -78,7 +79,7 @@ namespace UniVRM10
if (nodeIndex == -1)
{
// invalid data. skip
- Debug.LogWarning($"[MigrationVrmExpression] node.mesh == {meshIndex} not found");
+ UniGLTFLogger.Warning($"[MigrationVrmExpression] node.mesh == {meshIndex} not found");
continue;
}
bind.Node = nodeIndex;
@@ -140,14 +141,14 @@ namespace UniVRM10
if (material == null)
{
// invalid data. skip
- Debug.LogWarning($"[MigrationVrmExpression] material.name == {materialName} is not found");
+ UniGLTFLogger.Warning($"[MigrationVrmExpression] material.name == {materialName} is not found");
continue;
}
var materialIndex = gltf.materials.IndexOf(material);
if (materialIndex == -1)
{
// invalid data. skip
- Debug.LogWarning($"[MigrationVrmExpression] material.name == {materialName} index");
+ UniGLTFLogger.Warning($"[MigrationVrmExpression] material.name == {materialName} index");
continue;
}
var propertyName = x["propertyName"].GetString();
diff --git a/Assets/VRM10/Runtime/Migration/MigrationVrmMeta.cs b/Assets/VRM10/Runtime/Migration/MigrationVrmMeta.cs
index 05438fb2d..ff431c5fa 100644
--- a/Assets/VRM10/Runtime/Migration/MigrationVrmMeta.cs
+++ b/Assets/VRM10/Runtime/Migration/MigrationVrmMeta.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using UniGLTF;
using UniJSON;
using UnityEngine;
@@ -154,7 +155,7 @@ namespace UniVRM10
break;
default:
- Debug.LogWarning($"[meta migration] unknown key: {key}");
+ UniGLTFLogger.Warning($"[meta migration] unknown key: {key}");
break;
} // switch
} // foreach
diff --git a/Assets/VRM10/Runtime/Migration/Vrm0Meta.cs b/Assets/VRM10/Runtime/Migration/Vrm0Meta.cs
index 8cc99fbee..da6439d79 100644
--- a/Assets/VRM10/Runtime/Migration/Vrm0Meta.cs
+++ b/Assets/VRM10/Runtime/Migration/Vrm0Meta.cs
@@ -1,4 +1,5 @@
using System;
+using UniGLTF;
using UniJSON;
namespace UniVRM10.Migration
@@ -99,7 +100,7 @@ namespace UniVRM10.Migration
oldMeta.otherLicenseUrl = kv.Value.GetString();
break;
default:
- UnityEngine.Debug.Log($"{key}");
+ UniGLTFLogger.Log($"{key}");
break;
}
}
diff --git a/Assets/VRM10/Runtime/Scenes/Sample.cs b/Assets/VRM10/Runtime/Scenes/Sample.cs
index cf751cae4..c6cf689cf 100644
--- a/Assets/VRM10/Runtime/Scenes/Sample.cs
+++ b/Assets/VRM10/Runtime/Scenes/Sample.cs
@@ -1,4 +1,5 @@
using System.IO;
+using UniGLTF;
using UnityEngine;
@@ -35,7 +36,7 @@ namespace UniVRM10.Sample
// write
var path = Path.GetFullPath("vrm10.vrm");
- Debug.Log($"write : {path}");
+ UniGLTFLogger.Log($"write : {path}");
File.WriteAllBytes(path, exportedBytes);
}
}
diff --git a/Assets/VRM10/Runtime/VRM10.asmdef b/Assets/VRM10/Runtime/VRM10.asmdef
index 5977538c1..decb9b22a 100644
--- a/Assets/VRM10/Runtime/VRM10.asmdef
+++ b/Assets/VRM10/Runtime/VRM10.asmdef
@@ -9,7 +9,8 @@
"GUID:f2ca1407928ebdc4bbe7765cc278be44",
"GUID:2665a8d13d1b3f18800f46e256720795",
"GUID:1cd941934d098654fa21a13f28346412",
- "GUID:3e5d614bc16b50d41bd94c8d7444ca46"
+ "GUID:3e5d614bc16b50d41bd94c8d7444ca46",
+ "GUID:f06555f75b070af458a003d92f9efb00"
],
"includePlatforms": [],
"excludePlatforms": [],
diff --git a/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothGuess.cs b/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothGuess.cs
index 13e0deab6..cba2c9987 100644
--- a/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothGuess.cs
+++ b/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothGuess.cs
@@ -2,6 +2,7 @@ using System.Collections.Generic;
using System.Linq;
using UniVRM10.ClothWarp.Components;
using UnityEngine;
+using UniGLTF;
namespace UniVRM10.Cloth.Viewer
@@ -116,7 +117,7 @@ namespace UniVRM10.Cloth.Viewer
var bone = animator.GetBoneTransform(humanBone);
if (bone == null)
{
- Debug.LogWarning($"{humanBone} not found");
+ UniGLTFLogger.Warning($"{humanBone} not found");
group = default;
return false;
}
@@ -148,7 +149,6 @@ namespace UniVRM10.Cloth.Viewer
}
if (transforms.Count == 0)
{
- // Debug.LogWarning($"{string.Join(',', targets)} not found");
group = default;
return false;
}
@@ -163,7 +163,7 @@ namespace UniVRM10.Cloth.Viewer
var bone = animator.GetBoneTransform(humanBone);
if (bone == null)
{
- Debug.LogWarning($"{humanBone} not found");
+ UniGLTFLogger.Warning($"{humanBone} not found");
group = default;
return false;
}
@@ -189,7 +189,6 @@ namespace UniVRM10.Cloth.Viewer
}
if (transforms.Count == 0)
{
- // Debug.LogWarning($"{string.Join(',', targets)} not found");
group = default;
return false;
}
diff --git a/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewer.asmdef b/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewer.asmdef
index 619093ce2..c052016e8 100644
--- a/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewer.asmdef
+++ b/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewer.asmdef
@@ -7,7 +7,8 @@
"GUID:1cd941934d098654fa21a13f28346412",
"GUID:e47c917724578cc43b5506c17a27e9a0",
"GUID:308b348fb80d89d42a9620951b0f60db",
- "GUID:3e5d614bc16b50d41bd94c8d7444ca46"
+ "GUID:3e5d614bc16b50d41bd94c8d7444ca46",
+ "GUID:f06555f75b070af458a003d92f9efb00"
],
"includePlatforms": [],
"excludePlatforms": [],
diff --git a/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewerUI.cs b/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewerUI.cs
index 57ece660e..a71347aa4 100644
--- a/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewerUI.cs
+++ b/Assets/VRM10/Samples~/ClothSample/ClothViewer/ClothViewerUI.cs
@@ -249,7 +249,7 @@ namespace UniVRM10.Cloth.Viewer
var ext = Path.GetExtension(path).ToLower();
if (ext != ".vrm")
{
- Debug.LogWarning($"{path} is not vrm");
+ UniGLTFLogger.Warning($"{path} is not vrm");
return;
}
@@ -299,11 +299,11 @@ namespace UniVRM10.Cloth.Viewer
}
catch (UniJSON.ParserException)
{
- Debug.LogWarning("UniJSON.ParserException");
+ UniGLTFLogger.Warning("UniJSON.ParserException");
}
catch (UniJSON.DeserializationException)
{
- Debug.LogWarning("UniJSON.DeserializationException");
+ UniGLTFLogger.Warning("UniJSON.DeserializationException");
}
}
@@ -411,7 +411,7 @@ namespace UniVRM10.Cloth.Viewer
}
catch (Exception ex)
{
- Debug.LogException(ex);
+ UniGLTFLogger.Exception(ex);
}
}
@@ -426,7 +426,7 @@ namespace UniVRM10.Cloth.Viewer
try
{
- Debug.LogFormat("{0}", path);
+ UniGLTFLogger.Log($"{path}");
var vrm10Instance = await Vrm10.LoadPathAsync(path,
canLoadVrm0X: true,
showMeshes: false,
@@ -446,7 +446,7 @@ namespace UniVRM10.Cloth.Viewer
if (vrm10Instance == null)
{
- Debug.LogWarning("LoadPathAsync is null");
+ UniGLTFLogger.Warning("LoadPathAsync is null");
return;
}
@@ -461,12 +461,12 @@ namespace UniVRM10.Cloth.Viewer
{
if (ex is OperationCanceledException)
{
- Debug.LogWarning($"Canceled to Load: {path}");
+ UniGLTFLogger.Warning($"Canceled to Load: {path}");
}
else
{
- Debug.LogError($"Failed to Load: {path}");
- Debug.LogException(ex);
+ UniGLTFLogger.Error($"Failed to Load: {path}");
+ UniGLTFLogger.Exception(ex);
}
}
}
diff --git a/Assets/VRM10/Samples~/ClothSample/ClothViewer/Motions/BvhMotion.cs b/Assets/VRM10/Samples~/ClothSample/ClothViewer/Motions/BvhMotion.cs
index 441f83f41..e6c397046 100644
--- a/Assets/VRM10/Samples~/ClothSample/ClothViewer/Motions/BvhMotion.cs
+++ b/Assets/VRM10/Samples~/ClothSample/ClothViewer/Motions/BvhMotion.cs
@@ -55,6 +55,10 @@ namespace UniVRM10.Cloth.Viewer
m_boxMan.enabled = enable;
}
+ public void SetBoxManMaterial(Material material)
+ {
+ }
+
public void Dispose()
{
GameObject.Destroy(m_context.Root);
diff --git a/Assets/VRM10/Samples~/ClothSample/ClothWarp/Editor/ClothWarpRootEditor.cs b/Assets/VRM10/Samples~/ClothSample/ClothWarp/Editor/ClothWarpRootEditor.cs
index d432342aa..c51a2b7ae 100644
--- a/Assets/VRM10/Samples~/ClothSample/ClothWarp/Editor/ClothWarpRootEditor.cs
+++ b/Assets/VRM10/Samples~/ClothSample/ClothWarp/Editor/ClothWarpRootEditor.cs
@@ -48,7 +48,6 @@ namespace UniVRM10.ClothWarp.Components
sb.Append("].");
sb.Append(subpath);
var s = sb.ToString();
- // Debug.Log(s);
prop.BindProperty(serializedObject.FindProperty(s));
prop.SetEnabled(enableFunc(i));
}
diff --git a/Assets/VRM10/Samples~/ClothSample/ClothWarp/Runtime/SphereTriangle/TransformSort.cs b/Assets/VRM10/Samples~/ClothSample/ClothWarp/Runtime/SphereTriangle/TransformSort.cs
index 99f8db10a..bbff82739 100644
--- a/Assets/VRM10/Samples~/ClothSample/ClothWarp/Runtime/SphereTriangle/TransformSort.cs
+++ b/Assets/VRM10/Samples~/ClothSample/ClothWarp/Runtime/SphereTriangle/TransformSort.cs
@@ -27,7 +27,6 @@ namespace SphereTriangle
var y = t.position.z - _o.z;
var a = (int)(Mathf.Rad2Deg * Mathf.Atan2(x, y));
a = Rot180(a);
- // Debug.Log($"{t.name} => {a}");
return a;
}
diff --git a/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.asmdef b/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.asmdef
new file mode 100644
index 000000000..35bf2477d
--- /dev/null
+++ b/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.asmdef
@@ -0,0 +1,19 @@
+{
+ "name": "SimpleVrma",
+ "rootNamespace": "",
+ "references": [
+ "GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412",
+ "GUID:e47c917724578cc43b5506c17a27e9a0",
+ "GUID:f06555f75b070af458a003d92f9efb00"
+ ],
+ "includePlatforms": [],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.asmdef.meta b/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.asmdef.meta
new file mode 100644
index 000000000..07f8e238c
--- /dev/null
+++ b/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 0466374a47130e740bf6c1c1857dc6f6
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.cs b/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.cs
index cc8c2f25b..9d40e48b5 100644
--- a/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.cs
+++ b/Assets/VRM10/Samples~/SimpleVrma/SimpleVrma.cs
@@ -20,14 +20,14 @@ public class SimpleVrma : MonoBehaviour
if (GUILayout.Button("open vrm"))
{
var path = EditorUtility.OpenFilePanel("open vrm", "", "vrm");
- Debug.Log(path);
+ UniGLTFLogger.Log(path);
LoadVrm(path);
}
if (GUILayout.Button("open vrma"))
{
var path = EditorUtility.OpenFilePanel("open vrma", "", "vrma");
- Debug.Log(path);
+ UniGLTFLogger.Log(path);
LoadVrma(path);
}
#endif
@@ -59,7 +59,7 @@ public class SimpleVrma : MonoBehaviour
Vrma = instance.GetComponent();
Vrm.Runtime.VrmAnimation = Vrma;
- Debug.Log(Vrma);
+ UniGLTFLogger.Log($"{Vrma}");
var animation = Vrma.GetComponent();
animation.Play();
diff --git a/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10.Samples.VRM10FirstPersonSample.asmdef b/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10.Samples.VRM10FirstPersonSample.asmdef
index 032a31c0c..d0c864bb7 100644
--- a/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10.Samples.VRM10FirstPersonSample.asmdef
+++ b/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10.Samples.VRM10FirstPersonSample.asmdef
@@ -1,9 +1,10 @@
{
"name": "VRM10.Samples.VRM10FirstPersonSample",
+ "rootNamespace": "",
"references": [
- "GUID:da3e51d19d51a544fa14d43fee843098",
- "GUID:b7aa47b240b57de44a4b2021c143c9bf",
"GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412",
+ "GUID:b7aa47b240b57de44a4b2021c143c9bf",
"GUID:e47c917724578cc43b5506c17a27e9a0"
],
"includePlatforms": [],
diff --git a/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10RuntimeLoader.cs b/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10RuntimeLoader.cs
index d0b498891..e7024504f 100644
--- a/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10RuntimeLoader.cs
+++ b/Assets/VRM10/Samples~/VRM10FirstPersonSample/VRM10RuntimeLoader.cs
@@ -47,7 +47,7 @@ namespace UniVRM10.FirstPersonSample
{
if (m_canvas == null)
{
- Debug.LogWarning("no canvas");
+ UniGLTFLogger.Warning("no canvas");
return;
}
@@ -117,7 +117,7 @@ namespace UniVRM10.FirstPersonSample
void LoadBvh(string path)
{
- Debug.LogFormat("ImportBvh: {0}", path);
+ UniGLTFLogger.Log($"ImportBvh: {path}");
var context = new UniHumanoid.BvhImporterContext();
context.Parse(path);
diff --git a/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10.Samples.VRM10RuntimeExporter.asmdef b/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10.Samples.VRM10RuntimeExporter.asmdef
index 82076b528..3096882b2 100644
--- a/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10.Samples.VRM10RuntimeExporter.asmdef
+++ b/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10.Samples.VRM10RuntimeExporter.asmdef
@@ -2,10 +2,10 @@
"name": "VRM10.Samples.VRM10RuntimeExporter",
"rootNamespace": "",
"references": [
- "GUID:da3e51d19d51a544fa14d43fee843098",
+ "GUID:8d76e605759c3f64a957d63ef96ada7c",
+ "GUID:1cd941934d098654fa21a13f28346412",
"GUID:60c8346e00a8ddd4cafc5a02eceeec57",
"GUID:0aaf403bd13871a44b7127aef2695ff8",
- "GUID:8d76e605759c3f64a957d63ef96ada7c",
"GUID:e47c917724578cc43b5506c17a27e9a0",
"GUID:2ef84b520212e174a94668c7a0862d3b"
],
diff --git a/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10RuntimeExporter.cs b/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10RuntimeExporter.cs
index c1beea3e3..347015611 100644
--- a/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10RuntimeExporter.cs
+++ b/Assets/VRM10/Samples~/VRM10RuntimeExporterSample/VRM10RuntimeExporter.cs
@@ -81,7 +81,7 @@ namespace UniVRM10.RuntimeExporterSample
// // add blendshape clip to avatar.Clips
// var clip = ScriptableObject.CreateInstance();
// var name = $"custom#{avatar.Clips.Count}";
- // Debug.Log($"Add {name}");
+ // UniGLTFLogger.Log($"Add {name}");
// // unity asset name
// clip.name = name;
// // vrm export name
@@ -130,7 +130,7 @@ namespace UniVRM10.RuntimeExporterSample
var bytes = ExportSimple(m_settings, model, m_meta);
File.WriteAllBytes(path, bytes);
- Debug.LogFormat("export to {0}", path);
+ UniGLTFLogger.Log($"export to {path}");
}
static byte[] ExportSimple(GltfExportSettings settings, GameObject root, VRM10ObjectMeta meta)
@@ -141,7 +141,7 @@ namespace UniVRM10.RuntimeExporterSample
var model = converter.Export(settings, arrayManager, root);
// 右手系に変換
- Debug.Log($"convert to right handed coordinate...");
+ UniGLTFLogger.Log($"convert to right handed coordinate...");
model.ConvertCoordinate(VrmLib.Coordinates.Vrm1, ignoreVrm: false);
// export vrm-1.0
@@ -156,7 +156,7 @@ namespace UniVRM10.RuntimeExporterSample
void OnExported(UniGLTF.glTF vrm)
{
- Debug.LogFormat("exported");
+ UniGLTFLogger.Log("exported");
}
}
}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets.meta
new file mode 100644
index 000000000..5817b756e
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 64ea0443b7eb3f74a8a0d8a88f61558f
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonAlphaBlend.shadergraph b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonAlphaBlend.shadergraph
new file mode 100644
index 000000000..146731b20
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonAlphaBlend.shadergraph
@@ -0,0 +1,1182 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "5e8062d7742046c5a0cbef2f61ceca95",
+ "m_Properties": [
+ {
+ "m_Id": "4e79611254fb4f7ebaa9dc55ea52a427"
+ },
+ {
+ "m_Id": "41bfcf3cf6f24e0098346d3a59224d97"
+ },
+ {
+ "m_Id": "5c4080b43fa645598a638526be476d15"
+ },
+ {
+ "m_Id": "c6ae1333e8494c6292d560a6a0c1126e"
+ },
+ {
+ "m_Id": "025d73c9fe2e47b3853bf9a00d126af4"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "867e133e4da04154ac66a450c056f228"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "8e6b987b3d2e4b438d4618bd99e12be6"
+ },
+ {
+ "m_Id": "7e3c0b97666e47ffa0460010d1a64071"
+ },
+ {
+ "m_Id": "4ad89151ecf0451d9f92f4db3f59ca3d"
+ },
+ {
+ "m_Id": "e27b69744886424eb5f477011f04efd2"
+ },
+ {
+ "m_Id": "001956a26193431db776814a0429e033"
+ },
+ {
+ "m_Id": "9e9053ae73f94d2f99ce33a60274938f"
+ },
+ {
+ "m_Id": "c0677ef2e2bf4d488e08da8a6f0fd932"
+ },
+ {
+ "m_Id": "b81474aeedbf4efa8c1bc90bb75c99a9"
+ },
+ {
+ "m_Id": "2367bc93d6e7445391b808a16728f2b9"
+ },
+ {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ {
+ "m_Id": "df96d56bdf664324a1b96c21e76b4a17"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "001956a26193431db776814a0429e033"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": -643094866
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e27b69744886424eb5f477011f04efd2"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "df96d56bdf664324a1b96c21e76b4a17"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "2367bc93d6e7445391b808a16728f2b9"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": -1559276299
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "9e9053ae73f94d2f99ce33a60274938f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 2016068918
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b81474aeedbf4efa8c1bc90bb75c99a9"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 1340748427
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c0677ef2e2bf4d488e08da8a6f0fd932"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 1221667242
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 544.0000610351563,
+ "y": -131.33334350585938
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "8e6b987b3d2e4b438d4618bd99e12be6"
+ },
+ {
+ "m_Id": "7e3c0b97666e47ffa0460010d1a64071"
+ },
+ {
+ "m_Id": "4ad89151ecf0451d9f92f4db3f59ca3d"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 544.0000610351563,
+ "y": 95.33334350585938
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "e27b69744886424eb5f477011f04efd2"
+ },
+ {
+ "m_Id": "df96d56bdf664324a1b96c21e76b4a17"
+ }
+ ]
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Shader Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": ""
+ },
+ "m_SubDatas": [],
+ "m_ActiveTargets": [
+ {
+ "m_Id": "cd04b2ec603c4ce98f51d924e2a512c2"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "001956a26193431db776814a0429e033",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 27.333396911621095,
+ "y": 113.33332824707031,
+ "width": 133.33331298828126,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "896378e2743d4645bbfd8533cf1826e5"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "4e79611254fb4f7ebaa9dc55ea52a427"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "018b3bf4033e49fc9f98b77e0886c132",
+ "m_Id": 1340748427,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "01c54a54e6cb42a290e72e354571cec5",
+ "m_Id": 0,
+ "m_DisplayName": "Normal",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Normal",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "025d73c9fe2e47b3853bf9a00d126af4",
+ "m_Guid": {
+ "m_GuidSerialized": "faf3291f-b550-41b3-b53d-2a983b8f3183"
+ },
+ "m_Name": "ShadingToonyFactor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingToonyFactor",
+ "m_DefaultReferenceName": "_ShadingToonyFactor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "0776e82cf5bc4372962108bf3847d1d0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "TinyMToon_SubGraph",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 240.66665649414063,
+ "y": 95.33334350585938,
+ "width": 265.3334045410156,
+ "height": 377.3332824707031
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "018b3bf4033e49fc9f98b77e0886c132"
+ },
+ {
+ "m_Id": "7e0c1e8c83e24c23985adb526ecaef3f"
+ },
+ {
+ "m_Id": "d38dd7e5f50e4fa09df0f606f2e323be"
+ },
+ {
+ "m_Id": "9a2d5569fa30469981f78f76b4b050f0"
+ },
+ {
+ "m_Id": "ead31769aa464a4e8aae7a3cfa026b2c"
+ },
+ {
+ "m_Id": "e6c1845b1ff7420192f4e36917f71689"
+ },
+ {
+ "m_Id": "5411d859ca084103badb8b7863988cb2"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"45c6d2335bae988419dbc2ec65c33dae\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "e0a3ade0-ddd9-4c69-b3b5-923901f7b2da",
+ "d2495ca0-f5eb-484a-bd18-dca0589774e3",
+ "916faab9-cc1c-4621-84b8-9c47171bf8e8",
+ "ad5cc3fe-a5f8-4a48-9956-35d13519f07e",
+ "fa354438-5a66-4424-a53f-da950e75c488"
+ ],
+ "m_PropertyIds": [
+ 1340748427,
+ -643094866,
+ 2016068918,
+ 1221667242,
+ -1559276299
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "2367bc93d6e7445391b808a16728f2b9",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -24.666656494140626,
+ "y": 222.0,
+ "width": 185.3333740234375,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2c364dcc6c61442cbf11e8ab6a564d48"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "025d73c9fe2e47b3853bf9a00d126af4"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "2c364dcc6c61442cbf11e8ab6a564d48",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingToonyFactor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "3b076e005942425f99ce3907ec24fe79",
+ "m_Id": 0,
+ "m_DisplayName": "Base Color",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.5,
+ "y": 0.5,
+ "z": 0.5
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_ColorMode": 0,
+ "m_DefaultColor": {
+ "r": 0.5,
+ "g": 0.5,
+ "b": 0.5,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "41bfcf3cf6f24e0098346d3a59224d97",
+ "m_Guid": {
+ "m_GuidSerialized": "f42a4d4f-6d88-4897-addd-f0cb1e430ab8"
+ },
+ "m_Name": "ShadingColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingColor",
+ "m_DefaultReferenceName": "_ShadingColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.5849056243896484,
+ "g": 0.5849056243896484,
+ "b": 0.5849056243896484,
+ "a": 1.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "4ad89151ecf0451d9f92f4db3f59ca3d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Tangent",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b977eab87a834a02956948283a300909"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Tangent"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "4bd73107ed5043a6a98b42284d491e6d",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "4e79611254fb4f7ebaa9dc55ea52a427",
+ "m_Guid": {
+ "m_GuidSerialized": "8ba0f7ac-16b0-4874-83a9-5f7ed0c10efa"
+ },
+ "m_Name": "BaseMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseMap",
+ "m_DefaultReferenceName": "_BaseMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": true,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5411d859ca084103badb8b7863988cb2",
+ "m_Id": 2,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "5c4080b43fa645598a638526be476d15",
+ "m_Guid": {
+ "m_GuidSerialized": "32cac61f-148f-4535-a0a3-1b35df0ee783"
+ },
+ "m_Name": "ShadingMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingMap",
+ "m_DefaultReferenceName": "_ShadingMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "6362e795c9f74fd88710a3e8fd53744c",
+ "m_Id": 0,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "7e0c1e8c83e24c23985adb526ecaef3f",
+ "m_Id": -643094866,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "7e3c0b97666e47ffa0460010d1a64071",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Normal",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "01c54a54e6cb42a290e72e354571cec5"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Normal"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "867e133e4da04154ac66a450c056f228",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "c6ae1333e8494c6292d560a6a0c1126e"
+ },
+ {
+ "m_Id": "4e79611254fb4f7ebaa9dc55ea52a427"
+ },
+ {
+ "m_Id": "41bfcf3cf6f24e0098346d3a59224d97"
+ },
+ {
+ "m_Id": "5c4080b43fa645598a638526be476d15"
+ },
+ {
+ "m_Id": "025d73c9fe2e47b3853bf9a00d126af4"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "896378e2743d4645bbfd8533cf1826e5",
+ "m_Id": 0,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "8e6b987b3d2e4b438d4618bd99e12be6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f3a2f016faaf422f9c936817f13cb82d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Position"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "9588546692ca4354acbdb16148b88365",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "9a2d5569fa30469981f78f76b4b050f0",
+ "m_Id": 1221667242,
+ "m_DisplayName": "ShadingColorMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadingColorMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "9e9053ae73f94d2f99ce33a60274938f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 12.000022888183594,
+ "y": 149.3332977294922,
+ "width": 148.66668701171876,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9588546692ca4354acbdb16148b88365"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "41bfcf3cf6f24e0098346d3a59224d97"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b81474aeedbf4efa8c1bc90bb75c99a9",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 28.666715621948243,
+ "y": 77.33330535888672,
+ "width": 132.0,
+ "height": 36.000022888183597
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fb9fb639830c4cf69bfd994cb2ed4c29"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "c6ae1333e8494c6292d560a6a0c1126e"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
+ "m_ObjectId": "b977eab87a834a02956948283a300909",
+ "m_Id": 0,
+ "m_DisplayName": "Tangent",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Tangent",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "c0677ef2e2bf4d488e08da8a6f0fd932",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 10.000045776367188,
+ "y": 185.99996948242188,
+ "width": 150.6666717529297,
+ "height": 36.000030517578128
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4bd73107ed5043a6a98b42284d491e6d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "5c4080b43fa645598a638526be476d15"
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "c6ae1333e8494c6292d560a6a0c1126e",
+ "m_Guid": {
+ "m_GuidSerialized": "e4a91be8-41b1-46a6-8fb3-cee571683ce1"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 1.0,
+ "g": 1.0,
+ "b": 1.0,
+ "a": 0.0
+ },
+ "isMainColor": true,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "cd04b2ec603c4ce98f51d924e2a512c2",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "cd81c525151142c89a6af7f574fd628b"
+ },
+ "m_AllowMaterialOverride": false,
+ "m_SurfaceType": 1,
+ "m_ZTestMode": 4,
+ "m_ZWriteControl": 0,
+ "m_AlphaMode": 0,
+ "m_RenderFace": 2,
+ "m_AlphaClip": false,
+ "m_CastShadows": true,
+ "m_ReceiveShadows": true,
+ "m_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
+ "m_ObjectId": "cd81c525151142c89a6af7f574fd628b"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "d38dd7e5f50e4fa09df0f606f2e323be",
+ "m_Id": 2016068918,
+ "m_DisplayName": "ShadingColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadingColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.5849056243896484,
+ "y": 0.5849056243896484,
+ "z": 0.5849056243896484,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "df96d56bdf664324a1b96c21e76b4a17",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Alpha",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "6362e795c9f74fd88710a3e8fd53744c"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Alpha"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "e27b69744886424eb5f477011f04efd2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.BaseColor",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "3b076e005942425f99ce3907ec24fe79"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "e6c1845b1ff7420192f4e36917f71689",
+ "m_Id": 1,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ead31769aa464a4e8aae7a3cfa026b2c",
+ "m_Id": -1559276299,
+ "m_DisplayName": "ShadingToonyFactor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadingToonyFactor",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "f3a2f016faaf422f9c936817f13cb82d",
+ "m_Id": 0,
+ "m_DisplayName": "Position",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Position",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "fb9fb639830c4cf69bfd994cb2ed4c29",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonAlphaBlend.shadergraph.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonAlphaBlend.shadergraph.meta
new file mode 100644
index 000000000..a5833ea06
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonAlphaBlend.shadergraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 6b60fe85d745eda4281e3278fcb0657c
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonOpaque.shadergraph b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonOpaque.shadergraph
new file mode 100644
index 000000000..6bcdfb896
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonOpaque.shadergraph
@@ -0,0 +1,1584 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "5e8062d7742046c5a0cbef2f61ceca95",
+ "m_Properties": [
+ {
+ "m_Id": "4e79611254fb4f7ebaa9dc55ea52a427"
+ },
+ {
+ "m_Id": "41bfcf3cf6f24e0098346d3a59224d97"
+ },
+ {
+ "m_Id": "5c4080b43fa645598a638526be476d15"
+ },
+ {
+ "m_Id": "c6ae1333e8494c6292d560a6a0c1126e"
+ },
+ {
+ "m_Id": "025d73c9fe2e47b3853bf9a00d126af4"
+ },
+ {
+ "m_Id": "4667227926a9450aa7fa8e58a1bf3866"
+ },
+ {
+ "m_Id": "d39873e6759a47c2a923dde640e6f4f6"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "867e133e4da04154ac66a450c056f228"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "8e6b987b3d2e4b438d4618bd99e12be6"
+ },
+ {
+ "m_Id": "7e3c0b97666e47ffa0460010d1a64071"
+ },
+ {
+ "m_Id": "4ad89151ecf0451d9f92f4db3f59ca3d"
+ },
+ {
+ "m_Id": "e27b69744886424eb5f477011f04efd2"
+ },
+ {
+ "m_Id": "001956a26193431db776814a0429e033"
+ },
+ {
+ "m_Id": "9e9053ae73f94d2f99ce33a60274938f"
+ },
+ {
+ "m_Id": "c0677ef2e2bf4d488e08da8a6f0fd932"
+ },
+ {
+ "m_Id": "b81474aeedbf4efa8c1bc90bb75c99a9"
+ },
+ {
+ "m_Id": "2367bc93d6e7445391b808a16728f2b9"
+ },
+ {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ {
+ "m_Id": "5f8ace17977d4222984886f84ada0bb7"
+ },
+ {
+ "m_Id": "0320eacfafcc41858dfd5b6372050fc2"
+ },
+ {
+ "m_Id": "c740dd36ebf2452394a2d44e668e38b0"
+ },
+ {
+ "m_Id": "1728ea63931448eaa4ab79b764364e17"
+ },
+ {
+ "m_Id": "9096c7ad43b94e54b6b3240398f1dab5"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "001956a26193431db776814a0429e033"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": -643094866
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e27b69744886424eb5f477011f04efd2"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "5f8ace17977d4222984886f84ada0bb7"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1728ea63931448eaa4ab79b764364e17"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9096c7ad43b94e54b6b3240398f1dab5"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "2367bc93d6e7445391b808a16728f2b9"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": -1559276299
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "9096c7ad43b94e54b6b3240398f1dab5"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0320eacfafcc41858dfd5b6372050fc2"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "9e9053ae73f94d2f99ce33a60274938f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 2016068918
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b81474aeedbf4efa8c1bc90bb75c99a9"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 1340748427
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c0677ef2e2bf4d488e08da8a6f0fd932"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0776e82cf5bc4372962108bf3847d1d0"
+ },
+ "m_SlotId": 1221667242
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c740dd36ebf2452394a2d44e668e38b0"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9096c7ad43b94e54b6b3240398f1dab5"
+ },
+ "m_SlotId": 1
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 546.0000610351563,
+ "y": -219.33334350585938
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "8e6b987b3d2e4b438d4618bd99e12be6"
+ },
+ {
+ "m_Id": "7e3c0b97666e47ffa0460010d1a64071"
+ },
+ {
+ "m_Id": "4ad89151ecf0451d9f92f4db3f59ca3d"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 546.0000610351563,
+ "y": 7.333324909210205
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "0320eacfafcc41858dfd5b6372050fc2"
+ },
+ {
+ "m_Id": "e27b69744886424eb5f477011f04efd2"
+ },
+ {
+ "m_Id": "5f8ace17977d4222984886f84ada0bb7"
+ }
+ ]
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Shader Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": ""
+ },
+ "m_SubDatas": [],
+ "m_ActiveTargets": [
+ {
+ "m_Id": "cd04b2ec603c4ce98f51d924e2a512c2"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "001956a26193431db776814a0429e033",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 27.333396911621095,
+ "y": 113.33332824707031,
+ "width": 133.33331298828126,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "896378e2743d4645bbfd8533cf1826e5"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "4e79611254fb4f7ebaa9dc55ea52a427"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "018b3bf4033e49fc9f98b77e0886c132",
+ "m_Id": 1340748427,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "01c54a54e6cb42a290e72e354571cec5",
+ "m_Id": 0,
+ "m_DisplayName": "Normal",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Normal",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "025d73c9fe2e47b3853bf9a00d126af4",
+ "m_Guid": {
+ "m_GuidSerialized": "faf3291f-b550-41b3-b53d-2a983b8f3183"
+ },
+ "m_Name": "ShadingToonyFactor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingToonyFactor",
+ "m_DefaultReferenceName": "_ShadingToonyFactor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "0320eacfafcc41858dfd5b6372050fc2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.AlphaClipThreshold",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 558.6666870117188,
+ "y": 123.33332061767578,
+ "width": 200.00006103515626,
+ "height": 42.66667938232422
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f01783c2eb3e41f1aa4a8da53d9a3418"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "0776e82cf5bc4372962108bf3847d1d0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "TinyMToon_SubGraph",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 240.66665649414063,
+ "y": 95.33334350585938,
+ "width": 265.3334045410156,
+ "height": 377.3332824707031
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "018b3bf4033e49fc9f98b77e0886c132"
+ },
+ {
+ "m_Id": "7e0c1e8c83e24c23985adb526ecaef3f"
+ },
+ {
+ "m_Id": "d38dd7e5f50e4fa09df0f606f2e323be"
+ },
+ {
+ "m_Id": "9a2d5569fa30469981f78f76b4b050f0"
+ },
+ {
+ "m_Id": "ead31769aa464a4e8aae7a3cfa026b2c"
+ },
+ {
+ "m_Id": "7207d851d0d54d9dbec558d8350cbcf5"
+ },
+ {
+ "m_Id": "8dee648ae25449838a2cc7261ec55970"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"45c6d2335bae988419dbc2ec65c33dae\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "e0a3ade0-ddd9-4c69-b3b5-923901f7b2da",
+ "d2495ca0-f5eb-484a-bd18-dca0589774e3",
+ "916faab9-cc1c-4621-84b8-9c47171bf8e8",
+ "ad5cc3fe-a5f8-4a48-9956-35d13519f07e",
+ "fa354438-5a66-4424-a53f-da950e75c488"
+ ],
+ "m_PropertyIds": [
+ 1340748427,
+ -643094866,
+ 2016068918,
+ 1221667242,
+ -1559276299
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "1728ea63931448eaa4ab79b764364e17",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 27.33334732055664,
+ "y": -64.66671752929688,
+ "width": 153.33331298828126,
+ "height": 36.000022888183597
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1c86e26ba56e4bd69ca061135f228cab"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "d39873e6759a47c2a923dde640e6f4f6"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
+ "m_ObjectId": "1c86e26ba56e4bd69ca061135f228cab",
+ "m_Id": 0,
+ "m_DisplayName": "CutoffEnabled",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": false,
+ "m_DefaultValue": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "2367bc93d6e7445391b808a16728f2b9",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -24.666656494140626,
+ "y": 222.0,
+ "width": 185.3333740234375,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2c364dcc6c61442cbf11e8ab6a564d48"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "025d73c9fe2e47b3853bf9a00d126af4"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "2c364dcc6c61442cbf11e8ab6a564d48",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingToonyFactor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "3b076e005942425f99ce3907ec24fe79",
+ "m_Id": 0,
+ "m_DisplayName": "Base Color",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.5,
+ "y": 0.5,
+ "z": 0.5
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_ColorMode": 0,
+ "m_DefaultColor": {
+ "r": 0.5,
+ "g": 0.5,
+ "b": 0.5,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "41bfcf3cf6f24e0098346d3a59224d97",
+ "m_Guid": {
+ "m_GuidSerialized": "f42a4d4f-6d88-4897-addd-f0cb1e430ab8"
+ },
+ "m_Name": "ShadingColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingColor",
+ "m_DefaultReferenceName": "_ShadingColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.5849056243896484,
+ "g": 0.5849056243896484,
+ "b": 0.5849056243896484,
+ "a": 1.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "4667227926a9450aa7fa8e58a1bf3866",
+ "m_Guid": {
+ "m_GuidSerialized": "ee764527-b699-4375-a90e-704da739a647"
+ },
+ "m_Name": "Cuttoff",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Cuttoff",
+ "m_DefaultReferenceName": "_Cuttoff",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.5,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
+ "m_ObjectId": "4730d3a27f9a460a94cba10d4c7af258",
+ "m_Id": 0,
+ "m_DisplayName": "Predicate",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Predicate",
+ "m_StageCapability": 3,
+ "m_Value": false,
+ "m_DefaultValue": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "4ad89151ecf0451d9f92f4db3f59ca3d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Tangent",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b977eab87a834a02956948283a300909"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Tangent"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "4bd73107ed5043a6a98b42284d491e6d",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "4e79611254fb4f7ebaa9dc55ea52a427",
+ "m_Guid": {
+ "m_GuidSerialized": "8ba0f7ac-16b0-4874-83a9-5f7ed0c10efa"
+ },
+ "m_Name": "BaseMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseMap",
+ "m_DefaultReferenceName": "_BaseMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": true,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "5c4080b43fa645598a638526be476d15",
+ "m_Guid": {
+ "m_GuidSerialized": "32cac61f-148f-4535-a0a3-1b35df0ee783"
+ },
+ "m_Name": "ShadingMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingMap",
+ "m_DefaultReferenceName": "_ShadingMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5c8d36b44e8a48f7b4c1ad2c746e8f81",
+ "m_Id": 0,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "5f8ace17977d4222984886f84ada0bb7",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Alpha",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5c8d36b44e8a48f7b4c1ad2c746e8f81"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Alpha"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "7207d851d0d54d9dbec558d8350cbcf5",
+ "m_Id": 1,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "7e0c1e8c83e24c23985adb526ecaef3f",
+ "m_Id": -643094866,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "7e3c0b97666e47ffa0460010d1a64071",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Normal",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "01c54a54e6cb42a290e72e354571cec5"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Normal"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "867e133e4da04154ac66a450c056f228",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "c6ae1333e8494c6292d560a6a0c1126e"
+ },
+ {
+ "m_Id": "4e79611254fb4f7ebaa9dc55ea52a427"
+ },
+ {
+ "m_Id": "41bfcf3cf6f24e0098346d3a59224d97"
+ },
+ {
+ "m_Id": "5c4080b43fa645598a638526be476d15"
+ },
+ {
+ "m_Id": "025d73c9fe2e47b3853bf9a00d126af4"
+ },
+ {
+ "m_Id": "4667227926a9450aa7fa8e58a1bf3866"
+ },
+ {
+ "m_Id": "d39873e6759a47c2a923dde640e6f4f6"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "896378e2743d4645bbfd8533cf1826e5",
+ "m_Id": 0,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "8dee648ae25449838a2cc7261ec55970",
+ "m_Id": 2,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "8e6b987b3d2e4b438d4618bd99e12be6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f3a2f016faaf422f9c936817f13cb82d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Position"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BranchNode",
+ "m_ObjectId": "9096c7ad43b94e54b6b3240398f1dab5",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Branch",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 263.3333435058594,
+ "y": -89.33332061767578,
+ "width": 172.0,
+ "height": 143.99998474121095
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4730d3a27f9a460a94cba10d4c7af258"
+ },
+ {
+ "m_Id": "db4f33ae2bdb474ea3319bd12b4039e3"
+ },
+ {
+ "m_Id": "e4d1e079907b45f9a2464807787aa1e7"
+ },
+ {
+ "m_Id": "b15c2b9e8aea45a49fb87bd57213690e"
+ }
+ ],
+ "synonyms": [
+ "switch",
+ "if",
+ "else"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "9588546692ca4354acbdb16148b88365",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "9a2d5569fa30469981f78f76b4b050f0",
+ "m_Id": 1221667242,
+ "m_DisplayName": "ShadingColorMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadingColorMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "9e9053ae73f94d2f99ce33a60274938f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 12.000022888183594,
+ "y": 149.3332977294922,
+ "width": 148.66668701171876,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9588546692ca4354acbdb16148b88365"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "41bfcf3cf6f24e0098346d3a59224d97"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "b15c2b9e8aea45a49fb87bd57213690e",
+ "m_Id": 3,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b81474aeedbf4efa8c1bc90bb75c99a9",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 28.666715621948243,
+ "y": 77.33330535888672,
+ "width": 132.0,
+ "height": 36.000022888183597
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "fb9fb639830c4cf69bfd994cb2ed4c29"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "c6ae1333e8494c6292d560a6a0c1126e"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
+ "m_ObjectId": "b977eab87a834a02956948283a300909",
+ "m_Id": 0,
+ "m_DisplayName": "Tangent",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Tangent",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "c0677ef2e2bf4d488e08da8a6f0fd932",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 10.000045776367188,
+ "y": 185.99996948242188,
+ "width": 150.6666717529297,
+ "height": 36.000030517578128
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4bd73107ed5043a6a98b42284d491e6d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "5c4080b43fa645598a638526be476d15"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "c16b87dc9c1f410aa309adc94136d2ea",
+ "m_Id": 0,
+ "m_DisplayName": "Cuttoff",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "c6ae1333e8494c6292d560a6a0c1126e",
+ "m_Guid": {
+ "m_GuidSerialized": "e4a91be8-41b1-46a6-8fb3-cee571683ce1"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 1.0,
+ "g": 1.0,
+ "b": 1.0,
+ "a": 0.0
+ },
+ "isMainColor": true,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "c740dd36ebf2452394a2d44e668e38b0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 67.33332061767578,
+ "y": -28.66669273376465,
+ "width": 113.33333587646485,
+ "height": 35.99998474121094
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "c16b87dc9c1f410aa309adc94136d2ea"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "4667227926a9450aa7fa8e58a1bf3866"
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "cd04b2ec603c4ce98f51d924e2a512c2",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "cd81c525151142c89a6af7f574fd628b"
+ },
+ "m_AllowMaterialOverride": false,
+ "m_SurfaceType": 0,
+ "m_ZTestMode": 4,
+ "m_ZWriteControl": 0,
+ "m_AlphaMode": 0,
+ "m_RenderFace": 2,
+ "m_AlphaClip": true,
+ "m_CastShadows": true,
+ "m_ReceiveShadows": true,
+ "m_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
+ "m_ObjectId": "cd81c525151142c89a6af7f574fd628b"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "d38dd7e5f50e4fa09df0f606f2e323be",
+ "m_Id": 2016068918,
+ "m_DisplayName": "ShadingColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadingColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.5849056243896484,
+ "y": 0.5849056243896484,
+ "z": 0.5849056243896484,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
+ "m_ObjectId": "d39873e6759a47c2a923dde640e6f4f6",
+ "m_Guid": {
+ "m_GuidSerialized": "adf6f980-4b4f-499b-9801-3cd83d49a2df"
+ },
+ "m_Name": "CutoffEnabled",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "CutoffEnabled",
+ "m_DefaultReferenceName": "_CutoffEnabled",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "db4f33ae2bdb474ea3319bd12b4039e3",
+ "m_Id": 1,
+ "m_DisplayName": "True",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "True",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "e27b69744886424eb5f477011f04efd2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.BaseColor",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "3b076e005942425f99ce3907ec24fe79"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "e4d1e079907b45f9a2464807787aa1e7",
+ "m_Id": 2,
+ "m_DisplayName": "False",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "False",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ead31769aa464a4e8aae7a3cfa026b2c",
+ "m_Id": -1559276299,
+ "m_DisplayName": "ShadingToonyFactor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_ShadingToonyFactor",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "f01783c2eb3e41f1aa4a8da53d9a3418",
+ "m_Id": 0,
+ "m_DisplayName": "Alpha Clip Threshold",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "AlphaClipThreshold",
+ "m_StageCapability": 2,
+ "m_Value": 0.5,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "f3a2f016faaf422f9c936817f13cb82d",
+ "m_Id": 0,
+ "m_DisplayName": "Position",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Position",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "fb9fb639830c4cf69bfd994cb2ed4c29",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonOpaque.shadergraph.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonOpaque.shadergraph.meta
new file mode 100644
index 000000000..04c5857b3
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToonOpaque.shadergraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: fd08e80eb7e04e849b8a6d534e48efea
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToon_SubGraph.shadersubgraph b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToon_SubGraph.shadersubgraph
new file mode 100644
index 000000000..462a1b670
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToon_SubGraph.shadersubgraph
@@ -0,0 +1,2836 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "cb9b3f03eaf8426a80d4812a41b632bf",
+ "m_Properties": [
+ {
+ "m_Id": "5fcf9b30d74446eea8cc0773e5f006a6"
+ },
+ {
+ "m_Id": "2a25272ab02641c5bf8885ef2790f1c1"
+ },
+ {
+ "m_Id": "32d95fb1210b417892ceabe88d06e605"
+ },
+ {
+ "m_Id": "e6bca830ac7e48a9bbcdc9f0f8ee6967"
+ },
+ {
+ "m_Id": "22a4bb49b85e452a8db5595bcbeb91c5"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "501036e1d6184113a2c38a110f6ca14b"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "e14d05fc892148ad9baf9d7558e2cb5a"
+ },
+ {
+ "m_Id": "793b2df7f27d4151a34ffe48af207418"
+ },
+ {
+ "m_Id": "c79574bf98cd4d1cb1029e884069a2ec"
+ },
+ {
+ "m_Id": "76c827b6d41f41adaa41a73858a18fb3"
+ },
+ {
+ "m_Id": "4157f6d98e8f4cff8948bb4a108c6c31"
+ },
+ {
+ "m_Id": "45e0e6b45a3a4118a13934d39d0bbd83"
+ },
+ {
+ "m_Id": "b16e118211bd4fc9b39121a2725d715f"
+ },
+ {
+ "m_Id": "bb4f64b76594481eabd5d02fd49e443a"
+ },
+ {
+ "m_Id": "9e8ee3e30f75499087e513eaac81b463"
+ },
+ {
+ "m_Id": "a42e09269a6848a7b3adddfc9edfcce2"
+ },
+ {
+ "m_Id": "81b78da7e4f34f108683a1b7f4c3ae4f"
+ },
+ {
+ "m_Id": "ac0d7130cca947dfa64b9b4e4869b270"
+ },
+ {
+ "m_Id": "d00ad0a354f1442c89d28b756c8fdcc6"
+ },
+ {
+ "m_Id": "ea269fbf6a224fecbba11cbfe8f687b3"
+ },
+ {
+ "m_Id": "3e165d96367e4901bc9876044554588c"
+ },
+ {
+ "m_Id": "d79d0ca1463f424899863b8c4e306f4b"
+ },
+ {
+ "m_Id": "193173a2eded42af802f4085a1ba700a"
+ },
+ {
+ "m_Id": "ebb1c97eea8c4747ab5c2c8eb36fb25f"
+ },
+ {
+ "m_Id": "cf9257d1f44646b7bb3f3e3b42ecc29e"
+ },
+ {
+ "m_Id": "4efbc3bbf016413e94e4c9ac65dd4789"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "193173a2eded42af802f4085a1ba700a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9e8ee3e30f75499087e513eaac81b463"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "193173a2eded42af802f4085a1ba700a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ac0d7130cca947dfa64b9b4e4869b270"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "3e165d96367e4901bc9876044554588c"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "bb4f64b76594481eabd5d02fd49e443a"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4157f6d98e8f4cff8948bb4a108c6c31"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "45e0e6b45a3a4118a13934d39d0bbd83"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "45e0e6b45a3a4118a13934d39d0bbd83"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9e8ee3e30f75499087e513eaac81b463"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4efbc3bbf016413e94e4c9ac65dd4789"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "81b78da7e4f34f108683a1b7f4c3ae4f"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "76c827b6d41f41adaa41a73858a18fb3"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4157f6d98e8f4cff8948bb4a108c6c31"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "793b2df7f27d4151a34ffe48af207418"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "81b78da7e4f34f108683a1b7f4c3ae4f"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "793b2df7f27d4151a34ffe48af207418"
+ },
+ "m_SlotId": 7
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ebb1c97eea8c4747ab5c2c8eb36fb25f"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "81b78da7e4f34f108683a1b7f4c3ae4f"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "b16e118211bd4fc9b39121a2725d715f"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "9e8ee3e30f75499087e513eaac81b463"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "b16e118211bd4fc9b39121a2725d715f"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a42e09269a6848a7b3adddfc9edfcce2"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "bb4f64b76594481eabd5d02fd49e443a"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ac0d7130cca947dfa64b9b4e4869b270"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9e8ee3e30f75499087e513eaac81b463"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b16e118211bd4fc9b39121a2725d715f"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e14d05fc892148ad9baf9d7558e2cb5a"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "bb4f64b76594481eabd5d02fd49e443a"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "b16e118211bd4fc9b39121a2725d715f"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c79574bf98cd4d1cb1029e884069a2ec"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4157f6d98e8f4cff8948bb4a108c6c31"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "cf9257d1f44646b7bb3f3e3b42ecc29e"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4efbc3bbf016413e94e4c9ac65dd4789"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "cf9257d1f44646b7bb3f3e3b42ecc29e"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4efbc3bbf016413e94e4c9ac65dd4789"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "cf9257d1f44646b7bb3f3e3b42ecc29e"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "4efbc3bbf016413e94e4c9ac65dd4789"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "cf9257d1f44646b7bb3f3e3b42ecc29e"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "ebb1c97eea8c4747ab5c2c8eb36fb25f"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "d00ad0a354f1442c89d28b756c8fdcc6"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "cf9257d1f44646b7bb3f3e3b42ecc29e"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "d79d0ca1463f424899863b8c4e306f4b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "a42e09269a6848a7b3adddfc9edfcce2"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ea269fbf6a224fecbba11cbfe8f687b3"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "793b2df7f27d4151a34ffe48af207418"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "ebb1c97eea8c4747ab5c2c8eb36fb25f"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e14d05fc892148ad9baf9d7558e2cb5a"
+ },
+ "m_SlotId": 2
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Sub Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": "e14d05fc892148ad9baf9d7558e2cb5a"
+ },
+ "m_SubDatas": [],
+ "m_ActiveTargets": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "0cb0ffabbdaf4fb3b425b2e9537bed5d",
+ "m_Id": 2,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "0cb14acd223546c1a2eedd3a5fcebc2b",
+ "m_Id": 3,
+ "m_DisplayName": "Z",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Z",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [
+ "Z"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "0dae3d1d556d4097b65295fe64706c86",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1597fd3003474e4698f6d4adb9d4f390",
+ "m_Id": 3,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "163b9d55f9ee44c2b2cb1436f7f8054c",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "193173a2eded42af802f4085a1ba700a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -241.3332977294922,
+ "y": 66.00003051757813,
+ "width": 185.33326721191407,
+ "height": 36.000022888183597
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "7da0169054194d1ca00d240bd0af65b4"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "22a4bb49b85e452a8db5595bcbeb91c5"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "1e5c3325236a458cb23473e61ab52258",
+ "m_Id": 0,
+ "m_DisplayName": "Direction",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Direction",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "22a4bb49b85e452a8db5595bcbeb91c5",
+ "m_Guid": {
+ "m_GuidSerialized": "fa354438-5a66-4424-a53f-da950e75c488"
+ },
+ "m_Name": "ShadingToonyFactor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingToonyFactor",
+ "m_DefaultReferenceName": "_ShadingToonyFactor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "244615cd3b5b44c7a2ac7c7da8a71dfc",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "25430c424d804824bd3531ba9880d62f",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "257091401f41417f890fcdb167c84b91",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "27837f86ddaf41618adf108cef8baa14",
+ "m_Id": 2,
+ "m_DisplayName": "Y",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Y",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [
+ "Y"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "2985a88ee0fd48b9a675673f8eea588e",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "2a25272ab02641c5bf8885ef2790f1c1",
+ "m_Guid": {
+ "m_GuidSerialized": "d2495ca0-f5eb-484a-bd18-dca0589774e3"
+ },
+ "m_Name": "BaseMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseMap",
+ "m_DefaultReferenceName": "_BaseMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "2a8ff216f8fa407e992c0938ddd0e2c6",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "2b0e00506cd94b85af274754e35c77df",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "2bdcfcd7d92349a79460b57f609ef989",
+ "m_Id": 2,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "2c8e55ce73964f1bbdc9beb405a0093f",
+ "m_Id": 0,
+ "m_DisplayName": "In",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "32d95fb1210b417892ceabe88d06e605",
+ "m_Guid": {
+ "m_GuidSerialized": "916faab9-cc1c-4621-84b8-9c47171bf8e8"
+ },
+ "m_Name": "ShadingColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingColor",
+ "m_DefaultReferenceName": "_ShadingColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.5849056243896484,
+ "g": 0.5849056243896484,
+ "b": 0.5849056243896484,
+ "a": 1.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "34ff91286e18426e86c00bdbfdaae840",
+ "m_Id": 1,
+ "m_DisplayName": "X",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "X",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "38e3682de0fe4b7e834fc88a7fd54f4d",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "3e165d96367e4901bc9876044554588c",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -241.3332977294922,
+ "y": -6.000007152557373,
+ "width": 148.66659545898438,
+ "height": 36.00001907348633
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5cf81e7272804f2f8cabbe976f0b1b13"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "32d95fb1210b417892ceabe88d06e605"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DotProductNode",
+ "m_ObjectId": "4157f6d98e8f4cff8948bb4a108c6c31",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Dot Product",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -214.00006103515626,
+ "y": 422.666748046875,
+ "width": 209.33331298828126,
+ "height": 303.9998779296875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9d1c829c991d43528afa6acad4033478"
+ },
+ {
+ "m_Id": "e07427594c9c4aebaf796277470ea1b9"
+ },
+ {
+ "m_Id": "257091401f41417f890fcdb167c84b91"
+ }
+ ],
+ "synonyms": [
+ "scalar product"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "44d75f87a8b5408ca38a1416cf418dd4",
+ "m_Id": 3,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SaturateNode",
+ "m_ObjectId": "45e0e6b45a3a4118a13934d39d0bbd83",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Saturate",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 38.66663360595703,
+ "y": 386.6667175292969,
+ "width": 129.3333740234375,
+ "height": 95.99996948242188
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b6d0fad5c1d84782b3e20bc6ac0bf2ef"
+ },
+ {
+ "m_Id": "4b263288e74549868e19d6c900861097"
+ }
+ ],
+ "synonyms": [
+ "clamp"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "4aa44cb42d3b4c80ba8f1903b32f37b4",
+ "m_Id": 1,
+ "m_DisplayName": "b",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "b",
+ "m_StageCapability": 3,
+ "m_Value": 1.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "4b263288e74549868e19d6c900861097",
+ "m_Id": 1,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "4ed7912197f44f93bf2584ee61c855c0",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "4ee86880f28443d0b7b1ef7c79bc91b3",
+ "m_Id": 3,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3Node",
+ "m_ObjectId": "4efbc3bbf016413e94e4c9ac65dd4789",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Vector 3",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 41.33331298828125,
+ "y": -774.6666870117188,
+ "width": 129.33340454101563,
+ "height": 126.66668701171875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "34ff91286e18426e86c00bdbfdaae840"
+ },
+ {
+ "m_Id": "27837f86ddaf41618adf108cef8baa14"
+ },
+ {
+ "m_Id": "0cb14acd223546c1a2eedd3a5fcebc2b"
+ },
+ {
+ "m_Id": "244615cd3b5b44c7a2ac7c7da8a71dfc"
+ }
+ ],
+ "synonyms": [
+ "3",
+ "v3",
+ "vec3",
+ "float3"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "501036e1d6184113a2c38a110f6ca14b",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "5fcf9b30d74446eea8cc0773e5f006a6"
+ },
+ {
+ "m_Id": "2a25272ab02641c5bf8885ef2790f1c1"
+ },
+ {
+ "m_Id": "32d95fb1210b417892ceabe88d06e605"
+ },
+ {
+ "m_Id": "e6bca830ac7e48a9bbcdc9f0f8ee6967"
+ },
+ {
+ "m_Id": "22a4bb49b85e452a8db5595bcbeb91c5"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "5847cfaef25747b4a16efd37770506fa",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "5b947c35e0f3453e887c550f2ec5bfdf",
+ "m_Id": 1,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "5cf81e7272804f2f8cabbe976f0b1b13",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "5fcf9b30d74446eea8cc0773e5f006a6",
+ "m_Guid": {
+ "m_GuidSerialized": "e0a3ade0-ddd9-4c69-b3b5-923901f7b2da"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 1.0,
+ "g": 1.0,
+ "b": 1.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "649eba81e261435c982f5e3d878ce491",
+ "m_Id": 2,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "657b2df0b83647419b503f35d2e540fb",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "6af38677f0a54e4b802818a37c1d6a25",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
+ "m_ObjectId": "76c827b6d41f41adaa41a73858a18fb3",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Normal Vector",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -517.3333129882813,
+ "y": 478.0000915527344,
+ "width": 209.33334350585938,
+ "height": 318.6664733886719
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e938be3931ac46ffa7edddb940436026"
+ }
+ ],
+ "synonyms": [
+ "surface direction"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 2,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Space": 2
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "793b2df7f27d4151a34ffe48af207418",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -30.666671752929689,
+ "y": -480.6666259765625,
+ "width": 184.66668701171876,
+ "height": 254.66665649414063
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "0dae3d1d556d4097b65295fe64706c86"
+ },
+ {
+ "m_Id": "de6d929ef0ec47878f4068f31fea7ae5"
+ },
+ {
+ "m_Id": "2a8ff216f8fa407e992c0938ddd0e2c6"
+ },
+ {
+ "m_Id": "97382d7cd5ce4cecbf2468b7f6d66a9a"
+ },
+ {
+ "m_Id": "6af38677f0a54e4b802818a37c1d6a25"
+ },
+ {
+ "m_Id": "4ed7912197f44f93bf2584ee61c855c0"
+ },
+ {
+ "m_Id": "2bdcfcd7d92349a79460b57f609ef989"
+ },
+ {
+ "m_Id": "daf420841b3c40889d2c501d86575475"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 1,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "7987a14649d0436fbb2b63bd33dc08d5",
+ "m_Id": 0,
+ "m_DisplayName": "a",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "a",
+ "m_StageCapability": 3,
+ "m_Value": -1.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "7da0169054194d1ca00d240bd0af65b4",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingToonyFactor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "81b78da7e4f34f108683a1b7f4c3ae4f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 191.83334350585938,
+ "y": -719.625,
+ "width": 209.33334350585938,
+ "height": 304.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ca76bcc7cea846269e39d74f97a0ead4"
+ },
+ {
+ "m_Id": "8d7a61e8c61841e58a3286448d5ea2b2"
+ },
+ {
+ "m_Id": "b7080a7c10fd4b93b68b164b9ea70568"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "8372fcb866dc4d37847d61202dc300e1",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "876172de5f624593ad014c6084923ec0",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "8d7a61e8c61841e58a3286448d5ea2b2",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "93ab07151d1b4240ab5d847b40bf0a80",
+ "m_Id": 0,
+ "m_DisplayName": "ShadingColorMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "97382d7cd5ce4cecbf2468b7f6d66a9a",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "9cb9ef053c164969a9aab726b690190a",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "9d1c829c991d43528afa6acad4033478",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
+ "m_ObjectId": "9e8ee3e30f75499087e513eaac81b463",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "linearstep (Custom Function)",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 189.33331298828126,
+ "y": 242.66673278808595,
+ "width": 211.99993896484376,
+ "height": 143.99998474121095
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "7987a14649d0436fbb2b63bd33dc08d5"
+ },
+ {
+ "m_Id": "4aa44cb42d3b4c80ba8f1903b32f37b4"
+ },
+ {
+ "m_Id": "cfc8a677eace44708d05b23cb2b55d44"
+ },
+ {
+ "m_Id": "44d75f87a8b5408ca38a1416cf418dd4"
+ }
+ ],
+ "synonyms": [
+ "code",
+ "HLSL"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SourceType": 1,
+ "m_FunctionName": "linearstep",
+ "m_FunctionSource": "",
+ "m_FunctionBody": "Out = saturate( ( t - a ) / ( b - a ) );"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "a42e09269a6848a7b3adddfc9edfcce2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -16.666717529296876,
+ "y": -131.99996948242188,
+ "width": 184.66671752929688,
+ "height": 254.6666717529297
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5847cfaef25747b4a16efd37770506fa"
+ },
+ {
+ "m_Id": "657b2df0b83647419b503f35d2e540fb"
+ },
+ {
+ "m_Id": "f91901c910614437a72ff48aa2a3115c"
+ },
+ {
+ "m_Id": "876172de5f624593ad014c6084923ec0"
+ },
+ {
+ "m_Id": "9cb9ef053c164969a9aab726b690190a"
+ },
+ {
+ "m_Id": "b57dd1d5bdd843d183a52cd79f346950"
+ },
+ {
+ "m_Id": "649eba81e261435c982f5e3d878ce491"
+ },
+ {
+ "m_Id": "25430c424d804824bd3531ba9880d62f"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 1,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "a838792aa13d4541818368f65bb82d7a",
+ "m_Id": 0,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NegateNode",
+ "m_ObjectId": "ac0d7130cca947dfa64b9b4e4869b270",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Negate",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 38.66663360595703,
+ "y": 242.66673278808595,
+ "width": 129.3333740234375,
+ "height": 95.99998474121094
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "cac2f02518114904803896b7968ba030"
+ },
+ {
+ "m_Id": "d7dcd343de1f4610bd50183c7bbc027a"
+ }
+ ],
+ "synonyms": [
+ "invert",
+ "opposite"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.LerpNode",
+ "m_ObjectId": "b16e118211bd4fc9b39121a2725d715f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Lerp",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 445.9999694824219,
+ "y": -225.99998474121095,
+ "width": 209.33328247070313,
+ "height": 328.0000305175781
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2b0e00506cd94b85af274754e35c77df"
+ },
+ {
+ "m_Id": "edb0fcfb67d244fe80df1b46b01370e5"
+ },
+ {
+ "m_Id": "d786e0e9365341c09aec46e04e10c1dc"
+ },
+ {
+ "m_Id": "4ee86880f28443d0b7b1ef7c79bc91b3"
+ }
+ ],
+ "synonyms": [
+ "mix",
+ "blend",
+ "linear interpolate"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "b57dd1d5bdd843d183a52cd79f346950",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "b6d0fad5c1d84782b3e20bc6ac0bf2ef",
+ "m_Id": 0,
+ "m_DisplayName": "In",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "b7080a7c10fd4b93b68b164b9ea70568",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "bb4f64b76594481eabd5d02fd49e443a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 189.33331298828126,
+ "y": -207.33331298828126,
+ "width": 209.33331298828126,
+ "height": 304.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "df377d8b254448c3bb530d3b5fc8caf2"
+ },
+ {
+ "m_Id": "bfdd6544b5774cadbe83892bdc8d4e43"
+ },
+ {
+ "m_Id": "163b9d55f9ee44c2b2cb1436f7f8054c"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "bfdd6544b5774cadbe83892bdc8d4e43",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MainLightDirectionNode",
+ "m_ObjectId": "c79574bf98cd4d1cb1029e884069a2ec",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Main Light Direction",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -469.3333435058594,
+ "y": 376.6667175292969,
+ "width": 161.3333740234375,
+ "height": 78.6666259765625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1e5c3325236a458cb23473e61ab52258"
+ }
+ ],
+ "synonyms": [
+ "sun"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "ca76bcc7cea846269e39d74f97a0ead4",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "cac2f02518114904803896b7968ba030",
+ "m_Id": 0,
+ "m_DisplayName": "In",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SplitNode",
+ "m_ObjectId": "cf9257d1f44646b7bb3f3e3b42ecc29e",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Split",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -113.33329010009766,
+ "y": -795.3333740234375,
+ "width": 120.66663360595703,
+ "height": 150.66668701171876
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2c8e55ce73964f1bbdc9beb405a0093f"
+ },
+ {
+ "m_Id": "e89cf23170ba405e8d246dc5294c2b52"
+ },
+ {
+ "m_Id": "0cb0ffabbdaf4fb3b425b2e9537bed5d"
+ },
+ {
+ "m_Id": "1597fd3003474e4698f6d4adb9d4f390"
+ },
+ {
+ "m_Id": "f22d8391c7d848bc98ea5de0e815a928"
+ }
+ ],
+ "synonyms": [
+ "separate"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "cfc8a677eace44708d05b23cb2b55d44",
+ "m_Id": 2,
+ "m_DisplayName": "t",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "t",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "d00ad0a354f1442c89d28b756c8fdcc6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -277.33331298828127,
+ "y": -756.0,
+ "width": 132.00001525878907,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2985a88ee0fd48b9a675673f8eea588e"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "5fcf9b30d74446eea8cc0773e5f006a6"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "d786e0e9365341c09aec46e04e10c1dc",
+ "m_Id": 2,
+ "m_DisplayName": "T",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "T",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "d79d0ca1463f424899863b8c4e306f4b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -241.3332977294922,
+ "y": 30.00001335144043,
+ "width": 177.99990844726563,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "93ab07151d1b4240ab5d847b40bf0a80"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "e6bca830ac7e48a9bbcdc9f0f8ee6967"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "d7dcd343de1f4610bd50183c7bbc027a",
+ "m_Id": 1,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "daf420841b3c40889d2c501d86575475",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "dcb2eb82aeda4f4781fa51c613f2f64c",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "de6d929ef0ec47878f4068f31fea7ae5",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "df377d8b254448c3bb530d3b5fc8caf2",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "e07427594c9c4aebaf796277470ea1b9",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 1.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
+ "m_ObjectId": "e14d05fc892148ad9baf9d7558e2cb5a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Output",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 714.6666870117188,
+ "y": -428.6665954589844,
+ "width": 110.00006103515625,
+ "height": 102.6666259765625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5b947c35e0f3453e887c550f2ec5bfdf"
+ },
+ {
+ "m_Id": "eb34d529e298407aa3606f9cbcdc7819"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "IsFirstSlotValid": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "e6bca830ac7e48a9bbcdc9f0f8ee6967",
+ "m_Guid": {
+ "m_GuidSerialized": "ad5cc3fe-a5f8-4a48-9956-35d13519f07e"
+ },
+ "m_Name": "ShadingColorMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "ShadingColorMap",
+ "m_DefaultReferenceName": "_ShadingColorMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "e89cf23170ba405e8d246dc5294c2b52",
+ "m_Id": 1,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "e938be3931ac46ffa7edddb940436026",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "ea269fbf6a224fecbba11cbfe8f687b3",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -278.6666259765625,
+ "y": -451.9999694824219,
+ "width": 133.33328247070313,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a838792aa13d4541818368f65bb82d7a"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "2a25272ab02641c5bf8885ef2790f1c1"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "eb34d529e298407aa3606f9cbcdc7819",
+ "m_Id": 2,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "ebb1c97eea8c4747ab5c2c8eb36fb25f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 271.3333435058594,
+ "y": -402.6666259765625,
+ "width": 127.33328247070313,
+ "height": 120.00003051757813
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "8372fcb866dc4d37847d61202dc300e1"
+ },
+ {
+ "m_Id": "38e3682de0fe4b7e834fc88a7fd54f4d"
+ },
+ {
+ "m_Id": "dcb2eb82aeda4f4781fa51c613f2f64c"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "edb0fcfb67d244fe80df1b46b01370e5",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "f22d8391c7d848bc98ea5de0e815a928",
+ "m_Id": 4,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "f91901c910614437a72ff48aa2a3115c",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToon_SubGraph.shadersubgraph.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToon_SubGraph.shadersubgraph.meta
new file mode 100644
index 000000000..812e9d425
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyMToon_SubGraph.shadersubgraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 45c6d2335bae988419dbc2ec65c33dae
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrAlphaBlend.shadergraph b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrAlphaBlend.shadergraph
new file mode 100644
index 000000000..f25a42259
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrAlphaBlend.shadergraph
@@ -0,0 +1,2402 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "77181a4b19324ebdb175da71cf4f6186",
+ "m_Properties": [
+ {
+ "m_Id": "92f5ab11614c4ec1b4d632f73041ba65"
+ },
+ {
+ "m_Id": "dea047da4cb0442bac26d6f468ba8f66"
+ },
+ {
+ "m_Id": "653228a387f647d5a5e1fa4da9b5f6d7"
+ },
+ {
+ "m_Id": "6b344f9254d2438b8ad07e5eef11db71"
+ },
+ {
+ "m_Id": "c4ff105a2181464aaee7d5b6146a2c9b"
+ },
+ {
+ "m_Id": "2859cb147a7742fca0dbb5256243d468"
+ },
+ {
+ "m_Id": "fd4b1637b32c44d79eea652e4b5626b2"
+ },
+ {
+ "m_Id": "f8ac3f450f1a4d849926601ace10a04f"
+ },
+ {
+ "m_Id": "d77500f24b3f490daf8cc2f5dcd19f60"
+ },
+ {
+ "m_Id": "9e699a1f35ed460f9274b370e7e01749"
+ },
+ {
+ "m_Id": "2138b6eae95a4a249265714cefb1795f"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "0778abfa54c94f9abfd0482e1de4d602"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "f56f676a56e04566a12f41980b760358"
+ },
+ {
+ "m_Id": "307a94d3f1ca45a39f6170433e3c81c6"
+ },
+ {
+ "m_Id": "7b57df1b4e444208bd41b7b749f485d0"
+ },
+ {
+ "m_Id": "80fce1dbcef04945aa9b988609dbe324"
+ },
+ {
+ "m_Id": "6f683c2eb23a4baf8dc028500640b75a"
+ },
+ {
+ "m_Id": "6098dc7f36d84b83b8421cc0e56ed1a0"
+ },
+ {
+ "m_Id": "53f1bc01113946bc946f0808f16df02b"
+ },
+ {
+ "m_Id": "0f64718141f34878916463ec72c9d2d8"
+ },
+ {
+ "m_Id": "58ee8fea72cc4a649f9a1198b12d621b"
+ },
+ {
+ "m_Id": "305a571d629e4b258d80c3ad877cb596"
+ },
+ {
+ "m_Id": "0b94be19d37c4268b363243bac818ac4"
+ },
+ {
+ "m_Id": "3be41b6b511d440c94c29229f4a7bdc2"
+ },
+ {
+ "m_Id": "19964d5b976e467eb1b4a7f544bf3fef"
+ },
+ {
+ "m_Id": "b08614dabfc6474ebee92e0b18d28d4b"
+ },
+ {
+ "m_Id": "a60bd914ad7646698bb7f9c25f78f88d"
+ },
+ {
+ "m_Id": "73efafc771664c7b8a4e4b9e58a6e868"
+ },
+ {
+ "m_Id": "b83e5bff780742a79344a87ff879965a"
+ },
+ {
+ "m_Id": "609f313b8b6f4ee8a871650dc611dc0c"
+ },
+ {
+ "m_Id": "94fe3f50fd0c4ce3a036c672b2d71557"
+ },
+ {
+ "m_Id": "f36558b3ef9547e295ba8c189a69b79a"
+ },
+ {
+ "m_Id": "13c40b9504d247499cd3ce8a57badab2"
+ },
+ {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "0b94be19d37c4268b363243bac818ac4"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": -1946006235
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "19964d5b976e467eb1b4a7f544bf3fef"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 2124990166
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "305a571d629e4b258d80c3ad877cb596"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 725867842
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "3be41b6b511d440c94c29229f4a7bdc2"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 1886474450
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "609f313b8b6f4ee8a871650dc611dc0c"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": -1417122351
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "73efafc771664c7b8a4e4b9e58a6e868"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 1450746048
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "94fe3f50fd0c4ce3a036c672b2d71557"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 31906282
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a60bd914ad7646698bb7f9c25f78f88d"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 1238374258
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b08614dabfc6474ebee92e0b18d28d4b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": -1762040067
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "b83e5bff780742a79344a87ff879965a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": -5762650
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "80fce1dbcef04945aa9b988609dbe324"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "13c40b9504d247499cd3ce8a57badab2"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "58ee8fea72cc4a649f9a1198b12d621b"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "53f1bc01113946bc946f0808f16df02b"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 5
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6098dc7f36d84b83b8421cc0e56ed1a0"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 6
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6f683c2eb23a4baf8dc028500640b75a"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": 7
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0f64718141f34878916463ec72c9d2d8"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "f36558b3ef9547e295ba8c189a69b79a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "c4b5803e8c2f4d65ab4f294fe361adc1"
+ },
+ "m_SlotId": -1532749908
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": -0.0000019073486328125,
+ "y": 0.0000025854387786239387
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "f56f676a56e04566a12f41980b760358"
+ },
+ {
+ "m_Id": "307a94d3f1ca45a39f6170433e3c81c6"
+ },
+ {
+ "m_Id": "7b57df1b4e444208bd41b7b749f485d0"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.000029290516977198422,
+ "y": 198.0
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "80fce1dbcef04945aa9b988609dbe324"
+ },
+ {
+ "m_Id": "13c40b9504d247499cd3ce8a57badab2"
+ },
+ {
+ "m_Id": "58ee8fea72cc4a649f9a1198b12d621b"
+ },
+ {
+ "m_Id": "53f1bc01113946bc946f0808f16df02b"
+ },
+ {
+ "m_Id": "6098dc7f36d84b83b8421cc0e56ed1a0"
+ },
+ {
+ "m_Id": "6f683c2eb23a4baf8dc028500640b75a"
+ },
+ {
+ "m_Id": "0f64718141f34878916463ec72c9d2d8"
+ }
+ ]
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Shader Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": ""
+ },
+ "m_SubDatas": [],
+ "m_ActiveTargets": [
+ {
+ "m_Id": "15cb78699c8c4194ad103421699dbd17"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "064aae75fadd4a0b942d21348da5dd81",
+ "m_Id": 0,
+ "m_DisplayName": "BumpMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "0778abfa54c94f9abfd0482e1de4d602",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "92f5ab11614c4ec1b4d632f73041ba65"
+ },
+ {
+ "m_Id": "dea047da4cb0442bac26d6f468ba8f66"
+ },
+ {
+ "m_Id": "653228a387f647d5a5e1fa4da9b5f6d7"
+ },
+ {
+ "m_Id": "6b344f9254d2438b8ad07e5eef11db71"
+ },
+ {
+ "m_Id": "2859cb147a7742fca0dbb5256243d468"
+ },
+ {
+ "m_Id": "fd4b1637b32c44d79eea652e4b5626b2"
+ },
+ {
+ "m_Id": "c4ff105a2181464aaee7d5b6146a2c9b"
+ },
+ {
+ "m_Id": "f8ac3f450f1a4d849926601ace10a04f"
+ },
+ {
+ "m_Id": "d77500f24b3f490daf8cc2f5dcd19f60"
+ },
+ {
+ "m_Id": "9e699a1f35ed460f9274b370e7e01749"
+ },
+ {
+ "m_Id": "2138b6eae95a4a249265714cefb1795f"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "0b94be19d37c4268b363243bac818ac4",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -780.0000610351563,
+ "y": 222.66671752929688,
+ "width": 132.00006103515626,
+ "height": 36.000030517578128
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ef0016b4d1214fc5b0766f3f8883eaca"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "dea047da4cb0442bac26d6f468ba8f66"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "0c6c8839346e4e1085ec68e62b8860e6",
+ "m_Id": -5762650,
+ "m_DisplayName": "NormalStrength",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_NormalStrength",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "0ed4fbfbef64412cb58364eefca5123d",
+ "m_Id": 0,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "0f64718141f34878916463ec72c9d2d8",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Emission",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a8a3476bbfe8465fbf208d8592d231a3"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Emission"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1249bfae131843f0b0f42b05e5cae7f4",
+ "m_Id": 5,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "13c40b9504d247499cd3ce8a57badab2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Alpha",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 36.66667175292969,
+ "y": 270.6667175292969,
+ "width": 200.0,
+ "height": 42.666656494140628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "c79e0b8d88444f8d919d1715bead490b"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Alpha"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "15cb78699c8c4194ad103421699dbd17",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "352f1953e12a45019330c49643812248"
+ },
+ "m_AllowMaterialOverride": false,
+ "m_SurfaceType": 1,
+ "m_ZTestMode": 4,
+ "m_ZWriteControl": 0,
+ "m_AlphaMode": 0,
+ "m_RenderFace": 2,
+ "m_AlphaClip": false,
+ "m_CastShadows": true,
+ "m_ReceiveShadows": true,
+ "m_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1773542df3cf4760b4bc7081934f54ca",
+ "m_Id": 0,
+ "m_DisplayName": "Smoothness",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Smoothness",
+ "m_StageCapability": 2,
+ "m_Value": 0.5,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "17df52ae8460420e81e7503b6d00aaa2",
+ "m_Id": 3,
+ "m_DisplayName": "AmbientOcclusion",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "AmbientOcclusion",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "18600c0e0b684bd2bde9f99a280013f2",
+ "m_Id": 7,
+ "m_DisplayName": "Emission",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Emission",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "19964d5b976e467eb1b4a7f544bf3fef",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -780.0,
+ "y": 330.666748046875,
+ "width": 159.33331298828126,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "6aef7829a5044fd4a7f91e8641f0f647"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "6b344f9254d2438b8ad07e5eef11db71"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1b504994184f46fb86fd313496af2752",
+ "m_Id": 0,
+ "m_DisplayName": "Ambient Occlusion",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Occlusion",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
+ "m_ObjectId": "1c1aa306b109406fae4e7ad7412fdb14",
+ "m_Id": 0,
+ "m_DisplayName": "Tangent",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Tangent",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "204b111e465b44809369f1d3e5a90370",
+ "m_Id": 0,
+ "m_DisplayName": "Normal (Tangent Space)",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "NormalTS",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 3
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "2138b6eae95a4a249265714cefb1795f",
+ "m_Guid": {
+ "m_GuidSerialized": "38fb1136-db3c-4ff9-b392-107a99d04afb"
+ },
+ "m_Name": "EmissionMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "EmissionMap",
+ "m_DefaultReferenceName": "_EmissionMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"09e6225be3a2a43489e11a41cb198377\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 4
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "2859cb147a7742fca0dbb5256243d468",
+ "m_Guid": {
+ "m_GuidSerialized": "a6fd3729-c8ec-4297-8e95-c4d2117333eb"
+ },
+ "m_Name": "Roughness",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Roughness",
+ "m_DefaultReferenceName": "_Roughness",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "2a90f4f9ee894c98a389095389f44c3e",
+ "m_Id": 2124990166,
+ "m_DisplayName": "OcclusionMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_OcclusionMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "305a571d629e4b258d80c3ad877cb596",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -780.0000610351563,
+ "y": 258.666748046875,
+ "width": 133.33331298828126,
+ "height": 35.999908447265628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "46fb52b8b307424ab27250d54f2c27f9"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "92f5ab11614c4ec1b4d632f73041ba65"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "307a94d3f1ca45a39f6170433e3c81c6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Normal",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e1de0ca351fd43ff866485e33328e300"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Normal"
+}
+
+{
+ "m_SGVersion": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget",
+ "m_ObjectId": "352f1953e12a45019330c49643812248",
+ "m_WorkflowMode": 1,
+ "m_NormalDropOffSpace": 0,
+ "m_ClearCoat": false,
+ "m_BlendModePreserveSpecular": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "3be41b6b511d440c94c29229f4a7bdc2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -780.0,
+ "y": 294.6667175292969,
+ "width": 172.66668701171876,
+ "height": 36.000030517578128
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a9fa65ff74114c879317162bdb85c658"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "653228a387f647d5a5e1fa4da9b5f6d7"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "3dbad67e2e2146c8b1a68582b756c2c7",
+ "m_Id": -1417122351,
+ "m_DisplayName": "NormalMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_NormalMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "435d79c5527e4cd8935ce1a874f4ad05",
+ "m_Id": 0,
+ "m_DisplayName": "MetallicRoughnessMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "436e0382b6434d229544f494444c062c",
+ "m_Id": 1886474450,
+ "m_DisplayName": "OcclusionStrength",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_OcclusionStrength",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "46fb52b8b307424ab27250d54f2c27f9",
+ "m_Id": 0,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "4c6ee0f59e3d4afab086ea6501f69c3a",
+ "m_Id": 725867842,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "53f1bc01113946bc946f0808f16df02b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Smoothness",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 10.000014305114746,
+ "y": 317.3333435058594,
+ "width": 199.9999542236328,
+ "height": 42.666656494140628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1773542df3cf4760b4bc7081934f54ca"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Smoothness"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "58ee8fea72cc4a649f9a1198b12d621b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Occlusion",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 15.999993324279786,
+ "y": 262.0000305175781,
+ "width": 199.99993896484376,
+ "height": 42.66668701171875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1b504994184f46fb86fd313496af2752"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Occlusion"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "5a21e8144c104bb8bfc4dcee87683f45",
+ "m_Id": -1762040067,
+ "m_DisplayName": "MetallicRoughnessMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_MetallicRoughnessMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"909670d47b2f55d4a991788acca59d7e\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5a8cf66e7bd645ebab1cdabae75c9000",
+ "m_Id": 4,
+ "m_DisplayName": "Smoothness",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Smoothness",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "5b7f2676365f43f9a78c68c81e6d2225",
+ "m_Id": 31906282,
+ "m_DisplayName": "EmissionColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_EmissionColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "5cf79a3cb2d74435a5819c596b48662e",
+ "m_Id": 6,
+ "m_DisplayName": "Normal",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Normal",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "5dc2f5aa641347b2aeb52a9767a433ce",
+ "m_Id": 0,
+ "m_DisplayName": "EmissionColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "6098dc7f36d84b83b8421cc0e56ed1a0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Metallic",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 10.000083923339844,
+ "y": 268.0,
+ "width": 199.99993896484376,
+ "height": 42.66668701171875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "cd2a46a6fe0746ae965dc193ce0757eb"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Metallic"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "609f313b8b6f4ee8a871650dc611dc0c",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -780.0,
+ "y": 474.6666564941406,
+ "width": 138.0,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "064aae75fadd4a0b942d21348da5dd81"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "d77500f24b3f490daf8cc2f5dcd19f60"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "619a91e5d75d4a629f14de895dbebb39",
+ "m_Id": 0,
+ "m_DisplayName": "Position",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Position",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "653228a387f647d5a5e1fa4da9b5f6d7",
+ "m_Guid": {
+ "m_GuidSerialized": "2403dd65-ec64-45a0-a766-875dd5bcd6d8"
+ },
+ "m_Name": "OcclusionStrength",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "OcclusionStrength",
+ "m_DefaultReferenceName": "_OcclusionStrength",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "6aef7829a5044fd4a7f91e8641f0f647",
+ "m_Id": 0,
+ "m_DisplayName": "OcclusionMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "6b344f9254d2438b8ad07e5eef11db71",
+ "m_Guid": {
+ "m_GuidSerialized": "2056943e-f283-4125-862c-dd5321f1cdd2"
+ },
+ "m_Name": "OcclusionMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "OcclusionMap",
+ "m_DefaultReferenceName": "_OcclusionMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"51ce5cf2de6d788449c2fdd4b8488a92\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 4
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "6f683c2eb23a4baf8dc028500640b75a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.NormalTS",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "204b111e465b44809369f1d3e5a90370"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.NormalTS"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "71549300d32e489db50ca24dfdc33b8d",
+ "m_Id": 1450746048,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "72164721f8af40cba28e44f84a0f4fd5",
+ "m_Id": 0,
+ "m_DisplayName": "EmissionMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "73efafc771664c7b8a4e4b9e58a6e868",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -779.3333129882813,
+ "y": 402.66668701171877,
+ "width": 117.33331298828125,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "0ed4fbfbef64412cb58364eefca5123d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "fd4b1637b32c44d79eea652e4b5626b2"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "7454a78d02bb4f79b6ff0f81f6b795a0",
+ "m_Id": 0,
+ "m_DisplayName": "Base Color",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.5,
+ "y": 0.5,
+ "z": 0.5
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_ColorMode": 0,
+ "m_DefaultColor": {
+ "r": 0.5,
+ "g": 0.5,
+ "b": 0.5,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "7b57df1b4e444208bd41b7b749f485d0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Tangent",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1c1aa306b109406fae4e7ad7412fdb14"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Tangent"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "80fce1dbcef04945aa9b988609dbe324",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.BaseColor",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "7454a78d02bb4f79b6ff0f81f6b795a0"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "86409fdb77e447f19dcf968176770f7f",
+ "m_Id": 0,
+ "m_DisplayName": "Roughness",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "8a942b1b0a9e4072aaa6ea9cf8bf4730",
+ "m_Id": -1532749908,
+ "m_DisplayName": "EmissionMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_EmissionMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"09e6225be3a2a43489e11a41cb198377\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "92f5ab11614c4ec1b4d632f73041ba65",
+ "m_Guid": {
+ "m_GuidSerialized": "df5eef53-f7a6-40ef-8fca-1fd91f86d83f"
+ },
+ "m_Name": "BaseMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseMap",
+ "m_DefaultReferenceName": "_BaseMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"3ab316f1cf207684abb754d9a2731c66\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": true,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "94fe3f50fd0c4ce3a036c672b2d71557",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -780.0,
+ "y": 546.6666259765625,
+ "width": 152.66668701171876,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "5dc2f5aa641347b2aeb52a9767a433ce"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "9e699a1f35ed460f9274b370e7e01749"
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "9e699a1f35ed460f9274b370e7e01749",
+ "m_Guid": {
+ "m_GuidSerialized": "9962908c-bb06-4540-874e-237cdf21a29e"
+ },
+ "m_Name": "EmissionColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "EmissionColor",
+ "m_DefaultReferenceName": "_EmissionColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.0,
+ "g": 0.0,
+ "b": 0.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 1
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "a564ed2bd0874547a8828688af508894",
+ "m_Id": -1946006235,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "a60bd914ad7646698bb7f9c25f78f88d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -779.3333129882813,
+ "y": 366.66668701171877,
+ "width": 134.0,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "86409fdb77e447f19dcf968176770f7f"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "2859cb147a7742fca0dbb5256243d468"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "a8a3476bbfe8465fbf208d8592d231a3",
+ "m_Id": 0,
+ "m_DisplayName": "Emission",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Emission",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_ColorMode": 1,
+ "m_DefaultColor": {
+ "r": 0.0,
+ "g": 0.0,
+ "b": 0.0,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "a9fa65ff74114c879317162bdb85c658",
+ "m_Id": 0,
+ "m_DisplayName": "OcclusionStrength",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b08614dabfc6474ebee92e0b18d28d4b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -779.3333129882813,
+ "y": 438.66668701171877,
+ "width": 206.0,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "435d79c5527e4cd8935ce1a874f4ad05"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "c4ff105a2181464aaee7d5b6146a2c9b"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "b83e5bff780742a79344a87ff879965a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -779.3333129882813,
+ "y": 510.6666564941406,
+ "width": 134.6666259765625,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e7d2ed98f9964f4aa647d47a4707f549"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "f8ac3f450f1a4d849926601ace10a04f"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "c4b5803e8c2f4d65ab4f294fe361adc1",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "TinyPbr",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -393.33331298828127,
+ "y": 198.00001525878907,
+ "width": 302.6667175292969,
+ "height": 521.333251953125
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a564ed2bd0874547a8828688af508894"
+ },
+ {
+ "m_Id": "4c6ee0f59e3d4afab086ea6501f69c3a"
+ },
+ {
+ "m_Id": "436e0382b6434d229544f494444c062c"
+ },
+ {
+ "m_Id": "2a90f4f9ee894c98a389095389f44c3e"
+ },
+ {
+ "m_Id": "e043d33275ff4d788159fbf72c08a661"
+ },
+ {
+ "m_Id": "71549300d32e489db50ca24dfdc33b8d"
+ },
+ {
+ "m_Id": "5a21e8144c104bb8bfc4dcee87683f45"
+ },
+ {
+ "m_Id": "3dbad67e2e2146c8b1a68582b756c2c7"
+ },
+ {
+ "m_Id": "0c6c8839346e4e1085ec68e62b8860e6"
+ },
+ {
+ "m_Id": "5b7f2676365f43f9a78c68c81e6d2225"
+ },
+ {
+ "m_Id": "8a942b1b0a9e4072aaa6ea9cf8bf4730"
+ },
+ {
+ "m_Id": "f2093c0d46b3489f85b385fd8422f230"
+ },
+ {
+ "m_Id": "e758d7cb528f4d5d9fefce8c56e0630d"
+ },
+ {
+ "m_Id": "17df52ae8460420e81e7503b6d00aaa2"
+ },
+ {
+ "m_Id": "5a8cf66e7bd645ebab1cdabae75c9000"
+ },
+ {
+ "m_Id": "1249bfae131843f0b0f42b05e5cae7f4"
+ },
+ {
+ "m_Id": "5cf79a3cb2d74435a5819c596b48662e"
+ },
+ {
+ "m_Id": "18600c0e0b684bd2bde9f99a280013f2"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"2fe3270edce96f4438a6dcc501a8c5cd\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "b78d6b8b-b348-4425-8b4e-41096ddbeb76",
+ "13da451d-5e09-4040-8b64-ceb8dda217c0",
+ "7158af0f-43b5-4192-8219-b5dceaa50e9c",
+ "3c367e55-9fb2-480b-bea6-22ae8f81b7a4",
+ "f752957a-ec1a-4574-8fac-9b1b9dc26de0",
+ "973fb1a8-0148-4447-9bfe-a520bbeea5a5",
+ "bc3d4243-09da-46a4-9dc6-0c47f9eb6c2b",
+ "faa5e58d-2520-4f65-9d9f-7fd1e13237cf",
+ "d703b665-c68c-4723-b0fe-9322ff9f1b4d",
+ "bf455d07-d15f-40c3-96b7-f94d24e299b3",
+ "d9244f52-772a-4de5-aeb8-8d877a97e8b7"
+ ],
+ "m_PropertyIds": [
+ -1946006235,
+ 725867842,
+ 1886474450,
+ 2124990166,
+ 1238374258,
+ 1450746048,
+ -1762040067,
+ -1417122351,
+ -5762650,
+ 31906282,
+ -1532749908
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "c4ff105a2181464aaee7d5b6146a2c9b",
+ "m_Guid": {
+ "m_GuidSerialized": "77edee86-bd02-4114-a7f5-247e9ba9cf42"
+ },
+ "m_Name": "MetallicRoughnessMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "MetallicRoughnessMap",
+ "m_DefaultReferenceName": "_MetallicRoughnessMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"909670d47b2f55d4a991788acca59d7e\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 4
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "c79e0b8d88444f8d919d1715bead490b",
+ "m_Id": 0,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "cd2a46a6fe0746ae965dc193ce0757eb",
+ "m_Id": 0,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "d77500f24b3f490daf8cc2f5dcd19f60",
+ "m_Guid": {
+ "m_GuidSerialized": "96cd3240-b1e2-4ec9-816f-b4be029dbeb6"
+ },
+ "m_Name": "BumpMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BumpMap",
+ "m_DefaultReferenceName": "_BumpMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 3
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "dea047da4cb0442bac26d6f468ba8f66",
+ "m_Guid": {
+ "m_GuidSerialized": "b6ef105a-c541-4441-9f6c-3ac20a1e813c"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 1.0,
+ "g": 1.0,
+ "b": 1.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "e043d33275ff4d788159fbf72c08a661",
+ "m_Id": 1238374258,
+ "m_DisplayName": "Roughness",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Roughness",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "e1de0ca351fd43ff866485e33328e300",
+ "m_Id": 0,
+ "m_DisplayName": "Normal",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Normal",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "e758d7cb528f4d5d9fefce8c56e0630d",
+ "m_Id": 2,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "e7d2ed98f9964f4aa647d47a4707f549",
+ "m_Id": 0,
+ "m_DisplayName": "BumpScale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "ef0016b4d1214fc5b0766f3f8883eaca",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "f2093c0d46b3489f85b385fd8422f230",
+ "m_Id": 1,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "f36558b3ef9547e295ba8c189a69b79a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -779.3333129882813,
+ "y": 582.6666259765625,
+ "width": 154.0,
+ "height": 35.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "72164721f8af40cba28e44f84a0f4fd5"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "2138b6eae95a4a249265714cefb1795f"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "f56f676a56e04566a12f41980b760358",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "619a91e5d75d4a629f14de895dbebb39"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Position"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "f8ac3f450f1a4d849926601ace10a04f",
+ "m_Guid": {
+ "m_GuidSerialized": "8bb96dec-3d73-4fb0-8e69-db74dee7110e"
+ },
+ "m_Name": "BumpScale",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BumpScale",
+ "m_DefaultReferenceName": "_BumpScale",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "fd4b1637b32c44d79eea652e4b5626b2",
+ "m_Guid": {
+ "m_GuidSerialized": "95cdef22-fc8b-49da-9fe2-98bab1d5658c"
+ },
+ "m_Name": "Metallic",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Metallic",
+ "m_DefaultReferenceName": "_Metallic",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrAlphaBlend.shadergraph.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrAlphaBlend.shadergraph.meta
new file mode 100644
index 000000000..a1060023f
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrAlphaBlend.shadergraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 868190a58757d6242bb3ca456402f82f
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrOpaque.shadergraph b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrOpaque.shadergraph
new file mode 100644
index 000000000..a4bf22ab9
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrOpaque.shadergraph
@@ -0,0 +1,2814 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "77181a4b19324ebdb175da71cf4f6186",
+ "m_Properties": [
+ {
+ "m_Id": "92f5ab11614c4ec1b4d632f73041ba65"
+ },
+ {
+ "m_Id": "dea047da4cb0442bac26d6f468ba8f66"
+ },
+ {
+ "m_Id": "653228a387f647d5a5e1fa4da9b5f6d7"
+ },
+ {
+ "m_Id": "6b344f9254d2438b8ad07e5eef11db71"
+ },
+ {
+ "m_Id": "c4ff105a2181464aaee7d5b6146a2c9b"
+ },
+ {
+ "m_Id": "2859cb147a7742fca0dbb5256243d468"
+ },
+ {
+ "m_Id": "fd4b1637b32c44d79eea652e4b5626b2"
+ },
+ {
+ "m_Id": "f8ac3f450f1a4d849926601ace10a04f"
+ },
+ {
+ "m_Id": "d77500f24b3f490daf8cc2f5dcd19f60"
+ },
+ {
+ "m_Id": "9e699a1f35ed460f9274b370e7e01749"
+ },
+ {
+ "m_Id": "2138b6eae95a4a249265714cefb1795f"
+ },
+ {
+ "m_Id": "ef1c5fb59a8d4550ab9c739f843edaa0"
+ },
+ {
+ "m_Id": "fb6c28211dec4e1bb1a36cbd93aff5e3"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "0778abfa54c94f9abfd0482e1de4d602"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "f56f676a56e04566a12f41980b760358"
+ },
+ {
+ "m_Id": "307a94d3f1ca45a39f6170433e3c81c6"
+ },
+ {
+ "m_Id": "7b57df1b4e444208bd41b7b749f485d0"
+ },
+ {
+ "m_Id": "80fce1dbcef04945aa9b988609dbe324"
+ },
+ {
+ "m_Id": "6f683c2eb23a4baf8dc028500640b75a"
+ },
+ {
+ "m_Id": "6098dc7f36d84b83b8421cc0e56ed1a0"
+ },
+ {
+ "m_Id": "53f1bc01113946bc946f0808f16df02b"
+ },
+ {
+ "m_Id": "0f64718141f34878916463ec72c9d2d8"
+ },
+ {
+ "m_Id": "58ee8fea72cc4a649f9a1198b12d621b"
+ },
+ {
+ "m_Id": "305a571d629e4b258d80c3ad877cb596"
+ },
+ {
+ "m_Id": "0b94be19d37c4268b363243bac818ac4"
+ },
+ {
+ "m_Id": "307a96558a0a40ada3c66e2e38e269ca"
+ },
+ {
+ "m_Id": "b81ee26f89a540ea946cb683ac7de047"
+ },
+ {
+ "m_Id": "67d23f92ffe24661a1bdf746af189547"
+ },
+ {
+ "m_Id": "a2cf70a9a7fe4202893a8b40f35571f9"
+ },
+ {
+ "m_Id": "855308f399fb4f71bc6584937719e851"
+ },
+ {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ {
+ "m_Id": "d5f8db7848d34ac4bc2e47bc9700b02a"
+ },
+ {
+ "m_Id": "33606465eada4266a951965cdf693f21"
+ },
+ {
+ "m_Id": "50fe60e87d4f472498833c46009df4a8"
+ },
+ {
+ "m_Id": "eec810392601496bbf30d0e04d1c9e5a"
+ },
+ {
+ "m_Id": "5e4f7e8b13d74b199e4ff6492563b050"
+ },
+ {
+ "m_Id": "4744eaae41cb4d9f811203331937ee9f"
+ },
+ {
+ "m_Id": "7b8e47a4830c4b53bedc6975dad31b72"
+ },
+ {
+ "m_Id": "fa61ad0af8f743998cdb12dfea31d6a6"
+ },
+ {
+ "m_Id": "48e90b86f7234c9d9a0ad4e07784efa2"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "0b94be19d37c4268b363243bac818ac4"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": -1946006235
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "80fce1dbcef04945aa9b988609dbe324"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "307a96558a0a40ada3c66e2e38e269ca"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "58ee8fea72cc4a649f9a1198b12d621b"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "53f1bc01113946bc946f0808f16df02b"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 5
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6098dc7f36d84b83b8421cc0e56ed1a0"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 6
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "6f683c2eb23a4baf8dc028500640b75a"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 7
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "0f64718141f34878916463ec72c9d2d8"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "305a571d629e4b258d80c3ad877cb596"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 725867842
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "33606465eada4266a951965cdf693f21"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 2124990166
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4744eaae41cb4d9f811203331937ee9f"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": -1417122351
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "48e90b86f7234c9d9a0ad4e07784efa2"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": -5762650
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "50fe60e87d4f472498833c46009df4a8"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 1238374258
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "5e4f7e8b13d74b199e4ff6492563b050"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": -1762040067
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "67d23f92ffe24661a1bdf746af189547"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "a2cf70a9a7fe4202893a8b40f35571f9"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "7b8e47a4830c4b53bedc6975dad31b72"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 31906282
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "855308f399fb4f71bc6584937719e851"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "a2cf70a9a7fe4202893a8b40f35571f9"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a2cf70a9a7fe4202893a8b40f35571f9"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "b81ee26f89a540ea946cb683ac7de047"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "d5f8db7848d34ac4bc2e47bc9700b02a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 1886474450
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "eec810392601496bbf30d0e04d1c9e5a"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": 1450746048
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "fa61ad0af8f743998cdb12dfea31d6a6"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1e162640c7ea4f02a44faef8732559e8"
+ },
+ "m_SlotId": -1532749908
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 354.0,
+ "y": 8.666659355163575
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "f56f676a56e04566a12f41980b760358"
+ },
+ {
+ "m_Id": "307a94d3f1ca45a39f6170433e3c81c6"
+ },
+ {
+ "m_Id": "7b57df1b4e444208bd41b7b749f485d0"
+ }
+ ]
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 354.0,
+ "y": 257.9999694824219
+ },
+ "m_Blocks": [
+ {
+ "m_Id": "b81ee26f89a540ea946cb683ac7de047"
+ },
+ {
+ "m_Id": "80fce1dbcef04945aa9b988609dbe324"
+ },
+ {
+ "m_Id": "307a96558a0a40ada3c66e2e38e269ca"
+ },
+ {
+ "m_Id": "58ee8fea72cc4a649f9a1198b12d621b"
+ },
+ {
+ "m_Id": "53f1bc01113946bc946f0808f16df02b"
+ },
+ {
+ "m_Id": "6098dc7f36d84b83b8421cc0e56ed1a0"
+ },
+ {
+ "m_Id": "6f683c2eb23a4baf8dc028500640b75a"
+ },
+ {
+ "m_Id": "0f64718141f34878916463ec72c9d2d8"
+ }
+ ]
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"fileID\":10205,\"guid\":\"0000000000000000e000000000000000\",\"type\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Shader Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": ""
+ },
+ "m_SubDatas": [],
+ "m_ActiveTargets": [
+ {
+ "m_Id": "15cb78699c8c4194ad103421699dbd17"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "01187177ae5b4d289136898d4db4856b",
+ "m_Id": 2,
+ "m_DisplayName": "False",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "False",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "0778abfa54c94f9abfd0482e1de4d602",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "92f5ab11614c4ec1b4d632f73041ba65"
+ },
+ {
+ "m_Id": "dea047da4cb0442bac26d6f468ba8f66"
+ },
+ {
+ "m_Id": "653228a387f647d5a5e1fa4da9b5f6d7"
+ },
+ {
+ "m_Id": "6b344f9254d2438b8ad07e5eef11db71"
+ },
+ {
+ "m_Id": "2859cb147a7742fca0dbb5256243d468"
+ },
+ {
+ "m_Id": "fd4b1637b32c44d79eea652e4b5626b2"
+ },
+ {
+ "m_Id": "c4ff105a2181464aaee7d5b6146a2c9b"
+ },
+ {
+ "m_Id": "f8ac3f450f1a4d849926601ace10a04f"
+ },
+ {
+ "m_Id": "d77500f24b3f490daf8cc2f5dcd19f60"
+ },
+ {
+ "m_Id": "9e699a1f35ed460f9274b370e7e01749"
+ },
+ {
+ "m_Id": "2138b6eae95a4a249265714cefb1795f"
+ },
+ {
+ "m_Id": "ef1c5fb59a8d4550ab9c739f843edaa0"
+ },
+ {
+ "m_Id": "fb6c28211dec4e1bb1a36cbd93aff5e3"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "08b242bb2b2f4ffcb2042d34967a36b8",
+ "m_Id": -1762040067,
+ "m_DisplayName": "MetallicRoughnessMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_MetallicRoughnessMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"909670d47b2f55d4a991788acca59d7e\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "0b94be19d37c4268b363243bac818ac4",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -323.3334045410156,
+ "y": 172.66665649414063,
+ "width": 132.0,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ef0016b4d1214fc5b0766f3f8883eaca"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "dea047da4cb0442bac26d6f468ba8f66"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "0f64718141f34878916463ec72c9d2d8",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Emission",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a8a3476bbfe8465fbf208d8592d231a3"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Emission"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "0f8d054d428d47e19814af5b84323ffa",
+ "m_Id": 31906282,
+ "m_DisplayName": "EmissionColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_EmissionColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "13a810e2e4804785b217f835e16a95ff",
+ "m_Id": 0,
+ "m_DisplayName": "Alpha Clip Threshold",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "AlphaClipThreshold",
+ "m_StageCapability": 2,
+ "m_Value": 0.5,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
+ "m_ObjectId": "15cb78699c8c4194ad103421699dbd17",
+ "m_Datas": [],
+ "m_ActiveSubTarget": {
+ "m_Id": "352f1953e12a45019330c49643812248"
+ },
+ "m_AllowMaterialOverride": false,
+ "m_SurfaceType": 0,
+ "m_ZTestMode": 4,
+ "m_ZWriteControl": 0,
+ "m_AlphaMode": 0,
+ "m_RenderFace": 2,
+ "m_AlphaClip": true,
+ "m_CastShadows": true,
+ "m_ReceiveShadows": true,
+ "m_SupportsLODCrossFade": false,
+ "m_CustomEditorGUI": "",
+ "m_SupportVFX": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1773542df3cf4760b4bc7081934f54ca",
+ "m_Id": 0,
+ "m_DisplayName": "Smoothness",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Smoothness",
+ "m_StageCapability": 2,
+ "m_Value": 0.5,
+ "m_DefaultValue": 0.5,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1935b2a1770549a080000e8deec0939d",
+ "m_Id": 0,
+ "m_DisplayName": "Roughness",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1b504994184f46fb86fd313496af2752",
+ "m_Id": 0,
+ "m_DisplayName": "Ambient Occlusion",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Occlusion",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
+ "m_ObjectId": "1c1aa306b109406fae4e7ad7412fdb14",
+ "m_Id": 0,
+ "m_DisplayName": "Tangent",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Tangent",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
+ "m_ObjectId": "1e162640c7ea4f02a44faef8732559e8",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "TinyPbr_SubGraph",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -50.00000762939453,
+ "y": 297.3334045410156,
+ "width": 292.0000305175781,
+ "height": 409.3332824707031
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d7b531121e794d20a1b2a7fbd9afdf4a"
+ },
+ {
+ "m_Id": "da75e0b3880e405db252692028d54133"
+ },
+ {
+ "m_Id": "80b025084ed54b06aa97a6f12912eff4"
+ },
+ {
+ "m_Id": "f386966343c340c09e357e87cdcb6d91"
+ },
+ {
+ "m_Id": "d9d26bcc4b844de8a9829d0120c97dcc"
+ },
+ {
+ "m_Id": "ab904d8e9a194cee907c4c74bf0ab578"
+ },
+ {
+ "m_Id": "08b242bb2b2f4ffcb2042d34967a36b8"
+ },
+ {
+ "m_Id": "b70145a57ccc47f0bb9c69ddf8e26053"
+ },
+ {
+ "m_Id": "3004b1e374a54f93a007ab7022db066e"
+ },
+ {
+ "m_Id": "0f8d054d428d47e19814af5b84323ffa"
+ },
+ {
+ "m_Id": "b5ca1f74c7aa41b4b99ec4b0773468b3"
+ },
+ {
+ "m_Id": "70ee281e77af4a489f02d89ed1798f11"
+ },
+ {
+ "m_Id": "4cd3928f057d45a5b1912f1f935b83e5"
+ },
+ {
+ "m_Id": "65649cd5eb074a92af05864785c51b23"
+ },
+ {
+ "m_Id": "cd3eb81d2e8244c6a59f5595b2e9b0c4"
+ },
+ {
+ "m_Id": "65305294bc914ebd9b2455c5305da06f"
+ },
+ {
+ "m_Id": "9b04ce4253044d79ad4b2375d0f3a0d9"
+ },
+ {
+ "m_Id": "f4283db3232c4a1090c5ab5091fa7d02"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"2fe3270edce96f4438a6dcc501a8c5cd\",\n \"type\": 3\n }\n}",
+ "m_PropertyGuids": [
+ "b78d6b8b-b348-4425-8b4e-41096ddbeb76",
+ "13da451d-5e09-4040-8b64-ceb8dda217c0",
+ "7158af0f-43b5-4192-8219-b5dceaa50e9c",
+ "3c367e55-9fb2-480b-bea6-22ae8f81b7a4",
+ "f752957a-ec1a-4574-8fac-9b1b9dc26de0",
+ "bc3d4243-09da-46a4-9dc6-0c47f9eb6c2b",
+ "973fb1a8-0148-4447-9bfe-a520bbeea5a5",
+ "faa5e58d-2520-4f65-9d9f-7fd1e13237cf",
+ "d703b665-c68c-4723-b0fe-9322ff9f1b4d",
+ "eaedd6f8-0d85-4057-9704-94aa269174ae",
+ "47dd6b72-f877-4c8e-a0b0-a02e997327ab",
+ "f3a7bfab-3bc9-430e-b636-98cb483f89b3",
+ "5fd0caa2-d412-4074-99b7-f59fd61b05d0",
+ "3c3d4418-e8be-4697-a63a-d9c5c41bec73",
+ "bf455d07-d15f-40c3-96b7-f94d24e299b3",
+ "d9244f52-772a-4de5-aeb8-8d877a97e8b7"
+ ],
+ "m_PropertyIds": [
+ -1946006235,
+ 725867842,
+ 1886474450,
+ 2124990166,
+ 1238374258,
+ -1762040067,
+ 1450746048,
+ -1417122351,
+ -5762650,
+ -1369813300,
+ -1898688452,
+ -927429220,
+ 1347728127,
+ -861958716,
+ 31906282,
+ -1532749908
+ ],
+ "m_Dropdowns": [],
+ "m_DropdownSelectedEntries": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "1ee05d4b3f5a4a3e8f4e55068e747817",
+ "m_Id": 0,
+ "m_DisplayName": "MetallicRoughnessMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "204b111e465b44809369f1d3e5a90370",
+ "m_Id": 0,
+ "m_DisplayName": "Normal (Tangent Space)",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "NormalTS",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 3
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "2138b6eae95a4a249265714cefb1795f",
+ "m_Guid": {
+ "m_GuidSerialized": "38fb1136-db3c-4ff9-b392-107a99d04afb"
+ },
+ "m_Name": "EmissionMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "EmissionMap",
+ "m_DefaultReferenceName": "_EmissionMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"09e6225be3a2a43489e11a41cb198377\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 4
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "2859cb147a7742fca0dbb5256243d468",
+ "m_Guid": {
+ "m_GuidSerialized": "a6fd3729-c8ec-4297-8e95-c4d2117333eb"
+ },
+ "m_Name": "Roughness",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Roughness",
+ "m_DefaultReferenceName": "_Roughness",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
+ "m_ObjectId": "2d379c192d3048f19eef9dda9d4b8906",
+ "m_Id": 0,
+ "m_DisplayName": "Predicate",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Predicate",
+ "m_StageCapability": 3,
+ "m_Value": false,
+ "m_DefaultValue": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "2fef3aa40b9f478a82efab3210662993",
+ "m_Id": 0,
+ "m_DisplayName": "Cutoff",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "3004b1e374a54f93a007ab7022db066e",
+ "m_Id": -5762650,
+ "m_DisplayName": "NormalStrength",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_NormalStrength",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "305a571d629e4b258d80c3ad877cb596",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -324.6666259765625,
+ "y": 208.66665649414063,
+ "width": 133.3333282470703,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "46fb52b8b307424ab27250d54f2c27f9"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "92f5ab11614c4ec1b4d632f73041ba65"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "307a94d3f1ca45a39f6170433e3c81c6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Normal",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e1de0ca351fd43ff866485e33328e300"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Normal"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "307a96558a0a40ada3c66e2e38e269ca",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Alpha",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 13.999950408935547,
+ "y": 248.6666717529297,
+ "width": 200.00006103515626,
+ "height": 42.66664123535156
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "72c7e7802e024978b702d83a9535194b"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Alpha"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "33606465eada4266a951965cdf693f21",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -350.6667175292969,
+ "y": 280.6666564941406,
+ "width": 159.33331298828126,
+ "height": 36.000030517578128
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f4f063b4a8554eba9f0062104601584a"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "6b344f9254d2438b8ad07e5eef11db71"
+ }
+}
+
+{
+ "m_SGVersion": 2,
+ "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget",
+ "m_ObjectId": "352f1953e12a45019330c49643812248",
+ "m_WorkflowMode": 1,
+ "m_NormalDropOffSpace": 0,
+ "m_ClearCoat": false,
+ "m_BlendModePreserveSpecular": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "46fb52b8b307424ab27250d54f2c27f9",
+ "m_Id": 0,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "4744eaae41cb4d9f811203331937ee9f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -329.3333435058594,
+ "y": 482.6666564941406,
+ "width": 138.00001525878907,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a71711ebde2f4afd83e44b512800c723"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "d77500f24b3f490daf8cc2f5dcd19f60"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "48e90b86f7234c9d9a0ad4e07784efa2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -323.3333740234375,
+ "y": 518.6666259765625,
+ "width": 134.66668701171876,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ed92041349b441768aa1f485dae63d3c"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "f8ac3f450f1a4d849926601ace10a04f"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "4bb4dd9cda0142738e582fa935becbcb",
+ "m_Id": 0,
+ "m_DisplayName": "EmissionColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "4cd3928f057d45a5b1912f1f935b83e5",
+ "m_Id": 2,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "50fe60e87d4f472498833c46009df4a8",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -323.3333740234375,
+ "y": 374.66668701171877,
+ "width": 134.00001525878907,
+ "height": 36.000030517578128
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1935b2a1770549a080000e8deec0939d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "2859cb147a7742fca0dbb5256243d468"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "53f1bc01113946bc946f0808f16df02b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Smoothness",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 10.000014305114746,
+ "y": 317.3333435058594,
+ "width": 199.9999542236328,
+ "height": 42.666656494140628
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1773542df3cf4760b4bc7081934f54ca"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Smoothness"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "58ee8fea72cc4a649f9a1198b12d621b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Occlusion",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 15.999993324279786,
+ "y": 262.0000305175781,
+ "width": 199.99993896484376,
+ "height": 42.66668701171875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1b504994184f46fb86fd313496af2752"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Occlusion"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "5e4f7e8b13d74b199e4ff6492563b050",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -395.3333740234375,
+ "y": 446.6666564941406,
+ "width": 206.00001525878907,
+ "height": 36.000030517578128
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1ee05d4b3f5a4a3e8f4e55068e747817"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "c4ff105a2181464aaee7d5b6146a2c9b"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "6098dc7f36d84b83b8421cc0e56ed1a0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.Metallic",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 10.000083923339844,
+ "y": 268.0,
+ "width": 199.99993896484376,
+ "height": 42.66668701171875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "cd2a46a6fe0746ae965dc193ce0757eb"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.Metallic"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
+ "m_ObjectId": "619a91e5d75d4a629f14de895dbebb39",
+ "m_Id": 0,
+ "m_DisplayName": "Position",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Position",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "65305294bc914ebd9b2455c5305da06f",
+ "m_Id": 5,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "653228a387f647d5a5e1fa4da9b5f6d7",
+ "m_Guid": {
+ "m_GuidSerialized": "2403dd65-ec64-45a0-a766-875dd5bcd6d8"
+ },
+ "m_Name": "OcclusionStrength",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "OcclusionStrength",
+ "m_DefaultReferenceName": "_OcclusionStrength",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "65649cd5eb074a92af05864785c51b23",
+ "m_Id": 3,
+ "m_DisplayName": "AmbientOcclusion",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "AmbientOcclusion",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "67d23f92ffe24661a1bdf746af189547",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -111.33338165283203,
+ "y": 172.66664123535157,
+ "width": 109.33340454101563,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2fef3aa40b9f478a82efab3210662993"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "fb6c28211dec4e1bb1a36cbd93aff5e3"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "6b344f9254d2438b8ad07e5eef11db71",
+ "m_Guid": {
+ "m_GuidSerialized": "2056943e-f283-4125-862c-dd5321f1cdd2"
+ },
+ "m_Name": "OcclusionMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "OcclusionMap",
+ "m_DefaultReferenceName": "_OcclusionMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"51ce5cf2de6d788449c2fdd4b8488a92\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 4
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "6e364da577ef41d8ac8f4f2ab56412b1",
+ "m_Id": 0,
+ "m_DisplayName": "EmissionMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "6f683c2eb23a4baf8dc028500640b75a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.NormalTS",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 372.0,
+ "y": 562.0,
+ "width": 200.0,
+ "height": 42.6666259765625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "204b111e465b44809369f1d3e5a90370"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.NormalTS"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "70ee281e77af4a489f02d89ed1798f11",
+ "m_Id": 1,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "72c7e7802e024978b702d83a9535194b",
+ "m_Id": 0,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "7454a78d02bb4f79b6ff0f81f6b795a0",
+ "m_Id": 0,
+ "m_DisplayName": "Base Color",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.5,
+ "y": 0.5,
+ "z": 0.5
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_ColorMode": 0,
+ "m_DefaultColor": {
+ "r": 0.5,
+ "g": 0.5,
+ "b": 0.5,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "7b57df1b4e444208bd41b7b749f485d0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Tangent",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1c1aa306b109406fae4e7ad7412fdb14"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Tangent"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "7b8e47a4830c4b53bedc6975dad31b72",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -344.0000305175781,
+ "y": 554.6666259765625,
+ "width": 152.6667022705078,
+ "height": 36.00006103515625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4bb4dd9cda0142738e582fa935becbcb"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "9e699a1f35ed460f9274b370e7e01749"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "80b025084ed54b06aa97a6f12912eff4",
+ "m_Id": 1886474450,
+ "m_DisplayName": "OcclusionStrength",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_OcclusionStrength",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "80fce1dbcef04945aa9b988609dbe324",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.BaseColor",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "7454a78d02bb4f79b6ff0f81f6b795a0"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "855308f399fb4f71bc6584937719e851",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -155.33335876464845,
+ "y": 136.6666259765625,
+ "width": 153.3333740234375,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d6da5d2783dc4a238c7349e189e235eb"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "ef1c5fb59a8d4550ab9c739f843edaa0"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "92f5ab11614c4ec1b4d632f73041ba65",
+ "m_Guid": {
+ "m_GuidSerialized": "df5eef53-f7a6-40ef-8fca-1fd91f86d83f"
+ },
+ "m_Name": "BaseMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseMap",
+ "m_DefaultReferenceName": "_BaseMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"3ab316f1cf207684abb754d9a2731c66\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": true,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "9b04ce4253044d79ad4b2375d0f3a0d9",
+ "m_Id": 6,
+ "m_DisplayName": "Normal",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Normal",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "9e699a1f35ed460f9274b370e7e01749",
+ "m_Guid": {
+ "m_GuidSerialized": "9962908c-bb06-4540-874e-237cdf21a29e"
+ },
+ "m_Name": "EmissionColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "EmissionColor",
+ "m_DefaultReferenceName": "_EmissionColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.0,
+ "g": 0.0,
+ "b": 0.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 1
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BranchNode",
+ "m_ObjectId": "a2cf70a9a7fe4202893a8b40f35571f9",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Branch",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 58.666629791259769,
+ "y": 112.66661834716797,
+ "width": 171.99996948242188,
+ "height": 144.00006103515626
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2d379c192d3048f19eef9dda9d4b8906"
+ },
+ {
+ "m_Id": "ffe9c7f7a99b4e618171fac09d7a60da"
+ },
+ {
+ "m_Id": "01187177ae5b4d289136898d4db4856b"
+ },
+ {
+ "m_Id": "cfa6122569d6441bbd009755d3eada60"
+ }
+ ],
+ "synonyms": [
+ "switch",
+ "if",
+ "else"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "a71711ebde2f4afd83e44b512800c723",
+ "m_Id": 0,
+ "m_DisplayName": "BumpMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
+ "m_ObjectId": "a8a3476bbfe8465fbf208d8592d231a3",
+ "m_Id": 0,
+ "m_DisplayName": "Emission",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Emission",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_ColorMode": 1,
+ "m_DefaultColor": {
+ "r": 0.0,
+ "g": 0.0,
+ "b": 0.0,
+ "a": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ab904d8e9a194cee907c4c74bf0ab578",
+ "m_Id": 1450746048,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 1.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "b5ca1f74c7aa41b4b99ec4b0773468b3",
+ "m_Id": -1532749908,
+ "m_DisplayName": "EmissionMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_EmissionMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"09e6225be3a2a43489e11a41cb198377\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "b70145a57ccc47f0bb9c69ddf8e26053",
+ "m_Id": -1417122351,
+ "m_DisplayName": "NormalMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_NormalMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "b81ee26f89a540ea946cb683ac7de047",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "SurfaceDescription.AlphaClipThreshold",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 368.0,
+ "y": 288.6666564941406,
+ "width": 200.0,
+ "height": 42.66668701171875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "13a810e2e4804785b217f835e16a95ff"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold"
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "c4ff105a2181464aaee7d5b6146a2c9b",
+ "m_Guid": {
+ "m_GuidSerialized": "77edee86-bd02-4114-a7f5-247e9ba9cf42"
+ },
+ "m_Name": "MetallicRoughnessMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "MetallicRoughnessMap",
+ "m_DefaultReferenceName": "_MetallicRoughnessMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"909670d47b2f55d4a991788acca59d7e\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": true,
+ "m_Modifiable": true,
+ "m_DefaultType": 4
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "c947e10335f9489ea3420187a17e63af",
+ "m_Id": 0,
+ "m_DisplayName": "OcclusionStrength",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "cd2a46a6fe0746ae965dc193ce0757eb",
+ "m_Id": 0,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "cd3eb81d2e8244c6a59f5595b2e9b0c4",
+ "m_Id": 4,
+ "m_DisplayName": "Smoothness",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Smoothness",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "cfa6122569d6441bbd009755d3eada60",
+ "m_Id": 3,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "d5f8db7848d34ac4bc2e47bc9700b02a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -364.0000915527344,
+ "y": 244.6666717529297,
+ "width": 172.66668701171876,
+ "height": 35.99998474121094
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "c947e10335f9489ea3420187a17e63af"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "653228a387f647d5a5e1fa4da9b5f6d7"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
+ "m_ObjectId": "d6da5d2783dc4a238c7349e189e235eb",
+ "m_Id": 0,
+ "m_DisplayName": "CutoffEnabled",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": false,
+ "m_DefaultValue": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "d77500f24b3f490daf8cc2f5dcd19f60",
+ "m_Guid": {
+ "m_GuidSerialized": "96cd3240-b1e2-4ec9-816f-b4be029dbeb6"
+ },
+ "m_Name": "BumpMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BumpMap",
+ "m_DefaultReferenceName": "_BumpMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 3
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "d7b531121e794d20a1b2a7fbd9afdf4a",
+ "m_Id": -1946006235,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d9d26bcc4b844de8a9829d0120c97dcc",
+ "m_Id": 1238374258,
+ "m_DisplayName": "Roughness",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_Roughness",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "da75e0b3880e405db252692028d54133",
+ "m_Id": 725867842,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_BaseMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "dd159d7b06a3483fbb5c33fda09461cd",
+ "m_Id": 0,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "dea047da4cb0442bac26d6f468ba8f66",
+ "m_Guid": {
+ "m_GuidSerialized": "b6ef105a-c541-4441-9f6c-3ac20a1e813c"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 1.0,
+ "g": 1.0,
+ "b": 1.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
+ "m_ObjectId": "e1de0ca351fd43ff866485e33328e300",
+ "m_Id": 0,
+ "m_DisplayName": "Normal",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Normal",
+ "m_StageCapability": 1,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": [],
+ "m_Space": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ed92041349b441768aa1f485dae63d3c",
+ "m_Id": 0,
+ "m_DisplayName": "BumpScale",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "eec810392601496bbf30d0e04d1c9e5a",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -308.66668701171877,
+ "y": 410.6667175292969,
+ "width": 117.33335876464844,
+ "height": 35.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "dd159d7b06a3483fbb5c33fda09461cd"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "fd4b1637b32c44d79eea652e4b5626b2"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "ef0016b4d1214fc5b0766f3f8883eaca",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
+ "m_ObjectId": "ef1c5fb59a8d4550ab9c739f843edaa0",
+ "m_Guid": {
+ "m_GuidSerialized": "d167437b-253b-4e6d-8ae4-5d62902a0350"
+ },
+ "m_Name": "CutoffEnabled",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "CutoffEnabled",
+ "m_DefaultReferenceName": "_CutoffEnabled",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "f386966343c340c09e357e87cdcb6d91",
+ "m_Id": 2124990166,
+ "m_DisplayName": "OcclusionMap",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "_OcclusionMap",
+ "m_StageCapability": 2,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "f4283db3232c4a1090c5ab5091fa7d02",
+ "m_Id": 7,
+ "m_DisplayName": "Emission",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Emission",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "f4f063b4a8554eba9f0062104601584a",
+ "m_Id": 0,
+ "m_DisplayName": "OcclusionMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.BlockNode",
+ "m_ObjectId": "f56f676a56e04566a12f41980b760358",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "VertexDescription.Position",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 0.0,
+ "y": 0.0,
+ "width": 0.0,
+ "height": 0.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "619a91e5d75d4a629f14de895dbebb39"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_SerializedDescriptor": "VertexDescription.Position"
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "f8ac3f450f1a4d849926601ace10a04f",
+ "m_Guid": {
+ "m_GuidSerialized": "8bb96dec-3d73-4fb0-8e69-db74dee7110e"
+ },
+ "m_Name": "BumpScale",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BumpScale",
+ "m_DefaultReferenceName": "_BumpScale",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "fa61ad0af8f743998cdb12dfea31d6a6",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -345.3333740234375,
+ "y": 590.6666870117188,
+ "width": 154.0000457763672,
+ "height": 35.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "6e364da577ef41d8ac8f4f2ab56412b1"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "2138b6eae95a4a249265714cefb1795f"
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "fb6c28211dec4e1bb1a36cbd93aff5e3",
+ "m_Guid": {
+ "m_GuidSerialized": "ddae6a56-f28d-4ec9-8f5e-3fb80da4ccf3"
+ },
+ "m_Name": "Cutoff",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Cutoff",
+ "m_DefaultReferenceName": "_Cutoff",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.5,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "fd4b1637b32c44d79eea652e4b5626b2",
+ "m_Guid": {
+ "m_GuidSerialized": "95cdef22-fc8b-49da-9fe2-98bab1d5658c"
+ },
+ "m_Name": "Metallic",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Metallic",
+ "m_DefaultReferenceName": "_Metallic",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "ffe9c7f7a99b4e618171fac09d7a60da",
+ "m_Id": 1,
+ "m_DisplayName": "True",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "True",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 10.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrOpaque.shadergraph.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrOpaque.shadergraph.meta
new file mode 100644
index 000000000..c6497de24
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbrOpaque.shadergraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: ac58f8c11a130e04ba883a82ae4b78e4
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbr_SubGraph.shadersubgraph b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbr_SubGraph.shadersubgraph
new file mode 100644
index 000000000..06a421e45
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbr_SubGraph.shadersubgraph
@@ -0,0 +1,4248 @@
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.GraphData",
+ "m_ObjectId": "5a2d6628108e453fbfe5cfa5e522d9a9",
+ "m_Properties": [
+ {
+ "m_Id": "65967a44db6b4e5bb53bac3dfd6fc045"
+ },
+ {
+ "m_Id": "8ccf0f4af8f048a4bbdb335e17e612a8"
+ },
+ {
+ "m_Id": "d94e9e3c962941ada3f359c02435554a"
+ },
+ {
+ "m_Id": "6cbc1f284b9e449a8b6732e4fd1418cb"
+ },
+ {
+ "m_Id": "ea1b4577ae37440ebb7646f685359b91"
+ },
+ {
+ "m_Id": "eb9d3331c84c4ad29780f6475d74ec64"
+ },
+ {
+ "m_Id": "8a1ff54b67ff488fb1c1f4c117d15e5b"
+ },
+ {
+ "m_Id": "b34aeef26d00428489bdea9a7f11788a"
+ },
+ {
+ "m_Id": "fddfcfba23f4484197ced74f6a153680"
+ },
+ {
+ "m_Id": "eb31e1d5ba694a60885248856af53466"
+ },
+ {
+ "m_Id": "dec62a6ca6c94573b68f5277b3c59ab6"
+ }
+ ],
+ "m_Keywords": [],
+ "m_Dropdowns": [],
+ "m_CategoryData": [
+ {
+ "m_Id": "8e46262304df435f8a6c6f7aa6b59cad"
+ }
+ ],
+ "m_Nodes": [
+ {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ {
+ "m_Id": "938e7735e2514aa2872cf020cce5351f"
+ },
+ {
+ "m_Id": "7cc86c96ee5e414b8d60c0646935f9dc"
+ },
+ {
+ "m_Id": "e2b1237b8d9f4984aaa93fa1014ad32f"
+ },
+ {
+ "m_Id": "88c2f24236ff40f5b87bb2c19b666b61"
+ },
+ {
+ "m_Id": "3390457763fc40058fe02ee6435e6e45"
+ },
+ {
+ "m_Id": "5eef577c98e34954bf04a2dd7c871f75"
+ },
+ {
+ "m_Id": "eb539082e9b44af9a45e06fce943e79b"
+ },
+ {
+ "m_Id": "a607bf6c25d3408b9640d4b263981255"
+ },
+ {
+ "m_Id": "7f00d74041734b5e9f19552959f21da5"
+ },
+ {
+ "m_Id": "4267eb8dd9314cf7a45044acb1d323c3"
+ },
+ {
+ "m_Id": "8f9fee6a8a4e483cae36497e4f4adee2"
+ },
+ {
+ "m_Id": "22a729d236324664a3922a27475d095d"
+ },
+ {
+ "m_Id": "9b008f07eb40412ba15df86a304f81fe"
+ },
+ {
+ "m_Id": "620b08515bf540989ca88405976633df"
+ },
+ {
+ "m_Id": "08450cb37ae04d0aa3b01a00b836e8b0"
+ },
+ {
+ "m_Id": "e5c2a7ebd0b44eb0b6ded1ca3bc70850"
+ },
+ {
+ "m_Id": "7674d3f8f44047038c8ec964d1053ebc"
+ },
+ {
+ "m_Id": "fa41d8f133734d46b073f60d63ac25ef"
+ },
+ {
+ "m_Id": "1239dbb98c7b454e9d981a8d19be31cd"
+ },
+ {
+ "m_Id": "13f996335df44c398f8938cf09dd3fbe"
+ },
+ {
+ "m_Id": "676e4ddc93c84889b638434526f46a9e"
+ },
+ {
+ "m_Id": "f20fc1b4e639441d87909a30ddc3b4a0"
+ },
+ {
+ "m_Id": "1a8eaa0a6813449fbddd0d53e9e85d07"
+ },
+ {
+ "m_Id": "5c4d818b2aaa4de891fd7299fd2536c3"
+ },
+ {
+ "m_Id": "417635dfcbc34691a3e58530f430da19"
+ },
+ {
+ "m_Id": "3fba216a7770483ebd8ffef83f8d0793"
+ }
+ ],
+ "m_GroupDatas": [],
+ "m_StickyNoteDatas": [],
+ "m_Edges": [
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "08450cb37ae04d0aa3b01a00b836e8b0"
+ },
+ "m_SlotId": 5
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9b008f07eb40412ba15df86a304f81fe"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "08450cb37ae04d0aa3b01a00b836e8b0"
+ },
+ "m_SlotId": 6
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "22a729d236324664a3922a27475d095d"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1239dbb98c7b454e9d981a8d19be31cd"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "08450cb37ae04d0aa3b01a00b836e8b0"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "13f996335df44c398f8938cf09dd3fbe"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "22a729d236324664a3922a27475d095d"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "1a8eaa0a6813449fbddd0d53e9e85d07"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SlotId": 7
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "22a729d236324664a3922a27475d095d"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SlotId": 5
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "3390457763fc40058fe02ee6435e6e45"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "938e7735e2514aa2872cf020cce5351f"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "3fba216a7770483ebd8ffef83f8d0793"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "5c4d818b2aaa4de891fd7299fd2536c3"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "417635dfcbc34691a3e58530f430da19"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1a8eaa0a6813449fbddd0d53e9e85d07"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "4267eb8dd9314cf7a45044acb1d323c3"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "a607bf6c25d3408b9640d4b263981255"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "5c4d818b2aaa4de891fd7299fd2536c3"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "1a8eaa0a6813449fbddd0d53e9e85d07"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "5eef577c98e34954bf04a2dd7c871f75"
+ },
+ "m_SlotId": 1
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "eb539082e9b44af9a45e06fce943e79b"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "5eef577c98e34954bf04a2dd7c871f75"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "eb539082e9b44af9a45e06fce943e79b"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "5eef577c98e34954bf04a2dd7c871f75"
+ },
+ "m_SlotId": 3
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "eb539082e9b44af9a45e06fce943e79b"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "620b08515bf540989ca88405976633df"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SlotId": 4
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "676e4ddc93c84889b638434526f46a9e"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "7674d3f8f44047038c8ec964d1053ebc"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "7674d3f8f44047038c8ec964d1053ebc"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e5c2a7ebd0b44eb0b6ded1ca3bc70850"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "7cc86c96ee5e414b8d60c0646935f9dc"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e2b1237b8d9f4984aaa93fa1014ad32f"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "7f00d74041734b5e9f19552959f21da5"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "a607bf6c25d3408b9640d4b263981255"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "88c2f24236ff40f5b87bb2c19b666b61"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "5eef577c98e34954bf04a2dd7c871f75"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "8f9fee6a8a4e483cae36497e4f4adee2"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "7f00d74041734b5e9f19552959f21da5"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "938e7735e2514aa2872cf020cce5351f"
+ },
+ "m_SlotId": 4
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "7cc86c96ee5e414b8d60c0646935f9dc"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "938e7735e2514aa2872cf020cce5351f"
+ },
+ "m_SlotId": 5
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "7cc86c96ee5e414b8d60c0646935f9dc"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "938e7735e2514aa2872cf020cce5351f"
+ },
+ "m_SlotId": 6
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "7cc86c96ee5e414b8d60c0646935f9dc"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "938e7735e2514aa2872cf020cce5351f"
+ },
+ "m_SlotId": 7
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SlotId": 2
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "9b008f07eb40412ba15df86a304f81fe"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "620b08515bf540989ca88405976633df"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "a607bf6c25d3408b9640d4b263981255"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SlotId": 3
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e2b1237b8d9f4984aaa93fa1014ad32f"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "e5c2a7ebd0b44eb0b6ded1ca3bc70850"
+ },
+ "m_SlotId": 2
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SlotId": 6
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "eb539082e9b44af9a45e06fce943e79b"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e2b1237b8d9f4984aaa93fa1014ad32f"
+ },
+ "m_SlotId": 0
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "f20fc1b4e639441d87909a30ddc3b4a0"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "e5c2a7ebd0b44eb0b6ded1ca3bc70850"
+ },
+ "m_SlotId": 1
+ }
+ },
+ {
+ "m_OutputSlot": {
+ "m_Node": {
+ "m_Id": "fa41d8f133734d46b073f60d63ac25ef"
+ },
+ "m_SlotId": 0
+ },
+ "m_InputSlot": {
+ "m_Node": {
+ "m_Id": "9b008f07eb40412ba15df86a304f81fe"
+ },
+ "m_SlotId": 0
+ }
+ }
+ ],
+ "m_VertexContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_FragmentContext": {
+ "m_Position": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Blocks": []
+ },
+ "m_PreviewData": {
+ "serializedMesh": {
+ "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
+ "m_Guid": ""
+ },
+ "preventRotation": false
+ },
+ "m_Path": "Sub Graphs",
+ "m_GraphPrecision": 1,
+ "m_PreviewMode": 2,
+ "m_OutputNode": {
+ "m_Id": "95965af48a8849339faf1a291c791faf"
+ },
+ "m_SubDatas": [],
+ "m_ActiveTargets": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "00c79a9d25ab4d38858e3369f7aed45c",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "0505f04023ce4ee3833316ff7908c74f",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "0668252b25964b8e8d5a6a68d1752a69",
+ "m_Id": 4,
+ "m_DisplayName": "Smoothness",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Smoothness",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "06f64a6471ca4a9ab99bf4bdce9ca84f",
+ "m_Id": 2,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "08450cb37ae04d0aa3b01a00b836e8b0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -160.0000457763672,
+ "y": 470.0,
+ "width": 184.66665649414063,
+ "height": 254.6666259765625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "139a58f2156e4c949a568d0248bcaa15"
+ },
+ {
+ "m_Id": "b18c3e20d78f4fa38c46a18a020fddf2"
+ },
+ {
+ "m_Id": "60259e1ae85a42ed976cbfd21738ed79"
+ },
+ {
+ "m_Id": "a1a351dbb6974bfbaf69d88ac2e89505"
+ },
+ {
+ "m_Id": "876e4c048caa48dfb478c57c75f68b5b"
+ },
+ {
+ "m_Id": "43b0913da27240c8a6fe7e2eea4f4545"
+ },
+ {
+ "m_Id": "7feb748e0d4646458310a1109ff1c8d3"
+ },
+ {
+ "m_Id": "ebf689c11ef842838e8e183bd480c74a"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 1,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "1239dbb98c7b454e9d981a8d19be31cd",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -439.3333435058594,
+ "y": 496.6666564941406,
+ "width": 107.3333740234375,
+ "height": 35.999969482421878
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "cd3b41827c9f4ed3a832df5466451ee4"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "eb9d3331c84c4ad29780f6475d74ec64"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "13725fe0ce284486a708f897d08e7f93",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "13817641b44147a18f186e6569f8a323",
+ "m_Id": 2,
+ "m_DisplayName": "Y",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Y",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [
+ "Y"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "139a58f2156e4c949a568d0248bcaa15",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "13f996335df44c398f8938cf09dd3fbe",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -439.3333435058594,
+ "y": 624.6666259765625,
+ "width": 118.66668701171875,
+ "height": 35.99993896484375
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "7fbd980729894542a91190cfcc94d9c4"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "8a1ff54b67ff488fb1c1f4c117d15e5b"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "15b94593a6a2431a9b064eee170953e8",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "17b3de0d05dc45e2bbbc4ef4faffb732",
+ "m_Id": 0,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "1a8eaa0a6813449fbddd0d53e9e85d07",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 149.3333282470703,
+ "y": 1182.6668701171875,
+ "width": 209.33335876464845,
+ "height": 303.9998779296875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "bdac9cf259ee4c9785441c958ebe2c82"
+ },
+ {
+ "m_Id": "33adb5d2a7164f418a4b8290cad09899"
+ },
+ {
+ "m_Id": "5f1f37eb4819404f892f37e9288b6e42"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "1b3d1b7d83e04d988887477411921a9f",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "1ea9368063724b3d934eaff8e8306333",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "1eb8d79419ba44c29e52bc41d5c6360b",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "20aa61a00c104ecfbcadd370f7f9a929",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "22a729d236324664a3922a27475d095d",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 149.33334350585938,
+ "y": 574.6666870117188,
+ "width": 209.33331298828126,
+ "height": 304.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "3201ef36a58647bb9363f33b1b43011b"
+ },
+ {
+ "m_Id": "38f63e79eb484bea87ee9585dd49d85b"
+ },
+ {
+ "m_Id": "5d9a78af82ca4ccba3df445c14fc1c37"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "2b1b5c4446234c1e8e5299237ec6d156",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "2dd646544df342c395c79447bc9a913f",
+ "m_Id": 2,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "2e68b8e1d623476881d81d698a8a69fd",
+ "m_Id": 0,
+ "m_DisplayName": "BaseMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "2ff2caf3886a4815896954bfe5dfd71a",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "3201ef36a58647bb9363f33b1b43011b",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "3390457763fc40058fe02ee6435e6e45",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -413.3333435058594,
+ "y": -241.33334350585938,
+ "width": 133.33334350585938,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "2e68b8e1d623476881d81d698a8a69fd"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "8ccf0f4af8f048a4bbdb335e17e612a8"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "33adb5d2a7164f418a4b8290cad09899",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "34c65d4e1a6540b3bab4c7a621a00d7c",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "368105ca5b4a4db7a35f7cce08635d2d",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "38f63e79eb484bea87ee9585dd49d85b",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "3a5db45a2ab244ac8b422a9f4ce47086",
+ "m_Id": 0,
+ "m_DisplayName": "NormalStrength",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "3b6a726e957646bcb078f6f9da8e0d20",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "3d6a371dbce54bbbab42175068da0891",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "3d8fbb7ad1224fd29519e8d6c6ec41d5",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "3fba216a7770483ebd8ffef83f8d0793",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -367.9999694824219,
+ "y": 1263.3333740234375,
+ "width": 135.99998474121095,
+ "height": 35.9998779296875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f9563785968c4a608b3e810745614987"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "dec62a6ca6c94573b68f5277b3c59ab6"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "411c76b7464b46519f90450d7b5c6903",
+ "m_Id": 2,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "417635dfcbc34691a3e58530f430da19",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -334.6666564941406,
+ "y": 1223.333251953125,
+ "width": 106.66667175292969,
+ "height": 36.0001220703125
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "f0c42c328d6644529d4ebb7ee48d16f7"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "eb31e1d5ba694a60885248856af53466"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "4267eb8dd9314cf7a45044acb1d323c3",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -452.6666564941406,
+ "y": 77.33334350585938,
+ "width": 172.66668701171876,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "96770059d85542fc9b4b317bd5b13a82"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "d94e9e3c962941ada3f359c02435554a"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "437ff83312a14976a8ae3ae3629c3897",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "43b0913da27240c8a6fe7e2eea4f4545",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "444353c284d1483aa8c547e6d45c11b3",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "460fac8e25814a59bc5b4f658163fa66",
+ "m_Id": 3,
+ "m_DisplayName": "AmbientOcclusion",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "AmbientOcclusion",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "468040b3744c433f87ddd3275deb90bc",
+ "m_Id": 3,
+ "m_DisplayName": "Z",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Z",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [
+ "Z"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "471d69768b3143c28bcd29941d55b24d",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "49e20bed649b4cd0bd8e413469e516a0",
+ "m_Id": 7,
+ "m_DisplayName": "Emission",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Emission",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "4cbf192907004250a41455d12cdf49ff",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "4f20b8041693464f92cf0f919ebc52a7",
+ "m_Id": 1,
+ "m_DisplayName": "X",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "X",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "594111a1ff324732ba7075feb396d2bf",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "5b2300a185a84379b546e9232253e9fd",
+ "m_Id": 1,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "5c4d818b2aaa4de891fd7299fd2536c3",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -166.0,
+ "y": 1263.3333740234375,
+ "width": 184.6666717529297,
+ "height": 254.66650390625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "444353c284d1483aa8c547e6d45c11b3"
+ },
+ {
+ "m_Id": "3d8fbb7ad1224fd29519e8d6c6ec41d5"
+ },
+ {
+ "m_Id": "7ce535298b98460d948e5d7b99d3b13f"
+ },
+ {
+ "m_Id": "15b94593a6a2431a9b064eee170953e8"
+ },
+ {
+ "m_Id": "2b1b5c4446234c1e8e5299237ec6d156"
+ },
+ {
+ "m_Id": "2ff2caf3886a4815896954bfe5dfd71a"
+ },
+ {
+ "m_Id": "7c5f6c0a896143df958172c1b360aa0a"
+ },
+ {
+ "m_Id": "94650ab96add4de1af68e22836e8cbe9"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 1,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "5d9a78af82ca4ccba3df445c14fc1c37",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SplitNode",
+ "m_ObjectId": "5eef577c98e34954bf04a2dd7c871f75",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Split",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -162.00001525878907,
+ "y": -432.6667175292969,
+ "width": 120.66667175292969,
+ "height": 150.66668701171876
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "a2750e19880748c4ac03949e44e82e8e"
+ },
+ {
+ "m_Id": "5b2300a185a84379b546e9232253e9fd"
+ },
+ {
+ "m_Id": "e7d900bf26d949a59c6342be77402d0f"
+ },
+ {
+ "m_Id": "ac343ab52b6548c78d7be88d92330ecc"
+ },
+ {
+ "m_Id": "b8e89f4b5c2e4d98afcd8525d8b16d68"
+ }
+ ],
+ "synonyms": [
+ "separate"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "5f1f37eb4819404f892f37e9288b6e42",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "60259e1ae85a42ed976cbfd21738ed79",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "60365f2245b14faaa99d66a0588596a5",
+ "m_Id": 6,
+ "m_DisplayName": "Normal",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Normal",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubtractNode",
+ "m_ObjectId": "620b08515bf540989ca88405976633df",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Subtract",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 149.33328247070313,
+ "y": 270.66668701171877,
+ "width": 209.33331298828126,
+ "height": 303.99993896484377
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "904ef2c5811644bfbb6ce08f462af4f6"
+ },
+ {
+ "m_Id": "a93caca8319c449b980155eed9e4d3ed"
+ },
+ {
+ "m_Id": "d20a75c55807482d8a5bc564bb1e5033"
+ }
+ ],
+ "synonyms": [
+ "subtraction",
+ "remove",
+ "minus",
+ "take away"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
+ "m_ObjectId": "65967a44db6b4e5bb53bac3dfd6fc045",
+ "m_Guid": {
+ "m_GuidSerialized": "b78d6b8b-b348-4425-8b4e-41096ddbeb76"
+ },
+ "m_Name": "BaseColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseColor",
+ "m_DefaultReferenceName": "_BaseColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "676e4ddc93c84889b638434526f46a9e",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -439.3333740234375,
+ "y": 935.333251953125,
+ "width": 140.00003051757813,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e3a75f5bd043431cb63f6c57005833a2"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "b34aeef26d00428489bdea9a7f11788a"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "68e2934785f2443086c571fe019ddc6d",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "6cbc1f284b9e449a8b6732e4fd1418cb",
+ "m_Guid": {
+ "m_GuidSerialized": "3c367e55-9fb2-480b-bea6-22ae8f81b7a4"
+ },
+ "m_Name": "OcclusionMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "OcclusionMap",
+ "m_DefaultReferenceName": "_OcclusionMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "7356a6fd7b654cf3a667db6cd631793e",
+ "m_Id": 1,
+ "m_DisplayName": "X",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "X",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "7652328c5d634fe9b590d1672678ba92",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "7674d3f8f44047038c8ec964d1053ebc",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -160.0000457763672,
+ "y": 741.9999389648438,
+ "width": 184.66665649414063,
+ "height": 254.666748046875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "368105ca5b4a4db7a35f7cce08635d2d"
+ },
+ {
+ "m_Id": "fb41c688927f4aed99055b7c3ccca5fc"
+ },
+ {
+ "m_Id": "efcf7ac5789140f7b2bf528268ce2eb8"
+ },
+ {
+ "m_Id": "91f2e587519e46b697e4e18e013e410b"
+ },
+ {
+ "m_Id": "437ff83312a14976a8ae3ae3629c3897"
+ },
+ {
+ "m_Id": "9c326cd3a80d4f7bb14eb584f807ef4f"
+ },
+ {
+ "m_Id": "2dd646544df342c395c79447bc9a913f"
+ },
+ {
+ "m_Id": "7652328c5d634fe9b590d1672678ba92"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 1,
+ "m_NormalMapSpace": 0,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "7c5f6c0a896143df958172c1b360aa0a",
+ "m_Id": 2,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3Node",
+ "m_ObjectId": "7cc86c96ee5e414b8d60c0646935f9dc",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Vector 3",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 64.0,
+ "y": -259.3333740234375,
+ "width": 129.33331298828126,
+ "height": 126.66670227050781
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "4f20b8041693464f92cf0f919ebc52a7"
+ },
+ {
+ "m_Id": "13817641b44147a18f186e6569f8a323"
+ },
+ {
+ "m_Id": "dfc51385ceda4d86a36a8ea7f19c6d88"
+ },
+ {
+ "m_Id": "ec56dfa66b7b49aeb8c725e966bca89e"
+ }
+ ],
+ "synonyms": [
+ "3",
+ "v3",
+ "vec3",
+ "float3"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "7ce535298b98460d948e5d7b99d3b13f",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "7eb3b00684374b3ba2bd8be059d9d11d",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "7f00d74041734b5e9f19552959f21da5",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": false,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -60.00007629394531,
+ "y": 77.33324432373047,
+ "width": 157.3333282470703,
+ "height": 157.33343505859376
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "aef4cd9ceab0488b9f80ee544878b9e1"
+ },
+ {
+ "m_Id": "de4ae76b50584c558f032b86843eaf3c"
+ },
+ {
+ "m_Id": "d4562f8a59c04a76bcf052f84219bacf"
+ },
+ {
+ "m_Id": "cd89087ed9db48ddb642060735ab4f35"
+ },
+ {
+ "m_Id": "4cbf192907004250a41455d12cdf49ff"
+ },
+ {
+ "m_Id": "8287aa2694d24d1ea48d24d50a87cfce"
+ },
+ {
+ "m_Id": "06f64a6471ca4a9ab99bf4bdce9ca84f"
+ },
+ {
+ "m_Id": "3d6a371dbce54bbbab42175068da0891"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 1,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "7fbd980729894542a91190cfcc94d9c4",
+ "m_Id": 0,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
+ "m_ObjectId": "7feb748e0d4646458310a1109ff1c8d3",
+ "m_Id": 2,
+ "m_DisplayName": "UV",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "UV",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0
+ },
+ "m_Labels": [],
+ "m_Channel": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "8287aa2694d24d1ea48d24d50a87cfce",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "876e4c048caa48dfb478c57c75f68b5b",
+ "m_Id": 7,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "88c2f24236ff40f5b87bb2c19b666b61",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -412.0,
+ "y": -282.0,
+ "width": 132.0,
+ "height": 36.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "17b3de0d05dc45e2bbbc4ef4faffb732"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "65967a44db6b4e5bb53bac3dfd6fc045"
+ }
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "8a1ff54b67ff488fb1c1f4c117d15e5b",
+ "m_Guid": {
+ "m_GuidSerialized": "973fb1a8-0148-4447-9bfe-a520bbeea5a5"
+ },
+ "m_Name": "Metallic",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Metallic",
+ "m_DefaultReferenceName": "_Metallic",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "8ccf0f4af8f048a4bbdb335e17e612a8",
+ "m_Guid": {
+ "m_GuidSerialized": "13da451d-5e09-4040-8b64-ceb8dda217c0"
+ },
+ "m_Name": "BaseMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "BaseMap",
+ "m_DefaultReferenceName": "_BaseMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "8d9b4b001a2b4c9dba4a3c4d6586517f",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 2.0,
+ "e01": 2.0,
+ "e02": 2.0,
+ "e03": 2.0,
+ "e10": 2.0,
+ "e11": 2.0,
+ "e12": 2.0,
+ "e13": 2.0,
+ "e20": 2.0,
+ "e21": 2.0,
+ "e22": 2.0,
+ "e23": 2.0,
+ "e30": 2.0,
+ "e31": 2.0,
+ "e32": 2.0,
+ "e33": 2.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.CategoryData",
+ "m_ObjectId": "8e46262304df435f8a6c6f7aa6b59cad",
+ "m_Name": "",
+ "m_ChildObjectList": [
+ {
+ "m_Id": "65967a44db6b4e5bb53bac3dfd6fc045"
+ },
+ {
+ "m_Id": "8ccf0f4af8f048a4bbdb335e17e612a8"
+ },
+ {
+ "m_Id": "d94e9e3c962941ada3f359c02435554a"
+ },
+ {
+ "m_Id": "6cbc1f284b9e449a8b6732e4fd1418cb"
+ },
+ {
+ "m_Id": "ea1b4577ae37440ebb7646f685359b91"
+ },
+ {
+ "m_Id": "8a1ff54b67ff488fb1c1f4c117d15e5b"
+ },
+ {
+ "m_Id": "eb9d3331c84c4ad29780f6475d74ec64"
+ },
+ {
+ "m_Id": "b34aeef26d00428489bdea9a7f11788a"
+ },
+ {
+ "m_Id": "fddfcfba23f4484197ced74f6a153680"
+ },
+ {
+ "m_Id": "eb31e1d5ba694a60885248856af53466"
+ },
+ {
+ "m_Id": "dec62a6ca6c94573b68f5277b3c59ab6"
+ }
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "8f9fee6a8a4e483cae36497e4f4adee2",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -439.3333435058594,
+ "y": 116.66665649414063,
+ "width": 159.3333740234375,
+ "height": 36.00001525878906
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "956beddedb794319beea21d83986643d"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "6cbc1f284b9e449a8b6732e4fd1418cb"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "904ef2c5811644bfbb6ce08f462af4f6",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "91f2e587519e46b697e4e18e013e410b",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
+ "m_ObjectId": "938e7735e2514aa2872cf020cce5351f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Sample Texture 2D",
+ "m_DrawState": {
+ "m_Expanded": false,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -162.00001525878907,
+ "y": -282.0,
+ "width": 184.66668701171876,
+ "height": 254.66664123535157
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "d0190bd214234175b32325104c503ea4"
+ },
+ {
+ "m_Id": "c98c7be5086a49788ddac6b44947626a"
+ },
+ {
+ "m_Id": "1ea9368063724b3d934eaff8e8306333"
+ },
+ {
+ "m_Id": "20aa61a00c104ecfbcadd370f7f9a929"
+ },
+ {
+ "m_Id": "34c65d4e1a6540b3bab4c7a621a00d7c"
+ },
+ {
+ "m_Id": "594111a1ff324732ba7075feb396d2bf"
+ },
+ {
+ "m_Id": "411c76b7464b46519f90450d7b5c6903"
+ },
+ {
+ "m_Id": "68e2934785f2443086c571fe019ddc6d"
+ }
+ ],
+ "synonyms": [
+ "tex2d"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_TextureType": 0,
+ "m_NormalMapSpace": 1,
+ "m_EnableGlobalMipBias": true,
+ "m_MipSamplingMode": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "94650ab96add4de1af68e22836e8cbe9",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "956beddedb794319beea21d83986643d",
+ "m_Id": 0,
+ "m_DisplayName": "OcclusionMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
+ "m_ObjectId": "95965af48a8849339faf1a291c791faf",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Output",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 660.666748046875,
+ "y": 2.000000238418579,
+ "width": 149.3331298828125,
+ "height": 222.66671752929688
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "e670c006d04c420e95fb34da172bb9a3"
+ },
+ {
+ "m_Id": "ce40e4791e8d451c92633a89d2b6623e"
+ },
+ {
+ "m_Id": "460fac8e25814a59bc5b4f658163fa66"
+ },
+ {
+ "m_Id": "0668252b25964b8e8d5a6a68d1752a69"
+ },
+ {
+ "m_Id": "e9d21fe40b8740c7a371e1efbc8677e4"
+ },
+ {
+ "m_Id": "60365f2245b14faaa99d66a0588596a5"
+ },
+ {
+ "m_Id": "49e20bed649b4cd0bd8e413469e516a0"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "IsFirstSlotValid": true
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "96770059d85542fc9b4b317bd5b13a82",
+ "m_Id": 0,
+ "m_DisplayName": "OcclusionStrength",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "9b008f07eb40412ba15df86a304f81fe",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -55.99999237060547,
+ "y": 308.66668701171877,
+ "width": 127.33332061767578,
+ "height": 120.0
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "9fab626280c64cb2a0992aa76fb57d8b"
+ },
+ {
+ "m_Id": "0505f04023ce4ee3833316ff7908c74f"
+ },
+ {
+ "m_Id": "3b6a726e957646bcb078f6f9da8e0d20"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": false,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
+ "m_ObjectId": "9c326cd3a80d4f7bb14eb584f807ef4f",
+ "m_Id": 1,
+ "m_DisplayName": "Texture",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Texture",
+ "m_StageCapability": 3,
+ "m_BareResource": false,
+ "m_Texture": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "m_DefaultType": 3
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "9fab626280c64cb2a0992aa76fb57d8b",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "a1a351dbb6974bfbaf69d88ac2e89505",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "a2750e19880748c4ac03949e44e82e8e",
+ "m_Id": 0,
+ "m_DisplayName": "In",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "a607bf6c25d3408b9640d4b263981255",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 125.33326721191406,
+ "y": -38.66671371459961,
+ "width": 209.33335876464845,
+ "height": 303.9999694824219
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "00c79a9d25ab4d38858e3369f7aed45c"
+ },
+ {
+ "m_Id": "7eb3b00684374b3ba2bd8be059d9d11d"
+ },
+ {
+ "m_Id": "471d69768b3143c28bcd29941d55b24d"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "a93caca8319c449b980155eed9e4d3ed",
+ "m_Id": 1,
+ "m_DisplayName": "B",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 1.0,
+ "y": 1.0,
+ "z": 1.0,
+ "w": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ac343ab52b6548c78d7be88d92330ecc",
+ "m_Id": 3,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "aef4cd9ceab0488b9f80ee544878b9e1",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "b07720188c364ec593eb969739c9c287",
+ "m_Id": 2,
+ "m_DisplayName": "Y",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Y",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [
+ "Y"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "b18c3e20d78f4fa38c46a18a020fddf2",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "b30de319244046f6a482b20af8eba3ca",
+ "m_Id": 0,
+ "m_DisplayName": "Roughness",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "b34aeef26d00428489bdea9a7f11788a",
+ "m_Guid": {
+ "m_GuidSerialized": "faa5e58d-2520-4f65-9d9f-7fd1e13237cf"
+ },
+ "m_Name": "NormalMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "NormalMap",
+ "m_DefaultReferenceName": "_NormalMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "b8e89f4b5c2e4d98afcd8525d8b16d68",
+ "m_Id": 4,
+ "m_DisplayName": "A",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
+ "m_ObjectId": "bdac9cf259ee4c9785441c958ebe2c82",
+ "m_Id": 0,
+ "m_DisplayName": "A",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "A",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "e00": 0.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 0.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 0.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 0.0
+ },
+ "m_DefaultValue": {
+ "e00": 1.0,
+ "e01": 0.0,
+ "e02": 0.0,
+ "e03": 0.0,
+ "e10": 0.0,
+ "e11": 1.0,
+ "e12": 0.0,
+ "e13": 0.0,
+ "e20": 0.0,
+ "e21": 0.0,
+ "e22": 1.0,
+ "e23": 0.0,
+ "e30": 0.0,
+ "e31": 0.0,
+ "e32": 0.0,
+ "e33": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "c195827d123741be9a33c73964d1c7bd",
+ "m_Id": 1,
+ "m_DisplayName": "Strength",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Strength",
+ "m_StageCapability": 3,
+ "m_Value": 1.0,
+ "m_DefaultValue": 1.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "c98c7be5086a49788ddac6b44947626a",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "cd3b41827c9f4ed3a832df5466451ee4",
+ "m_Id": 0,
+ "m_DisplayName": "MetallicRoughnessMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "cd89087ed9db48ddb642060735ab4f35",
+ "m_Id": 6,
+ "m_DisplayName": "B",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "B",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "ce3cdbc510db4cc192fdc9aacf3189c7",
+ "m_Id": 0,
+ "m_DisplayName": "In",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "In",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 1.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "ce40e4791e8d451c92633a89d2b6623e",
+ "m_Id": 2,
+ "m_DisplayName": "Alpha",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Alpha",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "d0190bd214234175b32325104c503ea4",
+ "m_Id": 0,
+ "m_DisplayName": "RGBA",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "RGBA",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
+ "m_ObjectId": "d20a75c55807482d8a5bc564bb1e5033",
+ "m_Id": 2,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "d4562f8a59c04a76bcf052f84219bacf",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "d94e9e3c962941ada3f359c02435554a",
+ "m_Guid": {
+ "m_GuidSerialized": "7158af0f-43b5-4192-8219-b5dceaa50e9c"
+ },
+ "m_Name": "OcclusionStrength",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "OcclusionStrength",
+ "m_DefaultReferenceName": "_OcclusionStrength",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 1.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "de4ae76b50584c558f032b86843eaf3c",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "dec62a6ca6c94573b68f5277b3c59ab6",
+ "m_Guid": {
+ "m_GuidSerialized": "d9244f52-772a-4de5-aeb8-8d877a97e8b7"
+ },
+ "m_Name": "EmissionMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "EmissionMap",
+ "m_DefaultReferenceName": "_EmissionMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"09e6225be3a2a43489e11a41cb198377\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "dfc51385ceda4d86a36a8ea7f19c6d88",
+ "m_Id": 3,
+ "m_DisplayName": "Z",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Z",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": [
+ "Z"
+ ]
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
+ "m_ObjectId": "e2b1237b8d9f4984aaa93fa1014ad32f",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Multiply",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 253.9999237060547,
+ "y": -385.9999694824219,
+ "width": 209.33335876464845,
+ "height": 303.9999694824219
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "1b3d1b7d83e04d988887477411921a9f"
+ },
+ {
+ "m_Id": "8d9b4b001a2b4c9dba4a3c4d6586517f"
+ },
+ {
+ "m_Id": "13725fe0ce284486a708f897d08e7f93"
+ }
+ ],
+ "synonyms": [
+ "multiplication",
+ "times",
+ "x"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "e3a75f5bd043431cb63f6c57005833a2",
+ "m_Id": 0,
+ "m_DisplayName": "NormalMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "e4e2e3c250ee419d80684aee3834c4ae",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.NormalStrengthNode",
+ "m_ObjectId": "e5c2a7ebd0b44eb0b6ded1ca3bc70850",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Normal Strength",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 149.33334350585938,
+ "y": 878.6666870117188,
+ "width": 209.33331298828126,
+ "height": 304.00006103515627
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "ce3cdbc510db4cc192fdc9aacf3189c7"
+ },
+ {
+ "m_Id": "c195827d123741be9a33c73964d1c7bd"
+ },
+ {
+ "m_Id": "1eb8d79419ba44c29e52bc41d5c6360b"
+ }
+ ],
+ "synonyms": [
+ "intensity"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "e670c006d04c420e95fb34da172bb9a3",
+ "m_Id": 1,
+ "m_DisplayName": "BaseColor",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "BaseColor",
+ "m_StageCapability": 2,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "e7d900bf26d949a59c6342be77402d0f",
+ "m_Id": 2,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 3,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "e9d21fe40b8740c7a371e1efbc8677e4",
+ "m_Id": 5,
+ "m_DisplayName": "Metallic",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Metallic",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "ea1b4577ae37440ebb7646f685359b91",
+ "m_Guid": {
+ "m_GuidSerialized": "f752957a-ec1a-4574-8fac-9b1b9dc26de0"
+ },
+ "m_Name": "Roughness",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "Roughness",
+ "m_DefaultReferenceName": "_Roughness",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
+{
+ "m_SGVersion": 3,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
+ "m_ObjectId": "eb31e1d5ba694a60885248856af53466",
+ "m_Guid": {
+ "m_GuidSerialized": "bf455d07-d15f-40c3-96b7-f94d24e299b3"
+ },
+ "m_Name": "EmissionColor",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "EmissionColor",
+ "m_DefaultReferenceName": "_EmissionColor",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "r": 0.0,
+ "g": 0.0,
+ "b": 0.0,
+ "a": 0.0
+ },
+ "isMainColor": false,
+ "m_ColorMode": 1
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3Node",
+ "m_ObjectId": "eb539082e9b44af9a45e06fce943e79b",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Vector 3",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": 63.99998092651367,
+ "y": -386.0000305175781,
+ "width": 129.3333740234375,
+ "height": 126.66668701171875
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "7356a6fd7b654cf3a667db6cd631793e"
+ },
+ {
+ "m_Id": "b07720188c364ec593eb969739c9c287"
+ },
+ {
+ "m_Id": "468040b3744c433f87ddd3275deb90bc"
+ },
+ {
+ "m_Id": "e4e2e3c250ee419d80684aee3834c4ae"
+ }
+ ],
+ "synonyms": [
+ "3",
+ "v3",
+ "vec3",
+ "float3"
+ ],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
+ "m_ObjectId": "eb9d3331c84c4ad29780f6475d74ec64",
+ "m_Guid": {
+ "m_GuidSerialized": "bc3d4243-09da-46a4-9dc6-0c47f9eb6c2b"
+ },
+ "m_Name": "MetallicRoughnessMap",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "MetallicRoughnessMap",
+ "m_DefaultReferenceName": "_MetallicRoughnessMap",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": {
+ "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"909670d47b2f55d4a991788acca59d7e\",\"type\":3}}",
+ "m_Guid": ""
+ },
+ "isMainTexture": false,
+ "useTilingAndOffset": false,
+ "m_Modifiable": true,
+ "m_DefaultType": 0
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
+ "m_ObjectId": "ebf689c11ef842838e8e183bd480c74a",
+ "m_Id": 3,
+ "m_DisplayName": "Sampler",
+ "m_SlotType": 0,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Sampler",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
+ "m_ObjectId": "ec56dfa66b7b49aeb8c725e966bca89e",
+ "m_Id": 0,
+ "m_DisplayName": "Out",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "efcf7ac5789140f7b2bf528268ce2eb8",
+ "m_Id": 5,
+ "m_DisplayName": "G",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "G",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
+ "m_ObjectId": "f0c42c328d6644529d4ebb7ee48d16f7",
+ "m_Id": 0,
+ "m_DisplayName": "EmissionColor",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_Value": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_DefaultValue": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0,
+ "w": 0.0
+ },
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "f20fc1b4e639441d87909a30ddc3b4a0",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -440.66668701171877,
+ "y": 978.6665649414063,
+ "width": 120.0,
+ "height": 36.0001220703125
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "3a5db45a2ab244ac8b422a9f4ce47086"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "fddfcfba23f4484197ced74f6a153680"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
+ "m_ObjectId": "f9563785968c4a608b3e810745614987",
+ "m_Id": 0,
+ "m_DisplayName": "EmissionMap",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "Out",
+ "m_StageCapability": 3,
+ "m_BareResource": false
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
+ "m_ObjectId": "fa41d8f133734d46b073f60d63ac25ef",
+ "m_Group": {
+ "m_Id": ""
+ },
+ "m_Name": "Property",
+ "m_DrawState": {
+ "m_Expanded": true,
+ "m_Position": {
+ "serializedVersion": "2",
+ "x": -439.3333435058594,
+ "y": 451.9999694824219,
+ "width": 102.66668701171875,
+ "height": 36.00006103515625
+ }
+ },
+ "m_Slots": [
+ {
+ "m_Id": "b30de319244046f6a482b20af8eba3ca"
+ }
+ ],
+ "synonyms": [],
+ "m_Precision": 0,
+ "m_PreviewExpanded": true,
+ "m_DismissedVersion": 0,
+ "m_PreviewMode": 0,
+ "m_CustomColors": {
+ "m_SerializableColors": []
+ },
+ "m_Property": {
+ "m_Id": "ea1b4577ae37440ebb7646f685359b91"
+ }
+}
+
+{
+ "m_SGVersion": 0,
+ "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
+ "m_ObjectId": "fb41c688927f4aed99055b7c3ccca5fc",
+ "m_Id": 4,
+ "m_DisplayName": "R",
+ "m_SlotType": 1,
+ "m_Hidden": false,
+ "m_ShaderOutputName": "R",
+ "m_StageCapability": 2,
+ "m_Value": 0.0,
+ "m_DefaultValue": 0.0,
+ "m_Labels": []
+}
+
+{
+ "m_SGVersion": 1,
+ "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
+ "m_ObjectId": "fddfcfba23f4484197ced74f6a153680",
+ "m_Guid": {
+ "m_GuidSerialized": "d703b665-c68c-4723-b0fe-9322ff9f1b4d"
+ },
+ "m_Name": "NormalStrength",
+ "m_DefaultRefNameVersion": 1,
+ "m_RefNameGeneratedByDisplayName": "NormalStrength",
+ "m_DefaultReferenceName": "_NormalStrength",
+ "m_OverrideReferenceName": "",
+ "m_GeneratePropertyBlock": true,
+ "m_UseCustomSlotLabel": false,
+ "m_CustomSlotLabel": "",
+ "m_DismissedVersion": 0,
+ "m_Precision": 0,
+ "overrideHLSLDeclaration": false,
+ "hlslDeclarationOverride": 0,
+ "m_Hidden": false,
+ "m_Value": 0.0,
+ "m_FloatType": 0,
+ "m_RangeValues": {
+ "x": 0.0,
+ "y": 1.0
+ }
+}
+
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbr_SubGraph.shadersubgraph.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbr_SubGraph.shadersubgraph.meta
new file mode 100644
index 000000000..fd427abd2
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/TinyPbr_SubGraph.shadersubgraph.meta
@@ -0,0 +1,10 @@
+fileFormatVersion: 2
+guid: 2fe3270edce96f4438a6dcc501a8c5cd
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/black.png b/Assets/VRM10/Samples~/VRM10Viewer/Assets/black.png
new file mode 100644
index 000000000..aa8727af7
Binary files /dev/null and b/Assets/VRM10/Samples~/VRM10Viewer/Assets/black.png differ
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/black.png.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/black.png.meta
new file mode 100644
index 000000000..37047a83e
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/black.png.meta
@@ -0,0 +1,127 @@
+fileFormatVersion: 2
+guid: d8c7685da35f7994799534cbc1acce4a
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 13
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMipmapLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ cookieLightType: 0
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: WebGL
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ mipmapLimitGroupName:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/blue.png b/Assets/VRM10/Samples~/VRM10Viewer/Assets/blue.png
new file mode 100644
index 000000000..35cd4570f
Binary files /dev/null and b/Assets/VRM10/Samples~/VRM10Viewer/Assets/blue.png differ
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/blue.png.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/blue.png.meta
new file mode 100644
index 000000000..78c97a508
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/blue.png.meta
@@ -0,0 +1,127 @@
+fileFormatVersion: 2
+guid: 909670d47b2f55d4a991788acca59d7e
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 13
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMipmapLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ cookieLightType: 0
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: WebGL
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ mipmapLimitGroupName:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/red.png b/Assets/VRM10/Samples~/VRM10Viewer/Assets/red.png
new file mode 100644
index 000000000..b90efb932
Binary files /dev/null and b/Assets/VRM10/Samples~/VRM10Viewer/Assets/red.png differ
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/red.png.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/red.png.meta
new file mode 100644
index 000000000..21e77cd47
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/red.png.meta
@@ -0,0 +1,127 @@
+fileFormatVersion: 2
+guid: 51ce5cf2de6d788449c2fdd4b8488a92
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 13
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMipmapLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ cookieLightType: 0
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: WebGL
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ mipmapLimitGroupName:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/white.png b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white.png
new file mode 100644
index 000000000..8cd9f771b
Binary files /dev/null and b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white.png differ
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/white.png.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white.png.meta
new file mode 100644
index 000000000..775da7c42
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white.png.meta
@@ -0,0 +1,127 @@
+fileFormatVersion: 2
+guid: 3ab316f1cf207684abb754d9a2731c66
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 13
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMipmapLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ cookieLightType: 0
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: WebGL
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ mipmapLimitGroupName:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/white_hdr.hdr b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white_hdr.hdr
new file mode 100644
index 000000000..004f75c44
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white_hdr.hdr
@@ -0,0 +1,6 @@
+#?RADIANCE
+SOFTWARE=GEGL
+FORMAT=32-bit_rle_rgbe
+
+-Y 2 +X 2
+
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Assets/white_hdr.hdr.meta b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white_hdr.hdr.meta
new file mode 100644
index 000000000..febb863ca
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Assets/white_hdr.hdr.meta
@@ -0,0 +1,127 @@
+fileFormatVersion: 2
+guid: 09e6225be3a2a43489e11a41cb198377
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 13
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMipmapLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ cookieLightType: 0
+ platformSettings:
+ - serializedVersion: 3
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: WebGL
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ nameFileIdTable: {}
+ mipmapLimitGroupName:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/FaceCameraTarget.asset b/Assets/VRM10/Samples~/VRM10Viewer/FaceCameraTarget.asset
index c1311d8e0..dc5b55f8e 100644
--- a/Assets/VRM10/Samples~/VRM10Viewer/FaceCameraTarget.asset
+++ b/Assets/VRM10/Samples~/VRM10Viewer/FaceCameraTarget.asset
@@ -26,6 +26,7 @@ CustomRenderTexture:
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
+ m_EnableRandomWrite: 0
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/IMaterialImporter.cs b/Assets/VRM10/Samples~/VRM10Viewer/IMaterialImporter.cs
new file mode 100644
index 000000000..7906b2a3c
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/IMaterialImporter.cs
@@ -0,0 +1,9 @@
+using UniGLTF;
+
+namespace UniVRM10.VRM10Viewer
+{
+ public interface IMaterialImporter
+ {
+ bool TryCreateParam(GltfData data, int i, out MaterialDescriptor matDesc);
+ }
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/IMaterialImporter.cs.meta b/Assets/VRM10/Samples~/VRM10Viewer/IMaterialImporter.cs.meta
new file mode 100644
index 000000000..72183176b
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/IMaterialImporter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a73adafc0b11d6e459306666f5b0ceb8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Motions/BvhMotion.cs b/Assets/VRM10/Samples~/VRM10Viewer/Motions/BvhMotion.cs
index 0cdac4631..b55a433d3 100644
--- a/Assets/VRM10/Samples~/VRM10Viewer/Motions/BvhMotion.cs
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Motions/BvhMotion.cs
@@ -54,6 +54,11 @@ namespace UniVRM10.VRM10Viewer
m_boxMan.enabled = enable;
}
+ public void SetBoxManMaterial(Material material)
+ {
+ m_boxMan.material = material;
+ }
+
public void Dispose()
{
GameObject.Destroy(m_context.Root);
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/OrderedMaterialDescriptorGenerator.cs b/Assets/VRM10/Samples~/VRM10Viewer/OrderedMaterialDescriptorGenerator.cs
new file mode 100644
index 000000000..e8d644d30
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/OrderedMaterialDescriptorGenerator.cs
@@ -0,0 +1,41 @@
+using UniGLTF;
+
+namespace UniVRM10.VRM10Viewer
+{
+ public sealed class OrderedMaterialDescriptorGenerator : IMaterialDescriptorGenerator
+ {
+ private IMaterialImporter[] _importers;
+
+ public UrpGltfDefaultMaterialImporter DefaultMaterialImporter { get; } = new();
+
+ ///
+ /// 順に TryCreateParam を実行して最初に成功したら終わる。
+ /// 全て失敗したら UrpGltfDefaultMaterialImporter を実行する。
+ /// 通常 vrm-1.0, unlit, pbr の順に試行する。
+ ///
+ ///
+ public OrderedMaterialDescriptorGenerator(params IMaterialImporter[] importers)
+ {
+ _importers = importers;
+ }
+
+ public MaterialDescriptor Get(GltfData data, int i)
+ {
+ foreach (var importer in _importers)
+ {
+ if (importer.TryCreateParam(data, i, out var param))
+ {
+ return param;
+ }
+ }
+ // NOTE: Fallback to default material
+ if (Symbols.VRM_DEVELOP)
+ {
+ UniGLTFLogger.Warning($"material: {i} out of range. fallback");
+ }
+ return GetGltfDefault(GltfMaterialImportUtils.ImportMaterialName(i, null));
+ }
+
+ public MaterialDescriptor GetGltfDefault(string materialName = null) => DefaultMaterialImporter.CreateParam(materialName);
+ }
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/OrderedMaterialDescriptorGenerator.cs.meta b/Assets/VRM10/Samples~/VRM10Viewer/OrderedMaterialDescriptorGenerator.cs.meta
new file mode 100644
index 000000000..29ea5975e
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/OrderedMaterialDescriptorGenerator.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e069c0db5336bc34f84bde3260c51d84
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/Plugins.meta b/Assets/VRM10/Samples~/VRM10Viewer/Plugins.meta
new file mode 100644
index 000000000..7e020264f
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Plugins.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a75c9f76297d99041bdf9ca2458d12bb
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM/Samples~/SimpleViewer/Plugins/OpenFile.jslib b/Assets/VRM10/Samples~/VRM10Viewer/Plugins/WebGL_VRM10_VRM10Viewer.jslib
similarity index 67%
rename from Assets/VRM/Samples~/SimpleViewer/Plugins/OpenFile.jslib
rename to Assets/VRM10/Samples~/VRM10Viewer/Plugins/WebGL_VRM10_VRM10Viewer.jslib
index 48ba0ce57..1a0cb627b 100644
--- a/Assets/VRM/Samples~/SimpleViewer/Plugins/OpenFile.jslib
+++ b/Assets/VRM10/Samples~/VRM10Viewer/Plugins/WebGL_VRM10_VRM10Viewer.jslib
@@ -1,21 +1,23 @@
mergeInto(LibraryManager.library, {
- WebGLFileDialog: function () {
+ WebGL_VRM10_VRM10Viewer_FileDialog: function (_target, _message) {
+ const target = UTF8ToString(_target);
+ const message = UTF8ToString(_message);
const file_input_id = "file-input";
var file_input = document.getElementById(file_input_id);
if (!file_input) {
file_input = document.createElement('input');
file_input.setAttribute('type', 'file');
file_input.setAttribute('id', file_input_id);
- // file_input.setAttribute('accept', '.vrm')
file_input.style.visibility = 'hidden';
file_input.onclick = function (event) {
event.target.value = null;
};
file_input.onchange = function (event) {
- SendMessage('Canvas', 'FileSelected', URL.createObjectURL(event.target.files[0]));
+ console.log('SendMessage', target, message);
+ SendMessage(target, message, URL.createObjectURL(event.target.files[0]));
}
document.body.appendChild(file_input);
}
file_input.click();
},
-});
\ No newline at end of file
+});
diff --git a/Assets/VRM/Samples~/SimpleViewer/Plugins/OpenFile.jslib.meta b/Assets/VRM10/Samples~/VRM10Viewer/Plugins/WebGL_VRM10_VRM10Viewer.jslib.meta
similarity index 100%
rename from Assets/VRM/Samples~/SimpleViewer/Plugins/OpenFile.jslib.meta
rename to Assets/VRM10/Samples~/VRM10Viewer/Plugins/WebGL_VRM10_VRM10Viewer.jslib.meta
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialContext.cs b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialContext.cs
new file mode 100644
index 000000000..d74440732
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialContext.cs
@@ -0,0 +1,133 @@
+using System.Dynamic;
+using UnityEngine;
+
+namespace UniVRM10.VRM10Viewer
+{
+ public class TinyMToonMaterialContext
+ {
+ //
+ // When using shadergraph, you need to expose the following properties.
+ //
+
+ ///
+ /// Color = White
+ ///
+ private static readonly int BaseColorProp = Shader.PropertyToID("_BaseColor");
+ ///
+ /// Texture2D = white
+ /// When using shadergraph, require "Set as Main Texture"
+ ///
+ private static readonly int BaseMapProp = Shader.PropertyToID("_BaseMap");
+
+ private static readonly int ShadingColorFactorProp = Shader.PropertyToID("_ShadingColor");
+ private static readonly int ShadingMapProp = Shader.PropertyToID("_ShadingMap");
+ private static readonly int ShadingToonyFactorProp = Shader.PropertyToID("_ShadingToonyFactor");
+
+ ///
+ /// float = 1.0
+ ///
+ private static readonly int BumpScaleProp = Shader.PropertyToID("_BumpScale");
+ ///
+ /// Texture2D = [0, 0, 1.0]
+ ///
+ private static readonly int BumpMapProp = Shader.PropertyToID("_BumpMap");
+
+ ///
+ /// Color = black
+ ///
+ private static readonly int EmissionColorProp = Shader.PropertyToID("_EmissionColor");
+ ///
+ /// Texture2D = black
+ ///
+ private static readonly int EmissionMapProp = Shader.PropertyToID("_EmissionMap");
+
+ ///
+ /// boolean keyword
+ ///
+ private static readonly int CutoffEnabledProp = Shader.PropertyToID("_CutoffEnabled");
+ ///
+ /// float = 0.5
+ ///
+ private static readonly int CutoffProp = Shader.PropertyToID("_Cutoff");
+
+ public readonly Material Material;
+ public TinyMToonMaterialContext(Material material)
+ {
+ Material = material;
+ }
+
+ public Color BaseColorSrgb
+ {
+ get => Material.GetColor(BaseColorProp);
+ set => Material.SetColor(BaseColorProp, value);
+ }
+ public Texture BaseTexture
+ {
+ get => Material.GetTexture(BaseMapProp);
+ set => Material.SetTexture(BaseMapProp, value);
+ }
+ public Vector2 BaseTextureOffset
+ {
+ get => Material.GetTextureOffset(BaseMapProp);
+ set => Material.SetTextureOffset(BaseMapProp, value);
+ }
+ public Vector2 BaseTextureScale
+ {
+ get => Material.GetTextureScale(BaseMapProp);
+ set => Material.SetTextureScale(BaseMapProp, value);
+ }
+
+ public Color ShadingColorFactorSrgb
+ {
+ get => Material.GetColor(ShadingColorFactorProp);
+ set => Material.SetColor(ShadingColorFactorProp, value);
+ }
+ public Texture ShadingTexture
+ {
+ get => Material.GetTexture(ShadingMapProp);
+ set => Material.SetTexture(ShadingMapProp, value);
+ }
+ public float ShadingToonyFactor
+ {
+ get => Material.GetFloat(ShadingToonyFactorProp);
+ set => Material.SetFloat(ShadingToonyFactorProp, value);
+ }
+
+ public float BumpScale
+ {
+ get => Material.GetFloat(BumpScaleProp);
+ set => Material.SetFloat(BumpScaleProp, value);
+ }
+ public Texture BumpMap
+ {
+ get => Material.GetTexture(BumpMapProp);
+ set
+ {
+ Material.SetTexture(BumpMapProp, value);
+ }
+ }
+
+ public Color EmissionColorLinear
+ {
+ get => Material.GetColor(EmissionColorProp);
+ set => Material.SetColor(EmissionColorProp, value);
+ }
+ public Texture EmissionTexture
+ {
+ get => Material.GetTexture(EmissionMapProp);
+ set => Material.SetTexture(EmissionMapProp, value);
+ }
+
+ public bool CutoffEnabled
+ {
+ get => Material.GetInt(CutoffEnabledProp) != 0;
+ set => Material.SetInt(CutoffEnabledProp, value ? 1 : 0);
+ }
+
+ public float Cutoff
+ {
+ get => Material.GetFloat(CutoffProp);
+ set => Material.SetFloat(CutoffProp, value);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialContext.cs.meta b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialContext.cs.meta
new file mode 100644
index 000000000..1f1447c44
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialContext.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 74278bbebb772d043ad87b46a42e9cc3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialImporter.cs b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialImporter.cs
new file mode 100644
index 000000000..bd467cd5d
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialImporter.cs
@@ -0,0 +1,115 @@
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using UniGLTF;
+using UniGLTF.Extensions.VRMC_materials_mtoon;
+using UnityEngine;
+
+namespace UniVRM10.VRM10Viewer
+{
+ public class TinyMToonrMaterialImporter : IMaterialImporter
+ {
+ private Material m_opaque;
+ private Material m_alphablend;
+ public TinyMToonrMaterialImporter(Material opaque, Material alphablend)
+ {
+ m_opaque = opaque;
+ m_alphablend = alphablend;
+ }
+
+ bool IMaterialImporter.TryCreateParam(GltfData data, int i, out MaterialDescriptor matDesc)
+ {
+ if (i < 0 || i >= data.GLTF.materials.Count)
+ {
+ matDesc = default;
+ return false;
+ }
+
+ var src = data.GLTF.materials[i];
+ if (!UniGLTF.Extensions.VRMC_materials_mtoon.GltfDeserializer.TryGet(src.extensions, out var mtoon))
+ {
+ // Fallback to glTF, when MToon extension does not exist.
+ matDesc = default;
+ return false;
+ }
+
+ matDesc = new MaterialDescriptor(
+ GltfMaterialImportUtils.ImportMaterialName(i, src),
+ src.alphaMode == "BLEND" ? m_alphablend.shader : m_opaque.shader,
+ null,
+ new Dictionary(),
+ new Dictionary(),
+ new Dictionary(),
+ new Dictionary(),
+ new List>(),
+ new[] { (MaterialDescriptor.MaterialGenerateAsyncFunc)AsyncAction }
+ );
+ return true;
+
+ Task AsyncAction(Material x, GetTextureAsyncFunc y, IAwaitCaller z) => GenerateMaterialAsync(data, src, mtoon, x, y, z);
+ }
+
+ public static async Task GenerateMaterialAsync(GltfData data, glTFMaterial src, VRMC_materials_mtoon mtoon, Material dst, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ var context = new TinyMToonMaterialContext(dst);
+
+ ImportSurfaceSettings(src, context);
+ await ImportBaseShadeColorAsync(data, src, mtoon, context, getTextureAsync, awaitCaller);
+ // await ImportMetallicRoughnessAsync(data, src, context, getTextureAsync, awaitCaller);
+ // await ImportOcclusionAsync(data, src, context, getTextureAsync, awaitCaller);
+ // await ImportNormalAsync(data, src, context, getTextureAsync, awaitCaller);
+ // await ImportEmissionAsync(data, src, context, getTextureAsync, awaitCaller);
+
+ // context.Validate();
+ }
+
+ public static void ImportSurfaceSettings(glTFMaterial src, TinyMToonMaterialContext context)
+ {
+ // context.SurfaceType = src.alphaMode switch
+ // {
+ // "OPAQUE" => UrpLitSurfaceType.Opaque,
+ // "MASK" => UrpLitSurfaceType.Transparent,
+ // "BLEND" => UrpLitSurfaceType.Transparent,
+ // _ => UrpLitSurfaceType.Opaque,
+ // };
+ // context.BlendMode = context.SurfaceType switch
+ // {
+ // UrpLitSurfaceType.Transparent => UrpLitBlendMode.Alpha,
+ // _ => UrpLitBlendMode.Alpha,
+ // };
+ context.CutoffEnabled = src.alphaMode == "MASK";
+ context.Cutoff = src.alphaCutoff;
+ // context.CullMode = src.doubleSided ? CullMode.Off : CullMode.Back;
+ }
+
+ public static async Task ImportBaseShadeColorAsync(GltfData data, glTFMaterial src, VRMC_materials_mtoon mtoon, TinyMToonMaterialContext context, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ var baseColorFactor = GltfMaterialImportUtils.ImportLinearBaseColorFactor(data, src);
+ if (baseColorFactor.HasValue)
+ {
+ context.BaseColorSrgb = baseColorFactor.Value.gamma;
+ }
+
+ if (src is { pbrMetallicRoughness: { baseColorTexture: { index: >= 0 } } })
+ {
+ if (GltfPbrTextureImporter.TryBaseColorTexture(data, src, out _, out var desc))
+ {
+ context.BaseTexture = await getTextureAsync(desc, awaitCaller);
+ context.BaseTextureOffset = desc.Offset;
+ context.BaseTextureScale = desc.Scale;
+ }
+ }
+
+ context.ShadingToonyFactor = mtoon.ShadingToonyFactor.GetValueOrDefault();
+ var shadeColor = mtoon.ShadeColorFactor?.ToColor3(UniGLTF.ColorSpace.Linear, UniGLTF.ColorSpace.sRGB);
+ context.ShadingColorFactorSrgb = shadeColor.GetValueOrDefault(Color.white);
+ if (mtoon is { ShadeMultiplyTexture: { Index: >= 0 } })
+ {
+ if (Vrm10MToonTextureImporter.TryGetShadeMultiplyTexture(data, mtoon, out var _, out var desc))
+ {
+ context.ShadingTexture = await getTextureAsync(desc, awaitCaller);
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialImporter.cs.meta b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialImporter.cs.meta
new file mode 100644
index 000000000..45cb388c7
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyMToonMaterialImporter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 65362ac3cba13c14299e8a8ce356927d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialContext.cs b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialContext.cs
new file mode 100644
index 000000000..3f74055e6
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialContext.cs
@@ -0,0 +1,154 @@
+using UnityEngine;
+
+namespace UniVRM10.VRM10Viewer
+{
+ public class TinyPbrMaterialContext
+ {
+ //
+ // When using shadergraph, you need to expose the following properties.
+ //
+
+ ///
+ /// Color = White
+ ///
+ private static readonly int BaseColorProp = Shader.PropertyToID("_BaseColor");
+ ///
+ /// Texture2D = white
+ /// When using shadergraph, require "Set as Main Texture"
+ ///
+ private static readonly int BaseMapProp = Shader.PropertyToID("_BaseMap");
+ ///
+ /// float = 1.0
+ ///
+ private static readonly int OcclusionStrengthProp = Shader.PropertyToID("_OcclusionStrength");
+ ///
+ /// Texture2D.Red = 1.0.
+ ///
+ private static readonly int OcclusionMapProp = Shader.PropertyToID("_OcclusionMap");
+ private static readonly int RoughnessProp = Shader.PropertyToID("_Roughness");
+ private static readonly int MetallicProp = Shader.PropertyToID("_Metallic");
+ ///
+ /// Texture2D.Green = 1.0. The roughness
+ /// Texture2D.Blue = 1.0. The metalness
+ ///
+ private static readonly int MetallicRoughnessMapProp = Shader.PropertyToID("_MetallicRoughnessMap");
+ ///
+ /// float = 1.0
+ ///
+ private static readonly int BumpScaleProp = Shader.PropertyToID("_BumpScale");
+ ///
+ /// Texture2D = [0, 0, 1.0]
+ ///
+ private static readonly int BumpMapProp = Shader.PropertyToID("_BumpMap");
+ ///
+ /// Color = black
+ ///
+ private static readonly int EmissionColorProp = Shader.PropertyToID("_EmissionColor");
+ ///
+ /// Texture2D = black
+ ///
+ private static readonly int EmissionMapProp = Shader.PropertyToID("_EmissionMap");
+ ///
+ /// boolean keyword
+ ///
+ private static readonly int CutoffEnabledProp = Shader.PropertyToID("_CutoffEnabled");
+ ///
+ /// float = 0.5
+ ///
+ private static readonly int CutoffProp = Shader.PropertyToID("_Cutoff");
+
+ public readonly Material Material;
+ public TinyPbrMaterialContext(Material material)
+ {
+ Material = material;
+ }
+
+ public Color BaseColorSrgb
+ {
+ get => Material.GetColor(BaseColorProp);
+ set => Material.SetColor(BaseColorProp, value);
+ }
+ public Texture BaseTexture
+ {
+ get => Material.GetTexture(BaseMapProp);
+ set => Material.SetTexture(BaseMapProp, value);
+ }
+ public Vector2 BaseTextureOffset
+ {
+ get => Material.GetTextureOffset(BaseMapProp);
+ set => Material.SetTextureOffset(BaseMapProp, value);
+ }
+ public Vector2 BaseTextureScale
+ {
+ get => Material.GetTextureScale(BaseMapProp);
+ set => Material.SetTextureScale(BaseMapProp, value);
+ }
+
+ public float OcclusionStrength
+ {
+ get => Material.GetFloat(OcclusionStrengthProp);
+ set => Material.SetFloat(OcclusionStrengthProp, value);
+ }
+ public Texture OcclusionTexture
+ {
+ get => Material.GetTexture(OcclusionMapProp);
+ set
+ {
+ Material.SetTexture(OcclusionMapProp, value);
+ }
+ }
+
+ public float Roughness
+ {
+ get => Material.GetFloat(RoughnessProp);
+ set => Material.SetFloat(RoughnessProp, value);
+ }
+ public float Metallic
+ {
+ get => Material.GetFloat(MetallicProp);
+ set => Material.SetFloat(MetallicProp, value);
+ }
+ public Texture MetallicRoughnessMap
+ {
+ get => Material.GetTexture(MetallicRoughnessMapProp);
+ set => Material.SetTexture(MetallicRoughnessMapProp, value);
+ }
+
+ public float BumpScale
+ {
+ get => Material.GetFloat(BumpScaleProp);
+ set => Material.SetFloat(BumpScaleProp, value);
+ }
+ public Texture BumpMap
+ {
+ get => Material.GetTexture(BumpMapProp);
+ set
+ {
+ Material.SetTexture(BumpMapProp, value);
+ }
+ }
+
+ public Color EmissionColorLinear
+ {
+ get => Material.GetColor(EmissionColorProp);
+ set => Material.SetColor(EmissionColorProp, value);
+ }
+ public Texture EmissionTexture
+ {
+ get => Material.GetTexture(EmissionMapProp);
+ set => Material.SetTexture(EmissionMapProp, value);
+ }
+
+ public bool CutoffEnabled
+ {
+ get => Material.GetInt(CutoffEnabledProp) != 0;
+ set => Material.SetInt(CutoffEnabledProp, value ? 1 : 0);
+ }
+
+ public float Cutoff
+ {
+ get => Material.GetFloat(CutoffProp);
+ set => Material.SetFloat(CutoffProp, value);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialContext.cs.meta b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialContext.cs.meta
new file mode 100644
index 000000000..776febaec
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialContext.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8084ef1a84a110241ac5d3350832a9d7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialImporter.cs b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialImporter.cs
new file mode 100644
index 000000000..35f137a28
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialImporter.cs
@@ -0,0 +1,163 @@
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using UniGLTF;
+using UnityEngine;
+
+namespace UniVRM10.VRM10Viewer
+{
+ public class TinyPbrMaterialImporter : IMaterialImporter
+ {
+ // public const string ALPHABLEND_SHADER_NAME = "Shader Graphs/TinyPbrAlphaBlend";
+ // public const string OPAQUE_SHADER_NAME = "Shader Graphs/TinyPbrOpaque";
+
+ Material m_opaque;
+ Material m_alphablend;
+
+ public TinyPbrMaterialImporter(Material opaque, Material alphablend)
+ {
+ m_opaque = opaque;
+ m_alphablend = alphablend;
+ }
+
+ bool IMaterialImporter.TryCreateParam(GltfData data, int i, out MaterialDescriptor matDesc)
+ {
+ if (i < 0 || i >= data.GLTF.materials.Count)
+ {
+ matDesc = default;
+ return false;
+ }
+
+ var src = data.GLTF.materials[i];
+ matDesc = new MaterialDescriptor(
+ GltfMaterialImportUtils.ImportMaterialName(i, src),
+ src.alphaMode == "BLEND" ? m_alphablend.shader : m_opaque.shader,
+ null,
+ new Dictionary(),
+ new Dictionary(),
+ new Dictionary(),
+ new Dictionary(),
+ new List>(),
+ new[] { (MaterialDescriptor.MaterialGenerateAsyncFunc)AsyncAction }
+ );
+ return true;
+
+ Task AsyncAction(Material x, GetTextureAsyncFunc y, IAwaitCaller z) => GenerateMaterialAsync(data, src, x, y, z);
+ }
+
+ public static async Task GenerateMaterialAsync(GltfData data, glTFMaterial src, Material dst, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ var context = new TinyPbrMaterialContext(dst);
+
+ ImportSurfaceSettings(src, context);
+ await ImportBaseColorAsync(data, src, context, getTextureAsync, awaitCaller);
+ await ImportMetallicRoughnessAsync(data, src, context, getTextureAsync, awaitCaller);
+ await ImportOcclusionAsync(data, src, context, getTextureAsync, awaitCaller);
+ await ImportNormalAsync(data, src, context, getTextureAsync, awaitCaller);
+ await ImportEmissionAsync(data, src, context, getTextureAsync, awaitCaller);
+
+ // context.Validate();
+ }
+
+ public static void ImportSurfaceSettings(glTFMaterial src, TinyPbrMaterialContext context)
+ {
+ // context.SurfaceType = src.alphaMode switch
+ // {
+ // "OPAQUE" => UrpLitSurfaceType.Opaque,
+ // "MASK" => UrpLitSurfaceType.Transparent,
+ // "BLEND" => UrpLitSurfaceType.Transparent,
+ // _ => UrpLitSurfaceType.Opaque,
+ // };
+ // context.BlendMode = context.SurfaceType switch
+ // {
+ // UrpLitSurfaceType.Transparent => UrpLitBlendMode.Alpha,
+ // _ => UrpLitBlendMode.Alpha,
+ // };
+ context.CutoffEnabled = src.alphaMode == "MASK";
+ context.Cutoff = src.alphaCutoff;
+ // context.CullMode = src.doubleSided ? CullMode.Off : CullMode.Back;
+ }
+
+ public static async Task ImportBaseColorAsync(GltfData data, glTFMaterial src, TinyPbrMaterialContext context, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ var baseColorFactor = GltfMaterialImportUtils.ImportLinearBaseColorFactor(data, src);
+ if (baseColorFactor.HasValue)
+ {
+ context.BaseColorSrgb = baseColorFactor.Value.gamma;
+ }
+
+ if (src is { pbrMetallicRoughness: { baseColorTexture: { index: >= 0 } } })
+ {
+ if (GltfPbrTextureImporter.TryBaseColorTexture(data, src, out _, out var desc))
+ {
+ context.BaseTexture = await getTextureAsync(desc, awaitCaller);
+ context.BaseTextureOffset = desc.Offset;
+ context.BaseTextureScale = desc.Scale;
+ }
+ }
+ }
+
+ public static async Task ImportMetallicRoughnessAsync(GltfData data, glTFMaterial src, TinyPbrMaterialContext context, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ if (src.pbrMetallicRoughness != null)
+ {
+ context.Metallic = src.pbrMetallicRoughness.metallicFactor;
+ context.Roughness = src.pbrMetallicRoughness.roughnessFactor;
+ }
+
+ if (src is { pbrMetallicRoughness: { metallicRoughnessTexture: { index: >= 0 } } })
+ {
+ var (offset, scale) = GltfTextureImporter.GetTextureOffsetAndScale(src.pbrMetallicRoughness.metallicRoughnessTexture);
+ if (GltfTextureImporter.TryCreateLinear(data, src.pbrMetallicRoughness.metallicRoughnessTexture.index, offset, scale, out var _, out var desc))
+ {
+ context.MetallicRoughnessMap = await getTextureAsync(desc, awaitCaller);
+ }
+ }
+ }
+
+ public static async Task ImportOcclusionAsync(GltfData data, glTFMaterial src, TinyPbrMaterialContext context, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ if (src.occlusionTexture != null)
+ {
+ context.OcclusionStrength = src.occlusionTexture.strength;
+ }
+ if (src is { occlusionTexture: { index: >= 0 } })
+ {
+ var (offset, scale) = GltfTextureImporter.GetTextureOffsetAndScale(src.occlusionTexture);
+ if (GltfTextureImporter.TryCreateLinear(data, src.occlusionTexture.index, offset, scale, out var _, out var desc))
+ {
+ context.OcclusionTexture = await getTextureAsync(desc, awaitCaller);
+ }
+ }
+ }
+
+ private static async Task ImportNormalAsync(GltfData data, glTFMaterial src, TinyPbrMaterialContext context, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ if (src.normalTexture is { index: >= 0 })
+ {
+ if (GltfPbrTextureImporter.TryNormalTexture(data, src, out _, out var desc))
+ {
+ context.BumpMap = await getTextureAsync(desc, awaitCaller);
+ context.BumpScale = src.normalTexture.scale;
+ }
+ }
+ }
+
+ private static async Task ImportEmissionAsync(GltfData data, glTFMaterial src, TinyPbrMaterialContext context, GetTextureAsyncFunc getTextureAsync, IAwaitCaller awaitCaller)
+ {
+ var emissiveFactor = GltfMaterialImportUtils.ImportLinearEmissiveFactor(data, src);
+ if (emissiveFactor.HasValue)
+ {
+ context.EmissionColorLinear = emissiveFactor.Value;
+ }
+
+ if (src is { emissiveTexture: { index: >= 0 } })
+ {
+ if (GltfPbrTextureImporter.TryEmissiveTexture(data, src, out _, out var desc))
+ {
+ context.EmissionTexture = await getTextureAsync(desc, awaitCaller);
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialImporter.cs.meta b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialImporter.cs.meta
new file mode 100644
index 000000000..c29e35b99
--- /dev/null
+++ b/Assets/VRM10/Samples~/VRM10Viewer/TinyPbrMaterialImporter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0f9b3156e6cb9e84b924ab9e062df7fe
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/VRM10.Samples.VRM10Viewer.asmdef b/Assets/VRM10/Samples~/VRM10Viewer/VRM10.Samples.VRM10Viewer.asmdef
index f40e22e2d..b5eb2e01e 100644
--- a/Assets/VRM10/Samples~/VRM10Viewer/VRM10.Samples.VRM10Viewer.asmdef
+++ b/Assets/VRM10/Samples~/VRM10Viewer/VRM10.Samples.VRM10Viewer.asmdef
@@ -6,7 +6,8 @@
"GUID:8d76e605759c3f64a957d63ef96ada7c",
"GUID:e47c917724578cc43b5506c17a27e9a0",
"GUID:1cd941934d098654fa21a13f28346412",
- "GUID:3e5d614bc16b50d41bd94c8d7444ca46"
+ "GUID:3e5d614bc16b50d41bd94c8d7444ca46",
+ "GUID:f06555f75b070af458a003d92f9efb00"
],
"includePlatforms": [],
"excludePlatforms": [],
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/VRM10Loaded.cs b/Assets/VRM10/Samples~/VRM10Viewer/VRM10Loaded.cs
index b1cf55fe2..4bf684d04 100644
--- a/Assets/VRM10/Samples~/VRM10Viewer/VRM10Loaded.cs
+++ b/Assets/VRM10/Samples~/VRM10Viewer/VRM10Loaded.cs
@@ -10,7 +10,7 @@ namespace UniVRM10.VRM10Viewer
Vrm10Instance m_vrm;
public Vrm10Instance Instance => m_vrm;
public Vrm10RuntimeControlRig ControlRig => m_vrm.Runtime.ControlRig;
- public Vrm10Runtime Runtime => m_vrm.Runtime;
+ public Vrm10Runtime Runtime => m_vrm?.Runtime;
public Loaded(RuntimeGltfInstance instance)
{
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/VRM10Viewer.unity b/Assets/VRM10/Samples~/VRM10Viewer/VRM10Viewer.unity
index 6f2339edb..dc470aae5 100644
--- a/Assets/VRM10/Samples~/VRM10Viewer/VRM10Viewer.unity
+++ b/Assets/VRM10/Samples~/VRM10Viewer/VRM10Viewer.unity
@@ -38,7 +38,6 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.18028381, g: 0.22571406, b: 0.30692294, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -105,7 +104,7 @@ NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
- serializedVersion: 2
+ serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
@@ -118,7 +117,7 @@ NavMeshSettings:
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
- accuratePlacement: 0
+ buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
@@ -155,7 +154,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1599256637}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -234,7 +232,6 @@ RectTransform:
m_Children:
- {fileID: 135316326}
m_Father: {fileID: 1199656768}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -272,7 +269,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 689984384}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -354,7 +350,6 @@ RectTransform:
- {fileID: 686670739}
- {fileID: 1344922093}
m_Father: {fileID: 521923112}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -439,7 +434,6 @@ RectTransform:
m_Children:
- {fileID: 1635320714}
m_Father: {fileID: 1080118805}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -478,7 +472,6 @@ RectTransform:
- {fileID: 158154218}
- {fileID: 1194983845}
m_Father: {fileID: 482103440}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -563,7 +556,6 @@ RectTransform:
m_Children:
- {fileID: 996159696}
m_Father: {fileID: 1656501143}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -601,7 +593,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 522109224}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -681,7 +672,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 229182164}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -757,7 +747,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1989303006}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -834,7 +823,6 @@ RectTransform:
m_Children:
- {fileID: 1189866557}
m_Father: {fileID: 1767738854}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -910,7 +898,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2092455693}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -991,7 +978,6 @@ RectTransform:
m_Children:
- {fileID: 902738140}
m_Father: {fileID: 1475917289}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -1067,7 +1053,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1221148532}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -1143,7 +1128,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 644517400}
- m_RootOrder: 18
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -1216,7 +1200,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 434383452}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -1267,6 +1250,82 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 87189655}
m_CullTransparentMesh: 0
+--- !u!1 &89265329
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 89265330}
+ - component: {fileID: 89265332}
+ - component: {fileID: 89265331}
+ m_Layer: 5
+ m_Name: Background
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &89265330
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 89265329}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 1421681255}
+ m_Father: {fileID: 731212245}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 10, y: -10}
+ m_SizeDelta: {x: 20, y: 20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &89265331
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 89265329}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &89265332
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 89265329}
+ m_CullTransparentMesh: 0
--- !u!1 &103723703
GameObject:
m_ObjectHideFlags: 0
@@ -1298,7 +1357,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 339774397}
- m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -1378,7 +1436,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1127229924}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -1453,7 +1510,6 @@ RectTransform:
m_Children:
- {fileID: 813398262}
m_Father: {fileID: 223244498}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -1490,7 +1546,6 @@ RectTransform:
m_Children:
- {fileID: 872630650}
m_Father: {fileID: 510140526}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -1530,7 +1585,6 @@ RectTransform:
- {fileID: 2048677757}
- {fileID: 1277224992}
m_Father: {fileID: 1576044303}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -1621,7 +1675,6 @@ RectTransform:
- {fileID: 644517400}
- {fileID: 1268276255}
m_Father: {fileID: 1787938566}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -1659,7 +1712,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 686958859}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -1739,7 +1791,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 852274059}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -1817,7 +1868,6 @@ RectTransform:
- {fileID: 882795943}
- {fileID: 1217928868}
m_Father: {fileID: 7715267}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -1903,7 +1953,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1173824964}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -1980,7 +2029,6 @@ RectTransform:
m_Children:
- {fileID: 1270311309}
m_Father: {fileID: 602093298}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -2057,7 +2105,6 @@ RectTransform:
- {fileID: 2140338386}
- {fileID: 626187927}
m_Father: {fileID: 339774397}
- m_RootOrder: 13
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -2143,7 +2190,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1828459436}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -2220,7 +2266,6 @@ RectTransform:
m_Children:
- {fileID: 1056271240}
m_Father: {fileID: 14171393}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -2298,7 +2343,6 @@ RectTransform:
- {fileID: 1962014574}
- {fileID: 1579361370}
m_Father: {fileID: 1319847698}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -2387,7 +2431,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 843285085}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -2462,7 +2505,6 @@ RectTransform:
m_Children:
- {fileID: 1996573544}
m_Father: {fileID: 374061189}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -2502,7 +2544,6 @@ RectTransform:
m_Children:
- {fileID: 1923525315}
m_Father: {fileID: 339774397}
- m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -2622,7 +2663,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 863194454}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -2703,7 +2743,6 @@ RectTransform:
- {fileID: 234970562}
- {fileID: 903453368}
m_Father: {fileID: 1406385459}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -2788,7 +2827,6 @@ RectTransform:
m_Children:
- {fileID: 1746119956}
m_Father: {fileID: 1898695513}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -2827,7 +2865,6 @@ RectTransform:
m_Children:
- {fileID: 450042406}
m_Father: {fileID: 935566651}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -2905,7 +2942,6 @@ RectTransform:
m_Children:
- {fileID: 1989386527}
m_Father: {fileID: 1098969285}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -3030,7 +3066,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2010083454}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -3108,7 +3143,6 @@ RectTransform:
m_Children:
- {fileID: 1590279442}
m_Father: {fileID: 554035173}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -3236,7 +3270,6 @@ RectTransform:
- {fileID: 711835144}
- {fileID: 415551389}
m_Father: {fileID: 1703833342}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -3371,13 +3404,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 204388501}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &214960665
GameObject:
@@ -3410,7 +3443,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 601334855}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -3488,7 +3520,6 @@ RectTransform:
- {fileID: 752113543}
- {fileID: 113871306}
m_Father: {fileID: 381534433}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -3578,7 +3609,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 339774397}
- m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -3673,7 +3703,6 @@ RectTransform:
- {fileID: 1599256637}
- {fileID: 1526181868}
m_Father: {fileID: 339774397}
- m_RootOrder: 25
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -3736,7 +3765,6 @@ RectTransform:
m_Children:
- {fileID: 38840220}
m_Father: {fileID: 833614001}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -3775,7 +3803,6 @@ RectTransform:
m_Children:
- {fileID: 545155825}
m_Father: {fileID: 173203093}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -3843,6 +3870,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 241398688}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.2, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
@@ -3850,7 +3878,6 @@ Transform:
m_Children:
- {fileID: 1629460662}
m_Father: {fileID: 0}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &249589404
GameObject:
@@ -3882,7 +3909,6 @@ RectTransform:
m_Children:
- {fileID: 460057938}
m_Father: {fileID: 598796513}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -3920,7 +3946,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 946708614}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -3997,7 +4022,6 @@ RectTransform:
- {fileID: 728784018}
- {fileID: 1590393405}
m_Father: {fileID: 2045956563}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -4085,7 +4109,6 @@ RectTransform:
m_Children:
- {fileID: 1953357896}
m_Father: {fileID: 942857614}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -4175,7 +4198,6 @@ RectTransform:
m_Children:
- {fileID: 800895692}
m_Father: {fileID: 644517400}
- m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -4257,7 +4279,6 @@ RectTransform:
m_Children:
- {fileID: 538196120}
m_Father: {fileID: 1349029167}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -4382,7 +4403,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 644517400}
- m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -4464,7 +4484,6 @@ RectTransform:
- {fileID: 1925934808}
- {fileID: 816781596}
m_Father: {fileID: 791859730}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -4553,7 +4572,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 481145663}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -4629,7 +4647,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1721750349}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -4698,13 +4715,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 322182884}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalPosition: {x: 0, y: -0.001, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &322182886
MonoBehaviour:
@@ -4719,6 +4736,8 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_primitiveType: 4
+ _urpMaterialForGrayscale: {fileID: -876546973899608171, guid: ac58f8c11a130e04ba883a82ae4b78e4,
+ type: 3}
--- !u!1 &325720722
GameObject:
m_ObjectHideFlags: 0
@@ -4749,7 +4768,6 @@ RectTransform:
m_Children:
- {fileID: 1750677704}
m_Father: {fileID: 1972600941}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -4786,7 +4804,6 @@ RectTransform:
m_Children:
- {fileID: 2092455693}
m_Father: {fileID: 534222989}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -4826,7 +4843,6 @@ RectTransform:
- {fileID: 1466506309}
- {fileID: 2116369731}
m_Father: {fileID: 1148579782}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -4914,6 +4930,7 @@ RectTransform:
m_Children:
- {fileID: 1767706907}
- {fileID: 1621794411}
+ - {fileID: 731212245}
- {fileID: 2009818432}
- {fileID: 103723704}
- {fileID: 602093298}
@@ -4957,7 +4974,6 @@ RectTransform:
- {fileID: 910488930}
- {fileID: 1802277722}
m_Father: {fileID: 124675794}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
@@ -5060,7 +5076,6 @@ RectTransform:
- {fileID: 1696512181}
- {fileID: 364098869}
m_Father: {fileID: 1576044303}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -5146,7 +5161,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 343915424}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -5228,7 +5242,6 @@ RectTransform:
m_Children:
- {fileID: 735154497}
m_Father: {fileID: 1888069278}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -5319,7 +5332,6 @@ RectTransform:
- {fileID: 167337276}
- {fileID: 1076276995}
m_Father: {fileID: 1802277722}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -5408,7 +5420,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2139217339}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -5486,7 +5497,6 @@ RectTransform:
- {fileID: 223244498}
- {fileID: 1795020097}
m_Father: {fileID: 339774397}
- m_RootOrder: 39
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -5565,13 +5575,91 @@ RectTransform:
m_Children:
- {fileID: 1600017561}
m_Father: {fileID: 1411757403}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
m_AnchoredPosition: {x: -5, y: 0}
m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
+--- !u!1 &390989030
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 390989031}
+ - component: {fileID: 390989033}
+ - component: {fileID: 390989032}
+ m_Layer: 5
+ m_Name: Label
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &390989031
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 390989030}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 731212245}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 9, y: -0.5}
+ m_SizeDelta: {x: -28, y: -3}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &390989032
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 390989030}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 14
+ m_FontStyle: 0
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 0
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: Use CustomMaterial
+--- !u!222 &390989033
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 390989030}
+ m_CullTransparentMesh: 0
--- !u!1 &396805688
GameObject:
m_ObjectHideFlags: 0
@@ -5603,7 +5691,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 689984384}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -5679,7 +5766,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2092455693}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -5755,7 +5841,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1560225946}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -5839,7 +5924,6 @@ RectTransform:
- {fileID: 444562115}
- {fileID: 882488746}
m_Father: {fileID: 1303882749}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -5976,7 +6060,6 @@ RectTransform:
m_Children:
- {fileID: 855137907}
m_Father: {fileID: 198912629}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -6101,7 +6184,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1602531586}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -6176,7 +6258,6 @@ RectTransform:
m_Children:
- {fileID: 742584037}
m_Father: {fileID: 2075143977}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -6214,7 +6295,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1434602809}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -6294,7 +6374,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1962014574}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -6372,7 +6451,6 @@ RectTransform:
m_Children:
- {fileID: 87189656}
m_Father: {fileID: 339774397}
- m_RootOrder: 18
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -6492,7 +6570,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1858042469}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -6568,7 +6645,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 414501324}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -6682,7 +6758,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 175751363}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -6724,7 +6799,6 @@ RectTransform:
- {fileID: 1629070089}
- {fileID: 1942214804}
m_Father: {fileID: 2008440835}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -6859,7 +6933,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1156139240}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -6937,7 +7010,6 @@ RectTransform:
- {fileID: 2032611299}
- {fileID: 626713160}
m_Father: {fileID: 1777776164}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -7023,7 +7095,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 249589405}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -7098,7 +7169,6 @@ RectTransform:
m_Children:
- {fileID: 726643839}
m_Father: {fileID: 1127229924}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -7138,7 +7208,6 @@ RectTransform:
- {fileID: 2109940128}
- {fileID: 711481365}
m_Father: {fileID: 1953357896}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -7226,7 +7295,6 @@ RectTransform:
- {fileID: 1656501143}
- {fileID: 14171393}
m_Father: {fileID: 339774397}
- m_RootOrder: 24
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -7310,7 +7378,6 @@ RectTransform:
- {fileID: 2112424448}
- {fileID: 1415184325}
m_Father: {fileID: 2008440835}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -7445,7 +7512,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 915924330}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -7525,7 +7591,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1166391799}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -7601,7 +7666,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 644517400}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -7683,7 +7747,6 @@ RectTransform:
m_Children:
- {fileID: 576597304}
m_Father: {fileID: 554035173}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -7774,7 +7837,6 @@ RectTransform:
m_Children:
- {fileID: 116095291}
m_Father: {fileID: 882488746}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -7863,7 +7925,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 949682813}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -7942,7 +8003,6 @@ RectTransform:
m_Children:
- {fileID: 895410680}
m_Father: {fileID: 601334855}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -7979,7 +8039,6 @@ RectTransform:
m_Children:
- {fileID: 10636639}
m_Father: {fileID: 1504467718}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -8018,7 +8077,6 @@ RectTransform:
- {fileID: 2052921329}
- {fileID: 20563309}
m_Father: {fileID: 339774397}
- m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -8104,7 +8162,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 135316326}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -8180,7 +8237,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1526181868}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -8262,7 +8318,6 @@ RectTransform:
m_Children:
- {fileID: 333555628}
m_Father: {fileID: 2130826895}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -8350,7 +8405,6 @@ RectTransform:
m_Children:
- {fileID: 1243145742}
m_Father: {fileID: 303248519}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -8388,7 +8442,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1703833342}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -8464,7 +8517,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 234970562}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -8540,7 +8592,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 607556283}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -8619,7 +8670,6 @@ RectTransform:
- {fileID: 509634213}
- {fileID: 191076651}
m_Father: {fileID: 751454461}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -8725,7 +8775,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 450638987}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -8805,7 +8854,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 872630650}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -8881,7 +8929,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2098715238}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -8957,7 +9004,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1703833342}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -9036,7 +9082,6 @@ RectTransform:
m_Children:
- {fileID: 1335988277}
m_Father: {fileID: 509634213}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -9074,7 +9119,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2010332971}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -9150,7 +9194,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1922159876}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -9230,7 +9273,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 339774397}
- m_RootOrder: 40
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -9310,7 +9352,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1746119956}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -9386,7 +9427,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 339774397}
- m_RootOrder: 19
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -9468,7 +9508,6 @@ RectTransform:
- {fileID: 249589405}
- {fileID: 1740625121}
m_Father: {fileID: 1744144547}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -9559,7 +9598,6 @@ RectTransform:
- {fileID: 1313020800}
- {fileID: 521541571}
m_Father: {fileID: 1406385459}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -9648,7 +9686,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2048677757}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -9725,7 +9762,6 @@ RectTransform:
- {fileID: 154330168}
- {fileID: 1954133885}
m_Father: {fileID: 339774397}
- m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -9813,7 +9849,6 @@ RectTransform:
m_Children:
- {fileID: 1701433222}
m_Father: {fileID: 1555088546}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -9939,7 +9974,6 @@ RectTransform:
m_Children:
- {fileID: 551369782}
m_Father: {fileID: 940334807}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -10016,7 +10050,6 @@ RectTransform:
- {fileID: 890591638}
- {fileID: 1946066665}
m_Father: {fileID: 339774397}
- m_RootOrder: 41
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -10101,7 +10134,6 @@ RectTransform:
m_Children:
- {fileID: 689984384}
m_Father: {fileID: 711835144}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -10139,7 +10171,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 154340882}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -10219,7 +10250,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 457975768}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -10300,7 +10330,6 @@ RectTransform:
- {fileID: 2010083454}
- {fileID: 1081455630}
m_Father: {fileID: 339774397}
- m_RootOrder: 38
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -10386,7 +10415,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1960365487}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -10469,7 +10497,6 @@ RectTransform:
- {fileID: 695127233}
- {fileID: 1110803742}
m_Father: {fileID: 1599256637}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -10577,7 +10604,6 @@ RectTransform:
m_Children:
- {fileID: 744836788}
m_Father: {fileID: 1098969285}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -10666,7 +10692,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1767706907}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -10766,7 +10791,6 @@ RectTransform:
- {fileID: 1199975013}
- {fileID: 76772268}
m_Father: {fileID: 124675794}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -10868,7 +10892,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2098715238}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -10948,7 +10971,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1234483638}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -11024,7 +11046,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 10636639}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -11104,7 +11125,6 @@ RectTransform:
- {fileID: 811506813}
- {fileID: 1162922737}
m_Father: {fileID: 1807114671}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -11241,7 +11261,6 @@ RectTransform:
- {fileID: 1742540672}
- {fileID: 8490298}
m_Father: {fileID: 625277736}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -11327,7 +11346,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 752113543}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -11405,7 +11423,6 @@ RectTransform:
m_Children:
- {fileID: 1777776164}
m_Father: {fileID: 639002549}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -11496,7 +11513,6 @@ RectTransform:
m_Children:
- {fileID: 983782643}
m_Father: {fileID: 339774397}
- m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -11616,7 +11632,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 481145663}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -11698,7 +11713,6 @@ RectTransform:
m_Children:
- {fileID: 625277736}
m_Father: {fileID: 198912629}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -11787,7 +11801,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 949682813}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -11865,7 +11878,6 @@ RectTransform:
m_Children:
- {fileID: 1402401092}
m_Father: {fileID: 2033485868}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -11954,7 +11966,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1313020800}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -12030,7 +12041,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2092455693}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -12106,7 +12116,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 478881839}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -12183,7 +12192,6 @@ RectTransform:
m_Children:
- {fileID: 1261592441}
m_Father: {fileID: 279721864}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -12259,7 +12267,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1593677594}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -12308,6 +12315,92 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 729535554}
m_CullTransparentMesh: 1
+--- !u!1 &731212244
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 731212245}
+ - component: {fileID: 731212246}
+ m_Layer: 5
+ m_Name: UseCustomMaterial
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &731212245
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 731212244}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 89265330}
+ - {fileID: 390989031}
+ m_Father: {fileID: 339774397}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &731212246
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 731212244}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Highlighted
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 89265331}
+ toggleTransition: 1
+ graphic: {fileID: 1421681256}
+ m_Group: {fileID: 0}
+ onValueChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_IsOn: 1
--- !u!1 &731732953
GameObject:
m_ObjectHideFlags: 0
@@ -12338,7 +12431,6 @@ RectTransform:
m_Children:
- {fileID: 863194454}
m_Father: {fileID: 1670936068}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -12376,7 +12468,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1526181868}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -12451,7 +12542,6 @@ RectTransform:
m_Children:
- {fileID: 1593677594}
m_Father: {fileID: 369634816}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -12489,7 +12579,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 420712912}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -12564,7 +12653,6 @@ RectTransform:
m_Children:
- {fileID: 949682813}
m_Father: {fileID: 639604118}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -12606,7 +12694,6 @@ RectTransform:
- {fileID: 1650910145}
- {fileID: 554035173}
m_Father: {fileID: 1540810384}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -12740,7 +12827,6 @@ RectTransform:
m_Children:
- {fileID: 694571458}
m_Father: {fileID: 223244498}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -12779,7 +12865,6 @@ RectTransform:
m_Children:
- {fileID: 1033435914}
m_Father: {fileID: 2005601504}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -12856,7 +12941,6 @@ RectTransform:
m_Children:
- {fileID: 852999695}
m_Father: {fileID: 644517400}
- m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -12937,7 +13021,6 @@ RectTransform:
m_Children:
- {fileID: 310817054}
m_Father: {fileID: 339774397}
- m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -13017,7 +13100,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1701433222}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -13093,7 +13175,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1243327151}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -13169,7 +13250,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1542197602}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -13249,7 +13329,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 284921871}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -13316,13 +13395,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 802105000}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.1, y: 0.1, z: 0.1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &802105005
MonoBehaviour:
@@ -13353,6 +13432,8 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_primitiveType: 0
+ _urpMaterialForGrayscale: {fileID: -876546973899608171, guid: ac58f8c11a130e04ba883a82ae4b78e4,
+ type: 3}
--- !u!1 &806723448
GameObject:
m_ObjectHideFlags: 0
@@ -13385,7 +13466,6 @@ RectTransform:
m_Children:
- {fileID: 1181308132}
m_Father: {fileID: 644517400}
- m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -13465,7 +13545,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 686958859}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -13541,7 +13620,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 113871306}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -13616,7 +13694,6 @@ RectTransform:
m_Children:
- {fileID: 1400862395}
m_Father: {fileID: 310817054}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -13655,7 +13732,6 @@ RectTransform:
m_Children:
- {fileID: 1987265555}
m_Father: {fileID: 1767706907}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -13732,7 +13808,6 @@ RectTransform:
m_Children:
- {fileID: 854014594}
m_Father: {fileID: 644517400}
- m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -13812,7 +13887,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 751454461}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -13894,7 +13968,6 @@ RectTransform:
- {fileID: 229182164}
- {fileID: 1234483638}
m_Father: {fileID: 910488930}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -13987,7 +14060,6 @@ RectTransform:
- {fileID: 1387605946}
- {fileID: 1555088546}
m_Father: {fileID: 1807114671}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -14126,7 +14198,6 @@ RectTransform:
- {fileID: 1123988171}
- {fileID: 1888069278}
m_Father: {fileID: 1303882749}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -14262,7 +14333,6 @@ RectTransform:
m_Children:
- {fileID: 160666665}
m_Father: {fileID: 1795020097}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -14337,7 +14407,6 @@ RectTransform:
m_Children:
- {fileID: 132119680}
m_Father: {fileID: 1358291038}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -14375,7 +14444,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 773923919}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -14455,7 +14523,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 827174941}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -14534,7 +14601,6 @@ RectTransform:
m_Children:
- {fileID: 1630589312}
m_Father: {fileID: 415551389}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -14574,7 +14640,6 @@ RectTransform:
- {fileID: 1424201181}
- {fileID: 172115589}
m_Father: {fileID: 731732954}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -14662,7 +14727,6 @@ RectTransform:
- {fileID: 1955435225}
- {fileID: 1794835520}
m_Father: {fileID: 116095291}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -14748,7 +14812,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 930941173}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -14827,7 +14890,6 @@ RectTransform:
- {fileID: 510140526}
- {fileID: 1310422941}
m_Father: {fileID: 414501324}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -14933,7 +14995,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 135316326}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -15010,7 +15071,6 @@ RectTransform:
m_Children:
- {fileID: 1828459436}
m_Father: {fileID: 339774397}
- m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -15091,7 +15151,6 @@ RectTransform:
m_Children:
- {fileID: 2079398956}
m_Father: {fileID: 619400620}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -15167,7 +15226,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 521541571}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -15246,7 +15304,6 @@ RectTransform:
- {fileID: 1541488692}
- {fileID: 1080118805}
m_Father: {fileID: 1960365487}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -15352,7 +15409,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 66442467}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -15428,7 +15484,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 173203093}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -15509,7 +15564,6 @@ RectTransform:
m_Children:
- {fileID: 833614001}
m_Father: {fileID: 339774397}
- m_RootOrder: 42
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -15589,7 +15643,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1307084561}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -15672,7 +15725,6 @@ RectTransform:
- {fileID: 1599938143}
- {fileID: 485336626}
m_Father: {fileID: 1293065050}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -15758,7 +15810,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 644517400}
- m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -15839,7 +15890,6 @@ RectTransform:
m_Children:
- {fileID: 933018278}
m_Father: {fileID: 644517400}
- m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -15918,7 +15968,6 @@ RectTransform:
m_Children:
- {fileID: 875309253}
m_Father: {fileID: 1156139240}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -15956,7 +16005,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 928757301}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -16037,7 +16085,6 @@ RectTransform:
m_Children:
- {fileID: 1242458543}
m_Father: {fileID: 644517400}
- m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -16166,7 +16213,6 @@ RectTransform:
- {fileID: 175751363}
- {fileID: 1904789319}
m_Father: {fileID: 339774397}
- m_RootOrder: 32
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -16205,7 +16251,6 @@ RectTransform:
- {fileID: 607556283}
- {fileID: 1931997516}
m_Father: {fileID: 1611039006}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -16294,7 +16339,6 @@ RectTransform:
- {fileID: 281475213}
- {fileID: 1419474900}
m_Father: {fileID: 1965462292}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -16399,7 +16443,6 @@ RectTransform:
m_Children:
- {fileID: 263338844}
m_Father: {fileID: 1310422941}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -16439,7 +16482,6 @@ RectTransform:
- {fileID: 713297541}
- {fileID: 513886590}
m_Father: {fileID: 744836788}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -16525,7 +16567,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 704896193}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -16607,7 +16648,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 598796513}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -16683,7 +16723,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1590279442}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -16759,7 +16798,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 17876217}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -16837,7 +16875,6 @@ RectTransform:
m_Children:
- {fileID: 1602531586}
m_Father: {fileID: 1162922737}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -16963,7 +17000,6 @@ RectTransform:
m_Children:
- {fileID: 1476033061}
m_Father: {fileID: 644517400}
- m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -17043,7 +17079,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 484677625}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -17123,7 +17158,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 757800259}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -17199,7 +17233,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1767738854}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -17279,7 +17312,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2052921329}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -17355,7 +17387,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2105159132}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -17435,7 +17466,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 158154218}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -17510,7 +17540,6 @@ RectTransform:
m_Children:
- {fileID: 1600565932}
m_Father: {fileID: 374061189}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -17550,7 +17579,6 @@ RectTransform:
m_Children:
- {fileID: 11656207}
m_Father: {fileID: 895583992}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -17675,7 +17703,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 634488421}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -17755,7 +17782,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 124675794}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -17838,7 +17864,6 @@ RectTransform:
- {fileID: 639604118}
- {fileID: 176057621}
m_Father: {fileID: 2098715238}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -17944,7 +17969,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2085434814}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -18020,7 +18044,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1199975013}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -18100,7 +18123,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 949682813}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -18178,7 +18200,6 @@ RectTransform:
m_Children:
- {fileID: 1706894652}
m_Father: {fileID: 639002549}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -18345,7 +18366,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1636340564}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -18382,7 +18402,6 @@ RectTransform:
m_Children:
- {fileID: 1710765761}
m_Father: {fileID: 1221148532}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -18420,7 +18439,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 842194639}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -18498,7 +18516,6 @@ RectTransform:
- {fileID: 1350900089}
- {fileID: 478881839}
m_Father: {fileID: 1611039006}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -18587,7 +18604,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1791103379}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -18667,7 +18683,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1989386527}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -18742,7 +18757,6 @@ RectTransform:
m_Children:
- {fileID: 334307288}
m_Father: {fileID: 1541488692}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -18772,6 +18786,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1150163684}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
@@ -18779,7 +18794,6 @@ Transform:
m_Children:
- {fileID: 1832097581}
m_Father: {fileID: 0}
- m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1156139239
GameObject:
@@ -18814,7 +18828,6 @@ RectTransform:
- {fileID: 1320395457}
- {fileID: 930941173}
m_Father: {fileID: 1293065050}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -18903,7 +18916,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1584745345}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -18982,7 +18994,6 @@ RectTransform:
- {fileID: 1898695513}
- {fileID: 1000423903}
m_Father: {fileID: 686958859}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -19089,7 +19100,6 @@ RectTransform:
m_Children:
- {fileID: 488934505}
m_Father: {fileID: 1791103379}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -19167,7 +19177,6 @@ RectTransform:
m_Children:
- {fileID: 1541275097}
m_Father: {fileID: 1349029167}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -19255,7 +19264,6 @@ RectTransform:
m_Children:
- {fileID: 1790921499}
m_Father: {fileID: 2075143977}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -19294,7 +19302,6 @@ RectTransform:
m_Children:
- {fileID: 1289294208}
m_Father: {fileID: 644517400}
- m_RootOrder: 13
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -19378,7 +19385,6 @@ RectTransform:
- {fileID: 145356475}
- {fileID: 2033485868}
m_Father: {fileID: 1807114671}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -19513,7 +19519,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 806723449}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -19593,7 +19598,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 62367395}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -19669,7 +19673,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 223244498}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -19745,7 +19748,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1746119956}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -19825,7 +19827,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 14171393}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -19905,7 +19906,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 414501324}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -19987,7 +19987,6 @@ RectTransform:
m_Children:
- {fileID: 7715267}
m_Father: {fileID: 1555088546}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -20077,7 +20076,6 @@ RectTransform:
m_Children:
- {fileID: 1104290797}
m_Father: {fileID: 644517400}
- m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -20157,7 +20155,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1740625121}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -20233,7 +20230,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1579361370}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -20309,7 +20305,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 135316326}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -20391,7 +20386,6 @@ RectTransform:
- {fileID: 1112632636}
- {fileID: 2007464251}
m_Father: {fileID: 1814253213}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -20480,7 +20474,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1994318366}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -20556,7 +20549,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1335988277}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -20637,7 +20629,6 @@ RectTransform:
- {fileID: 1721750349}
- {fileID: 1771172847}
m_Father: {fileID: 1799838944}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -20725,7 +20716,6 @@ RectTransform:
m_Children:
- {fileID: 1655429049}
m_Father: {fileID: 2130826895}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -20850,7 +20840,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1965462292}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -20925,7 +20914,6 @@ RectTransform:
m_Children:
- {fileID: 683608971}
m_Father: {fileID: 833614001}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -20963,7 +20951,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 935554081}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -21043,7 +21030,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 538196120}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -21118,7 +21104,6 @@ RectTransform:
m_Children:
- {fileID: 793751001}
m_Father: {fileID: 1930977439}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -21156,7 +21141,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1655429049}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -21232,7 +21216,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1728528388}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -21312,7 +21295,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1335988277}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -21388,7 +21370,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 728784018}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -21464,7 +21445,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 124675794}
- m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -21544,7 +21524,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 154330168}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -21619,7 +21598,6 @@ RectTransform:
m_Children:
- {fileID: 1645909877}
m_Father: {fileID: 119584739}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -21657,7 +21635,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 119584739}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -21733,7 +21710,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1696512181}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -21809,7 +21785,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1172469239}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -21891,7 +21866,6 @@ RectTransform:
- {fileID: 1156139240}
- {fileID: 915924330}
m_Father: {fileID: 339774397}
- m_RootOrder: 26
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -21971,7 +21945,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2068041823}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -22049,7 +22022,6 @@ RectTransform:
- {fileID: 414501324}
- {fileID: 842194639}
m_Father: {fileID: 339774397}
- m_RootOrder: 27
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -22115,7 +22087,6 @@ RectTransform:
m_Children:
- {fileID: 910859648}
m_Father: {fileID: 339774397}
- m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -22235,7 +22206,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1866921958}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -22313,7 +22283,6 @@ RectTransform:
m_Children:
- {fileID: 946708614}
m_Father: {fileID: 882488746}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -22439,7 +22408,6 @@ RectTransform:
- {fileID: 1866921958}
- {fileID: 1767669911}
m_Father: {fileID: 339774397}
- m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -22524,7 +22492,6 @@ RectTransform:
m_Children:
- {fileID: 721109496}
m_Father: {fileID: 601334855}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -22562,7 +22529,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1706894652}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -22638,7 +22604,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1960365487}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -22716,7 +22681,6 @@ RectTransform:
- {fileID: 158753979}
- {fileID: 1542197602}
m_Father: {fileID: 339774397}
- m_RootOrder: 33
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -22796,7 +22760,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 158753979}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -22871,7 +22834,6 @@ RectTransform:
m_Children:
- {fileID: 2126444939}
m_Father: {fileID: 1156139240}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -22909,7 +22871,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1633219308}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -22991,7 +22952,6 @@ RectTransform:
m_Children:
- {fileID: 1994318366}
m_Father: {fileID: 1415184325}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -23116,7 +23076,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1599938143}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -23194,7 +23153,6 @@ RectTransform:
- {fileID: 1261364630}
- {fileID: 1222946514}
m_Father: {fileID: 576597304}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -23280,7 +23238,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 10636639}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -23363,7 +23320,6 @@ RectTransform:
- {fileID: 1167069878}
- {fileID: 303248519}
m_Father: {fileID: 1526181868}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -23468,7 +23424,6 @@ RectTransform:
m_Children:
- {fileID: 1635278254}
m_Father: {fileID: 1127229924}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -23508,7 +23463,6 @@ RectTransform:
m_Children:
- {fileID: 852274059}
m_Father: {fileID: 1942214804}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -23633,7 +23587,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1965462292}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -23713,7 +23666,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 840333289}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -23789,7 +23741,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 816781596}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -23864,7 +23815,6 @@ RectTransform:
m_Children:
- {fileID: 2139217339}
m_Father: {fileID: 719351290}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -23904,7 +23854,6 @@ RectTransform:
- {fileID: 601334855}
- {fileID: 173203093}
m_Father: {fileID: 339774397}
- m_RootOrder: 37
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -23977,13 +23926,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1407428956}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1407428959
MonoBehaviour:
@@ -24035,7 +23984,6 @@ RectTransform:
- {fileID: 381814974}
- {fileID: 2053682904}
m_Father: {fileID: 2045956563}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -24127,7 +24075,6 @@ RectTransform:
- {fileID: 1670936068}
- {fileID: 1326785923}
m_Father: {fileID: 484677625}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -24235,7 +24182,6 @@ RectTransform:
m_Children:
- {fileID: 2010332971}
m_Father: {fileID: 942857614}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -24329,6 +24275,81 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1419474899}
m_CullTransparentMesh: 1
+--- !u!1 &1421681254
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1421681255}
+ - component: {fileID: 1421681257}
+ - component: {fileID: 1421681256}
+ m_Layer: 5
+ m_Name: Checkmark
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1421681255
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1421681254}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 89265330}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 20, y: 20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1421681256
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1421681254}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &1421681257
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1421681254}
+ m_CullTransparentMesh: 0
--- !u!1 &1424201180
GameObject:
m_ObjectHideFlags: 0
@@ -24360,7 +24381,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 863194454}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -24436,7 +24456,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2139217339}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -24513,7 +24532,6 @@ RectTransform:
m_Children:
- {fileID: 427963461}
m_Father: {fileID: 644517400}
- m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -24593,7 +24611,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 863194454}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -24669,7 +24686,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 334307288}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -24746,7 +24762,6 @@ RectTransform:
- {fileID: 66442467}
- {fileID: 1509646899}
m_Father: {fileID: 2128084624}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -24832,7 +24847,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1007924636}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -24912,7 +24926,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1335988277}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -24988,7 +25001,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1599121847}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -25064,7 +25076,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 334307288}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -25140,7 +25151,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1746119956}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -25218,7 +25228,6 @@ RectTransform:
m_Children:
- {fileID: 521923112}
m_Father: {fileID: 1942214804}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -25307,7 +25316,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1475917289}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -25388,7 +25396,6 @@ RectTransform:
m_Children:
- {fileID: 2055567529}
m_Father: {fileID: 1728528388}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -25464,7 +25471,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 310817054}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -25544,7 +25550,6 @@ RectTransform:
- {fileID: 732960898}
- {fileID: 1349029167}
m_Father: {fileID: 227096861}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -25679,7 +25684,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1560225946}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -25761,7 +25765,6 @@ RectTransform:
- {fileID: 751454461}
- {fileID: 2098715238}
m_Father: {fileID: 339774397}
- m_RootOrder: 31
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -25824,7 +25827,6 @@ RectTransform:
m_Children:
- {fileID: 1707334671}
m_Father: {fileID: 1167069878}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -25864,7 +25866,6 @@ RectTransform:
m_Children:
- {fileID: 1148579782}
m_Father: {fileID: 895583992}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -25954,7 +25955,6 @@ RectTransform:
- {fileID: 2082705448}
- {fileID: 800408307}
m_Father: {fileID: 1319847698}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -26040,7 +26040,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1599256637}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -26119,7 +26118,6 @@ RectTransform:
- {fileID: 1199656768}
- {fileID: 605451825}
m_Father: {fileID: 840333289}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -26225,7 +26223,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 339774397}
- m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -26307,7 +26304,6 @@ RectTransform:
- {fileID: 1661926758}
- {fileID: 1528536096}
m_Father: {fileID: 339774397}
- m_RootOrder: 21
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -26371,7 +26367,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 833614001}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -26449,7 +26444,6 @@ RectTransform:
- {fileID: 119584739}
- {fileID: 343915424}
m_Father: {fileID: 339774397}
- m_RootOrder: 28
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -26528,7 +26522,6 @@ RectTransform:
m_Children:
- {fileID: 1215189689}
m_Father: {fileID: 158753979}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -26566,7 +26559,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2007464251}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -26641,7 +26633,6 @@ RectTransform:
m_Children:
- {fileID: 1162165056}
m_Father: {fileID: 1989303006}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -26678,7 +26669,6 @@ RectTransform:
m_Children:
- {fileID: 995562452}
m_Father: {fileID: 191076651}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -26716,7 +26706,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 279721864}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -26798,7 +26787,6 @@ RectTransform:
- {fileID: 2030607769}
- {fileID: 729535555}
m_Father: {fileID: 735154497}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -26883,7 +26871,6 @@ RectTransform:
m_Children:
- {fileID: 1496639840}
m_Father: {fileID: 1656501143}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -26925,7 +26912,6 @@ RectTransform:
- {fileID: 1545510463}
- {fileID: 639002549}
m_Father: {fileID: 227096861}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -27061,7 +27047,6 @@ RectTransform:
m_Children:
- {fileID: 1335280641}
m_Father: {fileID: 915924330}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -27137,7 +27122,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 381814974}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -27213,7 +27197,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1076276995}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -27288,7 +27271,6 @@ RectTransform:
m_Children:
- {fileID: 417306759}
m_Father: {fileID: 1000423903}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -27326,7 +27308,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2085434814}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -27408,7 +27389,6 @@ RectTransform:
- {fileID: 1127229924}
- {fileID: 940334807}
m_Father: {fileID: 339774397}
- m_RootOrder: 36
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -27488,7 +27468,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 339774397}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -27568,7 +27547,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 450638987}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -27666,13 +27644,21 @@ Camera:
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
- m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
+ m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
+ m_Iso: 200
+ m_ShutterSpeed: 0.005
+ m_Aperture: 16
+ m_FocusDistance: 10
+ m_FocalLength: 50
+ m_BladeCount: 5
+ m_Curvature: {x: 2, y: 11}
+ m_BarrelClipping: 0.25
+ m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
- m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
@@ -27706,13 +27692,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1629460656}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 241398689}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1629460663
MonoBehaviour:
@@ -27744,9 +27730,20 @@ MonoBehaviour:
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
+ m_AllowHDROutput: 1
+ m_UseScreenCoordOverride: 0
+ m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
+ m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
+ m_TaaSettings:
+ m_Quality: 3
+ m_FrameInfluence: 0.1
+ m_JitterScale: 1
+ m_MipBias: 0
+ m_VarianceClampScale: 0.9
+ m_ContrastAdaptiveSharpening: 0
--- !u!1 &1630589311
GameObject:
m_ObjectHideFlags: 0
@@ -27778,7 +27775,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 855137907}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -27855,7 +27851,6 @@ RectTransform:
m_Children:
- {fileID: 1322834810}
m_Father: {fileID: 644517400}
- m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -27935,7 +27930,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1350900089}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -28011,7 +28005,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 11656207}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -28088,7 +28081,6 @@ RectTransform:
m_Children:
- {fileID: 1111491927}
m_Father: {fileID: 644517400}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -28168,7 +28160,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1707334671}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -28248,7 +28239,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1277224992}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -28324,7 +28314,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 751454461}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -28399,7 +28388,6 @@ RectTransform:
m_Children:
- {fileID: 1248612262}
m_Father: {fileID: 1231307570}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -28439,7 +28427,6 @@ RectTransform:
- {fileID: 1599121847}
- {fileID: 17876217}
m_Father: {fileID: 482103440}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -28528,7 +28515,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1560225946}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -28610,7 +28596,6 @@ RectTransform:
m_Children:
- {fileID: 731732954}
m_Father: {fileID: 1415184325}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -28699,7 +28684,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 374061189}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -28775,7 +28759,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2082705448}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -28851,7 +28834,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2053682904}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -28927,7 +28909,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 842194639}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -29008,7 +28989,6 @@ RectTransform:
m_Children:
- {fileID: 1285808486}
m_Father: {fileID: 343915424}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -29083,7 +29063,6 @@ RectTransform:
m_Children:
- {fileID: 792356879}
m_Father: {fileID: 605451825}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -29121,7 +29100,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1656501143}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -29201,7 +29179,6 @@ RectTransform:
- {fileID: 541801436}
- {fileID: 198912629}
m_Father: {fileID: 2008440835}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -29335,7 +29312,6 @@ RectTransform:
m_Children:
- {fileID: 1315068007}
m_Father: {fileID: 1110803742}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -29375,7 +29351,6 @@ RectTransform:
- {fileID: 1865297842}
- {fileID: 1644922228}
m_Father: {fileID: 1541275097}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -29461,7 +29436,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1112632636}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -29537,7 +29511,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1795020097}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -29618,7 +29591,6 @@ RectTransform:
m_Children:
- {fileID: 321588583}
m_Father: {fileID: 1230886581}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -29695,7 +29667,6 @@ RectTransform:
- {fileID: 1519258558}
- {fileID: 1258907231}
m_Father: {fileID: 339774397}
- m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -29780,7 +29751,6 @@ RectTransform:
m_Children:
- {fileID: 1206804860}
m_Father: {fileID: 598796513}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -29818,7 +29788,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 689984384}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -29896,7 +29865,6 @@ RectTransform:
- {fileID: 598796513}
- {fileID: 2005601504}
m_Father: {fileID: 339774397}
- m_RootOrder: 35
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -29978,7 +29946,6 @@ RectTransform:
- {fileID: 595270043}
- {fileID: 1191486037}
m_Father: {fileID: 174564424}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -30064,7 +30031,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 325720723}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0.2}
@@ -30140,7 +30106,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 644517400}
- m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -30220,7 +30185,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1311520909}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -30301,7 +30265,6 @@ RectTransform:
- {fileID: 826167456}
- {fileID: 642985708}
m_Father: {fileID: 339774397}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -30388,7 +30351,6 @@ RectTransform:
- {fileID: 62367395}
- {fileID: 1037763549}
m_Father: {fileID: 339774397}
- m_RootOrder: 20
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -30474,7 +30436,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1230886581}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -30553,7 +30514,6 @@ RectTransform:
m_Children:
- {fileID: 457975768}
m_Father: {fileID: 695127233}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -30637,7 +30597,9 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
+ m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -30655,7 +30617,6 @@ RectTransform:
m_Children:
- {fileID: 124675794}
m_Father: {fileID: 0}
- m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -30677,6 +30638,15 @@ MonoBehaviour:
Root: {fileID: 124675793}
m_version: {fileID: 1268276256}
m_faceCamera: {fileID: 1150163685}
+ m_pbrOpaqueMaterial: {fileID: -876546973899608171, guid: ac58f8c11a130e04ba883a82ae4b78e4,
+ type: 3}
+ m_pbrAlphaBlendMaterial: {fileID: -876546973899608171, guid: 868190a58757d6242bb3ca456402f82f,
+ type: 3}
+ m_mtoonMaterialOpaque: {fileID: -876546973899608171, guid: fd08e80eb7e04e849b8a6d534e48efea,
+ type: 3}
+ m_mtoonMaterialAlphaBlend: {fileID: -876546973899608171, guid: 6b60fe85d745eda4281e3278fcb0657c,
+ type: 3}
+ m_useCustomMaterial: {fileID: 731212246}
m_openModel: {fileID: 2009818433}
m_openMotion: {fileID: 168425996}
m_pastePose: {fileID: 1307084564}
@@ -30825,7 +30795,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1168549702}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -30902,7 +30871,6 @@ RectTransform:
- {fileID: 1166391799}
- {fileID: 1140410864}
m_Father: {fileID: 339774397}
- m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -30988,7 +30956,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 872630650}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -31069,7 +31036,6 @@ RectTransform:
- {fileID: 843285085}
- {fileID: 1719083394}
m_Father: {fileID: 381534433}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -31155,7 +31121,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1411757403}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -31233,7 +31198,6 @@ RectTransform:
- {fileID: 2075143977}
- {fileID: 1230886581}
m_Father: {fileID: 339774397}
- m_RootOrder: 34
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -31314,7 +31278,6 @@ RectTransform:
m_Children:
- {fileID: 374061189}
m_Father: {fileID: 339774397}
- m_RootOrder: 43
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -31396,7 +31359,6 @@ RectTransform:
- {fileID: 1173824964}
- {fileID: 840333289}
m_Father: {fileID: 339774397}
- m_RootOrder: 29
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -31461,7 +31423,6 @@ RectTransform:
m_Children:
- {fileID: 1221148532}
m_Father: {fileID: 339774397}
- m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -31541,7 +31502,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1173824964}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -31623,7 +31583,6 @@ RectTransform:
- {fileID: 2063799833}
- {fileID: 2068041823}
m_Father: {fileID: 890305230}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -31729,9 +31688,20 @@ MonoBehaviour:
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
+ m_AllowHDROutput: 1
+ m_UseScreenCoordOverride: 0
+ m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
+ m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
+ m_TaaSettings:
+ m_Quality: 3
+ m_FrameInfluence: 0.1
+ m_JitterScale: 1
+ m_MipBias: 0
+ m_VarianceClampScale: 0.9
+ m_ContrastAdaptiveSharpening: 0
--- !u!20 &1832097580
Camera:
m_ObjectHideFlags: 0
@@ -31746,9 +31716,17 @@ Camera:
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
+ m_Iso: 200
+ m_ShutterSpeed: 0.005
+ m_Aperture: 16
+ m_FocusDistance: 10
+ m_FocalLength: 50
+ m_BladeCount: 5
+ m_Curvature: {x: 2, y: 11}
+ m_BarrelClipping: 0.25
+ m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
- m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
@@ -31782,13 +31760,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1832097577}
+ serializedVersion: 2
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1150163685}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!1 &1853846083
GameObject:
@@ -31821,7 +31799,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1707334671}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -31896,7 +31873,6 @@ RectTransform:
m_Children:
- {fileID: 439508968}
m_Father: {fileID: 1989303006}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -31934,7 +31910,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1593677594}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -32010,7 +31985,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1707334671}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -32087,7 +32061,6 @@ RectTransform:
m_Children:
- {fileID: 1307737655}
m_Father: {fileID: 1311520909}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -32163,7 +32136,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2063799833}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -32242,7 +32214,6 @@ RectTransform:
- {fileID: 369634816}
- {fileID: 1930977439}
m_Father: {fileID: 842194639}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -32350,7 +32321,6 @@ RectTransform:
m_Children:
- {fileID: 174564424}
m_Father: {fileID: 1162922737}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -32439,7 +32409,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 935566651}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -32520,7 +32489,6 @@ RectTransform:
m_Children:
- {fileID: 587234269}
m_Father: {fileID: 644517400}
- m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -32600,7 +32568,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 168425995}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -32681,7 +32648,6 @@ RectTransform:
m_Children:
- {fileID: 2124827620}
m_Father: {fileID: 310817054}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -32721,7 +32687,6 @@ RectTransform:
m_Children:
- {fileID: 1243327151}
m_Father: {fileID: 1888069278}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -32846,7 +32811,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 940334807}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -32929,7 +32893,6 @@ RectTransform:
- {fileID: 1504467718}
- {fileID: 1358291038}
m_Father: {fileID: 450638987}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -33035,7 +32998,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 619400620}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -33115,7 +33077,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2139217339}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -33194,7 +33155,6 @@ RectTransform:
m_Children:
- {fileID: 481145663}
m_Father: {fileID: 281475213}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -33232,7 +33192,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 602093298}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -33312,7 +33271,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 872630650}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -33392,7 +33350,6 @@ RectTransform:
- {fileID: 1317614636}
- {fileID: 895583992}
m_Father: {fileID: 1303882749}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -33527,7 +33484,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2005601504}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -33606,7 +33562,6 @@ RectTransform:
m_Children:
- {fileID: 429637678}
m_Father: {fileID: 158753979}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -33644,7 +33599,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2009818432}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -33730,7 +33684,6 @@ RectTransform:
- {fileID: 1232584183}
- {fileID: 942857614}
m_Father: {fileID: 1540810384}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -33865,7 +33818,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 457975768}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -33943,7 +33895,6 @@ RectTransform:
m_Children:
- {fileID: 325720723}
m_Father: {fileID: 2033485868}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -34068,7 +34019,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 826167456}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -34146,7 +34096,6 @@ RectTransform:
- {fileID: 1858042469}
- {fileID: 1584745345}
m_Father: {fileID: 2128084624}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -34234,7 +34183,6 @@ RectTransform:
m_Children:
- {fileID: 1144919545}
m_Father: {fileID: 176057621}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -34271,7 +34219,6 @@ RectTransform:
m_Children:
- {fileID: 1221776814}
m_Father: {fileID: 1326785923}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -34309,7 +34256,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 167337276}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -34386,7 +34332,6 @@ RectTransform:
- {fileID: 757800259}
- {fileID: 1961712950}
m_Father: {fileID: 1744144547}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -34471,7 +34416,6 @@ RectTransform:
m_Children:
- {fileID: 1580403198}
m_Father: {fileID: 1221148532}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -34511,7 +34455,6 @@ RectTransform:
- {fileID: 450638987}
- {fileID: 484677625}
m_Father: {fileID: 339774397}
- m_RootOrder: 23
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -34577,7 +34520,6 @@ RectTransform:
m_Children:
- {fileID: 1963417399}
m_Father: {fileID: 339774397}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -34698,7 +34640,6 @@ RectTransform:
m_Children:
- {fileID: 188310739}
m_Father: {fileID: 634488421}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -34773,7 +34714,6 @@ RectTransform:
m_Children:
- {fileID: 578728007}
m_Father: {fileID: 1419474900}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -34811,7 +34751,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1593677594}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -34887,7 +34826,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 457975768}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -34966,7 +34904,6 @@ RectTransform:
- {fileID: 719351290}
- {fileID: 1972600941}
m_Father: {fileID: 1173824964}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -35074,7 +35011,6 @@ RectTransform:
- {fileID: 1411757403}
- {fileID: 279721864}
m_Father: {fileID: 339774397}
- m_RootOrder: 30
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -35153,7 +35089,6 @@ RectTransform:
m_Children:
- {fileID: 601828019}
m_Father: {fileID: 119584739}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -35192,7 +35127,6 @@ RectTransform:
m_Children:
- {fileID: 1039332176}
m_Father: {fileID: 522109224}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -35267,7 +35201,6 @@ RectTransform:
m_Children:
- {fileID: 1693655320}
m_Father: {fileID: 1411757403}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -35305,7 +35238,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1519258558}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -35380,7 +35312,6 @@ RectTransform:
m_Children:
- {fileID: 1872368843}
m_Father: {fileID: 1828459436}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -35417,7 +35348,6 @@ RectTransform:
m_Children:
- {fileID: 1299708886}
m_Father: {fileID: 1828459436}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -35457,7 +35387,6 @@ RectTransform:
- {fileID: 1168549702}
- {fileID: 420712912}
m_Father: {fileID: 1799838944}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@@ -35546,7 +35475,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 890591638}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -35623,7 +35551,6 @@ RectTransform:
m_Children:
- {fileID: 1681799776}
m_Father: {fileID: 1542197602}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -35703,7 +35630,6 @@ RectTransform:
- {fileID: 1103097430}
- {fileID: 2130826895}
m_Father: {fileID: 227096861}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -35840,7 +35766,6 @@ RectTransform:
- {fileID: 721745869}
- {fileID: 62751098}
m_Father: {fileID: 333555628}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -35930,7 +35855,6 @@ RectTransform:
- {fileID: 568889963}
- {fileID: 1098969285}
m_Father: {fileID: 1540810384}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -36066,7 +35990,6 @@ RectTransform:
m_Children:
- {fileID: 1045380262}
m_Father: {fileID: 644517400}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -36146,7 +36069,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 481145663}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@@ -36222,7 +36144,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 484677625}
- m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -36298,7 +36219,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 334307288}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -36378,7 +36298,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2140338386}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@@ -36454,7 +36373,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1925934808}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -36530,7 +36448,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2075143977}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
@@ -36606,7 +36523,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1320395457}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -36684,7 +36600,6 @@ RectTransform:
- {fileID: 1989303006}
- {fileID: 1475917289}
m_Father: {fileID: 339774397}
- m_RootOrder: 22
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -36767,7 +36682,6 @@ RectTransform:
- {fileID: 534222989}
- {fileID: 1231307570}
m_Father: {fileID: 2085434814}
- m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@@ -36873,7 +36787,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 840333289}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -36955,7 +36868,6 @@ RectTransform:
- {fileID: 1426424130}
- {fileID: 1950023682}
m_Father: {fileID: 1402401092}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@@ -37042,7 +36954,6 @@ RectTransform:
m_Children:
- {fileID: 2124505810}
m_Father: {fileID: 154340882}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@@ -37174,13 +37085,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2141451816}
+ serializedVersion: 2
m_LocalRotation: {x: -0.109381616, y: -0.8754262, z: 0.40821788, w: -0.23456965}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 50, y: -210, z: 0}
--- !u!114 &2141451819
MonoBehaviour:
@@ -37194,14 +37105,17 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_Version: 1
+ m_Version: 3
m_UsePipelineSettings: 1
m_AdditionalLightsShadowResolutionTier: 2
m_LightLayerMask: 1
+ m_RenderingLayers: 1
m_CustomShadowLayers: 0
m_ShadowLayerMask: 1
+ m_ShadowRenderingLayers: 1
m_LightCookieSize: {x: 1, y: 1}
m_LightCookieOffset: {x: 0, y: 0}
+ m_SoftShadowQuality: 1
--- !u!1 &2141892094
GameObject:
m_ObjectHideFlags: 0
@@ -37233,7 +37147,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 10636639}
- m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -37278,3 +37191,15 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2141892094}
m_CullTransparentMesh: 1
+--- !u!1660057539 &9223372036854775807
+SceneRoots:
+ m_ObjectHideFlags: 0
+ m_Roots:
+ - {fileID: 241398689}
+ - {fileID: 322182885}
+ - {fileID: 802105004}
+ - {fileID: 2141451818}
+ - {fileID: 1787938566}
+ - {fileID: 204388504}
+ - {fileID: 1407428958}
+ - {fileID: 1150163685}
diff --git a/Assets/VRM10/Samples~/VRM10Viewer/VRM10ViewerUI.cs b/Assets/VRM10/Samples~/VRM10Viewer/VRM10ViewerUI.cs
index 5dbc28055..c6e7bd2f9 100644
--- a/Assets/VRM10/Samples~/VRM10Viewer/VRM10ViewerUI.cs
+++ b/Assets/VRM10/Samples~/VRM10Viewer/VRM10ViewerUI.cs
@@ -1,8 +1,11 @@
using System;
+using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
+using System.Runtime.InteropServices;
using System.Threading;
+using System.Threading.Tasks;
using UniGLTF;
using UniGLTF.SpringBoneJobs.Blittables;
using UnityEngine;
@@ -19,7 +22,20 @@ namespace UniVRM10.VRM10Viewer
[SerializeField]
Transform m_faceCamera = default;
+ [Header("Material")]
+ [SerializeField]
+ Material m_pbrOpaqueMaterial = default;
+ [SerializeField]
+ Material m_pbrAlphaBlendMaterial = default;
+ [SerializeField]
+ Material m_mtoonMaterialOpaque = default;
+ [SerializeField]
+ Material m_mtoonMaterialAlphaBlend = default;
+
[Header("UI")]
+ [SerializeField]
+ Toggle m_useCustomMaterial = default;
+
[SerializeField]
Button m_openModel = default;
@@ -362,6 +378,7 @@ namespace UniVRM10.VRM10Viewer
{
var map = new ObjectMap(gameObject);
Root = map.Objects["Root"];
+ m_useCustomMaterial = map.Get("CustomMaterial");
m_openModel = map.Get