mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-12-04 17:20:44 +01:00
AnimatorSystems test.
P4 sync: - LOD testing. - AnimatorSystems test setup. - AnimationTime and AnimationIndex per mesh. - Vector encoding/decoding.
This commit is contained in:
parent
7c5e5ee0bb
commit
b63ee2ff02
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,7 @@
|
|||||||
|
# P4 ignore
|
||||||
|
*.p4ignore
|
||||||
|
|
||||||
|
# Unity ignore
|
||||||
[Ll]ibrary/
|
[Ll]ibrary/
|
||||||
[Tt]emp/
|
[Tt]emp/
|
||||||
[Oo]bj/
|
[Oo]bj/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
namespace tech_art_outsource.vertex_animation.Editor
|
namespace TAO.VertexAnimation.Editor
|
||||||
{
|
{
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "tech_art_outsource.vertex_animation.Editor",
|
"name": "TAO.VertexAnimation.Editor",
|
||||||
"references": [
|
"references": [
|
||||||
"tech_art_outsource.vertex_animation"
|
"tech_art_outsource.vertex_animation"
|
||||||
],
|
],
|
||||||
@ -12,5 +12,6 @@
|
|||||||
"precompiledReferences": [],
|
"precompiledReferences": [],
|
||||||
"autoReferenced": true,
|
"autoReferenced": true,
|
||||||
"defineConstraints": [],
|
"defineConstraints": [],
|
||||||
"versionDefines": []
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace tech_art_outsource.vertex_animation
|
namespace TAO.VertexAnimation
|
||||||
{
|
{
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 559649aeb9735c94d8ad2186111a080f
|
guid: 0cb5d112db9529a4c9ae075291729515
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
53
Runtime/Scripts/VA_AnimatorComponentAuthoring.cs
Normal file
53
Runtime/Scripts/VA_AnimatorComponentAuthoring.cs
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
using Unity.Entities;
|
||||||
|
using Unity.Transforms;
|
||||||
|
using Unity.Collections;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace TAO.VertexAnimation
|
||||||
|
{
|
||||||
|
[DisallowMultipleComponent]
|
||||||
|
public class VA_AnimatorComponentAuthoring : MonoBehaviour
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//[GenerateAuthoringComponent]
|
||||||
|
public struct VA_AnimatorComponent : IComponentData
|
||||||
|
{
|
||||||
|
public int animationIndex;
|
||||||
|
public int animationIndexSchedule;
|
||||||
|
public float animationTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class VA_AnimatorConversionSystem : GameObjectConversionSystem
|
||||||
|
{
|
||||||
|
protected override void OnUpdate()
|
||||||
|
{
|
||||||
|
Entities.ForEach((VA_AnimatorComponentAuthoring animator) =>
|
||||||
|
{
|
||||||
|
Entity entity = GetPrimaryEntity(animator);
|
||||||
|
|
||||||
|
// Add animator to 'parent'.
|
||||||
|
VA_AnimatorComponent animatorComponent = new VA_AnimatorComponent
|
||||||
|
{
|
||||||
|
animationIndex = 0,
|
||||||
|
animationIndexSchedule = -1,
|
||||||
|
animationTime = 0,
|
||||||
|
};
|
||||||
|
DstEntityManager.AddComponentData(entity, animatorComponent);
|
||||||
|
|
||||||
|
// Add the Material data to the children.
|
||||||
|
var children = animator.GetComponentsInChildren<MeshRenderer>();
|
||||||
|
for (int i = 0; i < children.Length; i++)
|
||||||
|
{
|
||||||
|
Entity ent = GetPrimaryEntity(children[i]);
|
||||||
|
|
||||||
|
VA_AnimationIndexComponent animationIndex = new VA_AnimationIndexComponent { Value = 0 };
|
||||||
|
DstEntityManager.AddComponentData(ent, animationIndex);
|
||||||
|
VA_AnimationTimeComponent animationTime = new VA_AnimationTimeComponent { Value = 0 };
|
||||||
|
DstEntityManager.AddComponentData(ent, animationTime);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: e0cb46ae92466054da17b75956297486
|
guid: 29deecb09ead9e74aa32f9d265f1e7ef
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
136
Runtime/Scripts/VA_AnimatorSystem.cs
Normal file
136
Runtime/Scripts/VA_AnimatorSystem.cs
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
using Unity.Collections;
|
||||||
|
using Unity.Entities;
|
||||||
|
using Unity.Rendering;
|
||||||
|
using Unity.Transforms;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace TAO.VertexAnimation
|
||||||
|
{
|
||||||
|
//public class VA_AnimatorSystem : SystemBase
|
||||||
|
//{
|
||||||
|
// private EndSimulationEntityCommandBufferSystem endSimulationEntityCommandBufferSystem;
|
||||||
|
|
||||||
|
// protected override void OnCreate()
|
||||||
|
// {
|
||||||
|
// base.OnCreate();
|
||||||
|
|
||||||
|
// endSimulationEntityCommandBufferSystem = World.GetExistingSystem<EndSimulationEntityCommandBufferSystem>();
|
||||||
|
// }
|
||||||
|
|
||||||
|
// protected override void OnUpdate()
|
||||||
|
// {
|
||||||
|
// var ecb = endSimulationEntityCommandBufferSystem.CreateCommandBuffer().AsParallelWriter();
|
||||||
|
|
||||||
|
// Entities.ForEach((Entity entity, int entityInQueryIndex, in VA_AnimatorComponent ac, in DynamicBuffer<Child> children) =>
|
||||||
|
// {
|
||||||
|
// for (int i = 0; i < children.Length; i++)
|
||||||
|
// {
|
||||||
|
// // Get child.
|
||||||
|
// Entity child = children[i].Value;
|
||||||
|
|
||||||
|
// // Overwrite existing component.
|
||||||
|
// ecb.AddComponent(entityInQueryIndex, child, new VA_AnimationTimeComponent { Value = ac.animationTime });
|
||||||
|
// ecb.AddComponent(entityInQueryIndex, child, new VA_AnimationIndexComponent { Value = ac.animationIndex });
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
// .ScheduleParallel();
|
||||||
|
|
||||||
|
// endSimulationEntityCommandBufferSystem.AddJobHandleForProducer(Dependency);
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
|
//[UpdateBefore(typeof(HybridRendererSystem))]
|
||||||
|
public class VA_AnimatorSystem : SystemBase
|
||||||
|
{
|
||||||
|
protected override void OnUpdate()
|
||||||
|
{
|
||||||
|
var atc = GetComponentDataFromEntity<VA_AnimationTimeComponent>(false);
|
||||||
|
var aic = GetComponentDataFromEntity<VA_AnimationIndexComponent>(false);
|
||||||
|
|
||||||
|
Entities.ForEach((ref VA_AnimatorComponent ac, in DynamicBuffer<Child> children) =>
|
||||||
|
{
|
||||||
|
for (int i = 0; i < children.Length; i++)
|
||||||
|
{
|
||||||
|
// Get child.
|
||||||
|
Entity child = children[i].Value;
|
||||||
|
|
||||||
|
// Get a copy of the time Component of the child.
|
||||||
|
VA_AnimationTimeComponent atcCopy = atc[child];
|
||||||
|
// Set new value.
|
||||||
|
atcCopy.Value = ac.animationTime;
|
||||||
|
// Update original.
|
||||||
|
atc[child] = atcCopy;
|
||||||
|
|
||||||
|
VA_AnimationIndexComponent aicCopy = aic[child];
|
||||||
|
aicCopy.Value = ac.animationIndex;
|
||||||
|
aic[child] = aicCopy;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.Run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class VA_AnimatorSystem2 : SystemBase
|
||||||
|
{
|
||||||
|
protected override void OnCreate()
|
||||||
|
{
|
||||||
|
base.OnCreate();
|
||||||
|
|
||||||
|
Enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnUpdate()
|
||||||
|
{
|
||||||
|
Entities.ForEach((ref VA_AnimatorComponent ac, in DynamicBuffer<Child> children) =>
|
||||||
|
{
|
||||||
|
for (int i = 0; i < children.Length; i++)
|
||||||
|
{
|
||||||
|
// Get child.
|
||||||
|
Entity child = children[i].Value;
|
||||||
|
|
||||||
|
//if(HasComponent<VA_AnimationTimeComponent>(child))
|
||||||
|
//{
|
||||||
|
var atc = GetComponent<VA_AnimationTimeComponent>(child);
|
||||||
|
atc.Value = ac.animationTime;
|
||||||
|
SetComponent(child, atc);
|
||||||
|
//}
|
||||||
|
|
||||||
|
//if(HasComponent<VA_AnimationIndexComponent>(child))
|
||||||
|
//{
|
||||||
|
var aic = GetComponent<VA_AnimationIndexComponent>(child);
|
||||||
|
aic.Value = ac.animationIndex;
|
||||||
|
SetComponent(child, aic);
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.Run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[UpdateBefore(typeof(VA_AnimatorSystem))]
|
||||||
|
public class VA_AnimationTimeSystem : SystemBase
|
||||||
|
{
|
||||||
|
protected override void OnUpdate()
|
||||||
|
{
|
||||||
|
float time = UnityEngine.Time.deltaTime;
|
||||||
|
|
||||||
|
Entities.ForEach((ref VA_AnimatorComponent ac) =>
|
||||||
|
{
|
||||||
|
ac.animationTime += time;
|
||||||
|
}).ScheduleParallel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[UpdateBefore(typeof(VA_AnimatorSystem))]
|
||||||
|
public class VA_AnimationIndexSystem : SystemBase
|
||||||
|
{
|
||||||
|
protected override void OnUpdate()
|
||||||
|
{
|
||||||
|
Entities.ForEach((Entity entity, ref VA_AnimatorComponent ac) =>
|
||||||
|
{
|
||||||
|
int index = entity.Index % 2;
|
||||||
|
ac.animationIndex = index;
|
||||||
|
}).ScheduleParallel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
11
Runtime/Scripts/VA_AnimatorSystem.cs.meta
Normal file
11
Runtime/Scripts/VA_AnimatorSystem.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9e392c661a124f746b7a3c7a1f04f72c
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
17
Runtime/Scripts/VA_MaterialComponentData.cs
Normal file
17
Runtime/Scripts/VA_MaterialComponentData.cs
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
using Unity.Entities;
|
||||||
|
using Unity.Rendering;
|
||||||
|
|
||||||
|
namespace TAO.VertexAnimation
|
||||||
|
{
|
||||||
|
[MaterialProperty("_AnimationIndex", MaterialPropertyFormat.Float)]
|
||||||
|
public struct VA_AnimationIndexComponent : IComponentData
|
||||||
|
{
|
||||||
|
public float Value;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MaterialProperty("_AnimationTime", MaterialPropertyFormat.Float)]
|
||||||
|
public struct VA_AnimationTimeComponent : IComponentData
|
||||||
|
{
|
||||||
|
public float Value;
|
||||||
|
}
|
||||||
|
}
|
11
Runtime/Scripts/VA_MaterialComponentData.cs.meta
Normal file
11
Runtime/Scripts/VA_MaterialComponentData.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8a25e66c24d9e3b4da1013acc6710f5f
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -1,57 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace tech_art_outsource.vertex_animation
|
|
||||||
{
|
|
||||||
public class VA_MaterialSetup : MonoBehaviour
|
|
||||||
{
|
|
||||||
public TextAsset m_animationJson = null;
|
|
||||||
[HideInInspector]
|
|
||||||
public AnimationData m_animationData = null;
|
|
||||||
|
|
||||||
private Material m_material = null;
|
|
||||||
|
|
||||||
// Start is called before the first frame update
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
m_animationData = JsonUtility.FromJson<AnimationData>(m_animationJson.text);
|
|
||||||
|
|
||||||
m_material = GetComponent<MeshRenderer>().material;
|
|
||||||
|
|
||||||
m_material.SetInt("_numOfFrames", int.Parse(m_animationData.vertex_animation_textures1[0]._numOfFrames));
|
|
||||||
m_material.SetFloat("_paddedX", float.Parse(m_animationData.vertex_animation_textures1[0]._paddedX));
|
|
||||||
m_material.SetFloat("_paddedY", float.Parse(m_animationData.vertex_animation_textures1[0]._paddedY));
|
|
||||||
m_material.SetFloat("_pivMax", float.Parse(m_animationData.vertex_animation_textures1[0]._pivMax));
|
|
||||||
m_material.SetFloat("_pivMin", float.Parse(m_animationData.vertex_animation_textures1[0]._pivMin));
|
|
||||||
m_material.SetFloat("_posMax", float.Parse(m_animationData.vertex_animation_textures1[0]._posMax));
|
|
||||||
m_material.SetFloat("_posMin", float.Parse(m_animationData.vertex_animation_textures1[0]._posMin));
|
|
||||||
m_material.SetFloat("_speed", float.Parse(m_animationData.vertex_animation_textures1[0]._speed));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[System.Serializable]
|
|
||||||
public class AnimationData
|
|
||||||
{
|
|
||||||
public AnimData[] vertex_animation_textures1;
|
|
||||||
}
|
|
||||||
|
|
||||||
[System.Serializable]
|
|
||||||
public class AnimData
|
|
||||||
{
|
|
||||||
public string _doubleTex;
|
|
||||||
public string _height;
|
|
||||||
public string _normData;
|
|
||||||
public string _numOfFrames;
|
|
||||||
public string _packNorm;
|
|
||||||
public string _packPscale;
|
|
||||||
public string _paddedX;
|
|
||||||
public string _paddedY;
|
|
||||||
public string _pivMax;
|
|
||||||
public string _pivMin;
|
|
||||||
public string _posMax;
|
|
||||||
public string _posMin;
|
|
||||||
public string _scaleMax;
|
|
||||||
public string _scaleMin;
|
|
||||||
public string _speed;
|
|
||||||
public string _width;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: b283ebaf6cfdbad4c8dc0900b9163c8c
|
guid: 71cfc4c615f0e50419bc8ffd5c89a97c
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: cdd7dbaad258f5046b5f1afb1e2c83dd
|
guid: 41482fd3e78799541bd339d7f8ba30b9
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
12
Runtime/Shaders/HLSL/SampleTexture2DArrayLOD.hlsl
Normal file
12
Runtime/Shaders/HLSL/SampleTexture2DArrayLOD.hlsl
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// References:
|
||||||
|
// https://forum.unity.com/threads/hdrp-shader-graph-hybrid-instanced-instancing-now-working.886063/
|
||||||
|
|
||||||
|
#ifndef SAMPLE_TEXTURE2D_ARRAY_INCLUDED
|
||||||
|
#define SAMPLE_TEXTURE2D_ARRAY_INCLUDED
|
||||||
|
|
||||||
|
void SampleTexture2DArrayLOD_float(Texture2DArray TextureArray, float2 UV, SamplerState Sampler, uint Index, uint LOD, out float4 RGBA)
|
||||||
|
{
|
||||||
|
RGBA = SAMPLE_TEXTURE2D_ARRAY_LOD(TextureArray, Sampler, UV, Index, LOD);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 02d1c270a9fbbbb409ce4b0951c20c65
|
guid: eb87dde6533ca4440aae5a15702ee904
|
||||||
ShaderImporter:
|
ShaderImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
defaultTextures: []
|
defaultTextures: []
|
105
Runtime/Shaders/HLSL/VectorEncodingDecoding.hlsl
Normal file
105
Runtime/Shaders/HLSL/VectorEncodingDecoding.hlsl
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
|
||||||
|
#ifndef VECTOR_ENCODING_DECODING_INCLUDED
|
||||||
|
#define VECTOR_ENCODING_DECODING_INCLUDED
|
||||||
|
|
||||||
|
// Ref: SideFX.
|
||||||
|
void DecodeFloat1ToFloat3_float(float f1, out float3 f3)
|
||||||
|
{
|
||||||
|
//decode float to float2
|
||||||
|
f1 *= 1024;
|
||||||
|
float2 f2;
|
||||||
|
f2.x = floor(f1 / 32.0) / 31.5;
|
||||||
|
f2.y = (f1 - (floor(f1 / 32.0) * 32.0)) / 31.5;
|
||||||
|
|
||||||
|
//decode float2 to float3
|
||||||
|
f2 *= 4;
|
||||||
|
f2 -= 2;
|
||||||
|
float f2dot = dot(f2, f2);
|
||||||
|
f3.xy = sqrt(1 - (f2dot / 4.0)) * f2;
|
||||||
|
f3.z = 1 - (f2dot / 2.0);
|
||||||
|
f3 = clamp(f3, -1.0, 1.0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void EncodeFloat3ToFloat1_float(float3 f3, out float f1)
|
||||||
|
{
|
||||||
|
float z = sqrt(f3.z * 8 + 8);
|
||||||
|
float y = (f3.y / z + 0.5f) * 31;
|
||||||
|
float x = floor((f3.x / z + 0.5f) * 31) * 32;
|
||||||
|
|
||||||
|
float o = (x + y) / 1023;
|
||||||
|
|
||||||
|
f1 = o;
|
||||||
|
|
||||||
|
//float fval1 = f3.x;
|
||||||
|
//float fval2 = f3.y;
|
||||||
|
//float fval3 = f3.z;
|
||||||
|
//float scaled0;
|
||||||
|
//float added0;
|
||||||
|
//float sqrt0;
|
||||||
|
//float div0;
|
||||||
|
//float added1;
|
||||||
|
//float scaled1;
|
||||||
|
//float floor0;
|
||||||
|
//float scaled2;
|
||||||
|
//float div1;
|
||||||
|
//float added2;
|
||||||
|
//float scaled3;
|
||||||
|
//float sum0;
|
||||||
|
//float scaled4;
|
||||||
|
|
||||||
|
//// Code produced by: mulconst1
|
||||||
|
//scaled0 = fval3 * 8;
|
||||||
|
|
||||||
|
//// Code produced by: addconst1
|
||||||
|
//added0 = scaled0 + 8;
|
||||||
|
|
||||||
|
//// Code produced by: sqrt1
|
||||||
|
//sqrt0 = sqrt(added0);
|
||||||
|
|
||||||
|
//// Code produced by: divide1
|
||||||
|
//div0 = fval1 / sqrt0;
|
||||||
|
|
||||||
|
//// Code produced by: addconst2
|
||||||
|
//added1 = div0 + 0.5;
|
||||||
|
|
||||||
|
//// Code produced by: mulconst2
|
||||||
|
//scaled1 = added1 * 31;
|
||||||
|
|
||||||
|
//// Code produced by: floor1
|
||||||
|
//floor0 = floor(scaled1);
|
||||||
|
|
||||||
|
//// Code produced by: mulconst3
|
||||||
|
//scaled2 = floor0 * 32;
|
||||||
|
|
||||||
|
//// Code produced by: divide2
|
||||||
|
//div1 = fval2 / sqrt0;
|
||||||
|
|
||||||
|
//// Code produced by: addconst3
|
||||||
|
//added2 = div1 + 0.5;
|
||||||
|
|
||||||
|
//// Code produced by: mulconst4
|
||||||
|
//scaled3 = added2 * 31;
|
||||||
|
|
||||||
|
//// Code produced by: add1
|
||||||
|
//sum0 = scaled2 + scaled3;
|
||||||
|
|
||||||
|
//// Code produced by: divconst1
|
||||||
|
//scaled4 = sum0 * (1.0 / 1023);
|
||||||
|
|
||||||
|
//f1 = scaled4;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ref:
|
||||||
|
// https://answers.unity.com/questions/733677/cg-shader-float3-to-float-packunpack-functions.html
|
||||||
|
// http://aras-p.info/blog/2009/07/30/encoding-floats-to-rgba-the-final/
|
||||||
|
void Encode2Float3ToFloat1_float(float3 f3, out float f1)
|
||||||
|
{
|
||||||
|
f1 = (dot(round((f3) * 255), float3(65536, 256, 1)));
|
||||||
|
}
|
||||||
|
|
||||||
|
void Decode2Float1ToFloat3_float(float f1, out float3 f3)
|
||||||
|
{
|
||||||
|
f3 = (frac((f1) / float3(16777216, 65536, 256)));
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
9
Runtime/Shaders/HLSL/VectorEncodingDecoding.hlsl.meta
Normal file
9
Runtime/Shaders/HLSL/VectorEncodingDecoding.hlsl.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 02eb5540183369645883b2c6b33144dc
|
||||||
|
ShaderImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
defaultTextures: []
|
||||||
|
nonModifiableTextures: []
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
50
Runtime/Shaders/HLSL/VertexAnimation.hlsl
Normal file
50
Runtime/Shaders/HLSL/VertexAnimation.hlsl
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
|
||||||
|
#ifndef VERTEXANIMATIONUTILS_INCLUDED
|
||||||
|
#define VERTEX_ANIMATION_INCLUDED
|
||||||
|
|
||||||
|
#include "VectorEncodingDecoding.hlsl"
|
||||||
|
#include "SampleTexture2DArrayLOD.hlsl"
|
||||||
|
|
||||||
|
float2 VA_UV_float(float2 uv, int maxFrames, float time)
|
||||||
|
{
|
||||||
|
float2 uvPosition;
|
||||||
|
|
||||||
|
float timeInFrames = frac(time);
|
||||||
|
timeInFrames = ceil(timeInFrames * maxFrames);
|
||||||
|
timeInFrames /= maxFrames;
|
||||||
|
timeInFrames += (1 / maxFrames);
|
||||||
|
|
||||||
|
uvPosition.x = uv.x;
|
||||||
|
uvPosition.y = (1 - (timeInFrames)) + (1 - (1 - uv.y));
|
||||||
|
|
||||||
|
return uvPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VA_float(float2 uv, SamplerState texSampler, Texture2D positionMap, float time, int maxFrames,
|
||||||
|
out float3 outPosition, out float3 outNormal)
|
||||||
|
{
|
||||||
|
float2 uvPosition = VA_UV_float(uv, maxFrames, time);
|
||||||
|
|
||||||
|
// Position.
|
||||||
|
float4 texturePos = positionMap.SampleLevel(texSampler, uvPosition, 0);
|
||||||
|
outPosition = texturePos.xyz;
|
||||||
|
|
||||||
|
// Normal.
|
||||||
|
DecodeFloat1ToFloat3_float(texturePos.w, outNormal);
|
||||||
|
}
|
||||||
|
|
||||||
|
void VA_ARRAY_float(float2 uv, SamplerState texSampler, Texture2DArray positionMap, float positionMapIndex, float time, int maxFrames,
|
||||||
|
out float3 outPosition, out float3 outNormal)
|
||||||
|
{
|
||||||
|
float2 uvPosition = VA_UV_float(uv, maxFrames, time);
|
||||||
|
|
||||||
|
// Position.
|
||||||
|
float4 texturePos;
|
||||||
|
SampleTexture2DArrayLOD_float(positionMap, uvPosition, texSampler, positionMapIndex, 0, texturePos);
|
||||||
|
outPosition = texturePos.xyz;
|
||||||
|
|
||||||
|
// Normal.
|
||||||
|
DecodeFloat1ToFloat3_float(texturePos.w, outNormal);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
9
Runtime/Shaders/HLSL/VertexAnimation.hlsl.meta
Normal file
9
Runtime/Shaders/HLSL/VertexAnimation.hlsl.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a1250bb4cf9f61147bba30a99144d8f2
|
||||||
|
ShaderImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
defaultTextures: []
|
||||||
|
nonModifiableTextures: []
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -1,23 +0,0 @@
|
|||||||
Copyright (c) 2020
|
|
||||||
Side Effects Software Inc. All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use of in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. Redistributions of source code must retain the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
2. The name of Side Effects Software may not be used to endorse or
|
|
||||||
promote products derived from this software without specific prior
|
|
||||||
written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY SIDE EFFECTS SOFTWARE `AS IS' AND ANY EXPRESS
|
|
||||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
||||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
|
|
||||||
NO EVENT SHALL SIDE EFFECTS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
|
||||||
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
||||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
||||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
|
||||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
File diff suppressed because one or more lines are too long
@ -1,192 +0,0 @@
|
|||||||
float3 VAT_unpackAlpha(float alpha)
|
|
||||||
{
|
|
||||||
//decode float to float2
|
|
||||||
alpha *= 1024;
|
|
||||||
// alpha = 0.8286 * 1024;
|
|
||||||
float2 f2;
|
|
||||||
f2.x = floor(alpha / 32.0) / 31.5;
|
|
||||||
f2.y = (alpha - (floor(alpha / 32.0)*32.0)) / 31.5;
|
|
||||||
|
|
||||||
//decode float2 to float3
|
|
||||||
float3 f3;
|
|
||||||
f2 *= 4;
|
|
||||||
f2 -= 2;
|
|
||||||
float f2dot = dot(f2,f2);
|
|
||||||
f3.xy = sqrt(1 - (f2dot/4.0)) * f2;
|
|
||||||
f3.z = 1 - (f2dot/2.0);
|
|
||||||
f3 = clamp(f3, -1.0, 1.0);
|
|
||||||
return f3;
|
|
||||||
}
|
|
||||||
|
|
||||||
float2 VAT_uvPosition(float2 uvIndex, int numOfFrames, float speed, float time, float2 paddedRatio)
|
|
||||||
{
|
|
||||||
float2 uvPosition;
|
|
||||||
float FPS = 24.0;
|
|
||||||
float FPS_div_Frames = FPS / numOfFrames;
|
|
||||||
float timeInFrames = frac(speed * time);
|
|
||||||
|
|
||||||
timeInFrames = ceil(timeInFrames * numOfFrames);
|
|
||||||
timeInFrames /= numOfFrames;
|
|
||||||
timeInFrames += (1/numOfFrames);
|
|
||||||
|
|
||||||
uvPosition.x = uvIndex.x * paddedRatio.x;
|
|
||||||
uvPosition.y = (1 - (timeInFrames * paddedRatio.y)) + (1 - ((1 - uvIndex.y) * paddedRatio.y));
|
|
||||||
|
|
||||||
return uvPosition;
|
|
||||||
}
|
|
||||||
// Rigid VAT
|
|
||||||
void VAT_Rigid_float(
|
|
||||||
float3 restPosition,
|
|
||||||
float3 restNormal,
|
|
||||||
float3 vertexColor,
|
|
||||||
float2 uvIndex,
|
|
||||||
SamplerState texSampler,
|
|
||||||
Texture2D positionMap,
|
|
||||||
Texture2D rotationMap,
|
|
||||||
float2 positionBounds,
|
|
||||||
float2 pivotBounds,
|
|
||||||
float time,
|
|
||||||
float speed,
|
|
||||||
int numOfFrames,
|
|
||||||
float2 paddedRatio,
|
|
||||||
out float3 outPosition,
|
|
||||||
out float3 outNormal
|
|
||||||
)
|
|
||||||
{
|
|
||||||
float2 uvPosition = VAT_uvPosition(uvIndex, numOfFrames, speed, time, paddedRatio);
|
|
||||||
|
|
||||||
float4 texturePos = positionMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
float4 textureRot = rotationMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
|
|
||||||
texturePos.xyz = lerp(positionBounds.x, positionBounds.y, texturePos.xyz);
|
|
||||||
|
|
||||||
float3 pivot = lerp(pivotBounds.x, pivotBounds.y, vertexColor.xyz);
|
|
||||||
|
|
||||||
float3 atOrigin = restPosition - pivot;
|
|
||||||
|
|
||||||
//calculate rotation
|
|
||||||
textureRot *= 2.0;
|
|
||||||
textureRot -= 1.0;
|
|
||||||
float4 quat = 0;
|
|
||||||
|
|
||||||
quat = textureRot;
|
|
||||||
|
|
||||||
float3 rotated = 2.0 * cross(quat.xyz, cross(quat.xyz, atOrigin) + quat.w * atOrigin);
|
|
||||||
float3 rotatedNormal = restNormal + 2.0 * cross(quat.xyz, cross(quat.xyz, restNormal) + quat.w * restNormal);
|
|
||||||
|
|
||||||
outPosition = atOrigin + rotated + texturePos;
|
|
||||||
outNormal = rotatedNormal;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Soft VAT
|
|
||||||
void VAT_Soft_float(
|
|
||||||
float3 restPosition,
|
|
||||||
float2 uvIndex,
|
|
||||||
SamplerState texSampler,
|
|
||||||
Texture2D positionMap,
|
|
||||||
Texture2D normalMap,
|
|
||||||
Texture2D colorMap,
|
|
||||||
float2 positionBounds,
|
|
||||||
float time,
|
|
||||||
float speed,
|
|
||||||
int numOfFrames,
|
|
||||||
float2 paddedRatio,
|
|
||||||
bool packNorm,
|
|
||||||
out float3 outPosition,
|
|
||||||
out float3 outNormal,
|
|
||||||
out float3 outColor
|
|
||||||
)
|
|
||||||
{
|
|
||||||
float2 uvPosition = VAT_uvPosition(uvIndex, numOfFrames, speed, time, paddedRatio);
|
|
||||||
|
|
||||||
float4 texturePos = positionMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
float4 textureN = normalMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
float4 textureCd = colorMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
|
|
||||||
texturePos.xyz = lerp(positionBounds.x, positionBounds.y, texturePos.xyz);
|
|
||||||
|
|
||||||
//calculate normal
|
|
||||||
if (packNorm){
|
|
||||||
outNormal = VAT_unpackAlpha(texturePos.w);
|
|
||||||
} else {
|
|
||||||
outNormal = textureN * 2 - 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
outPosition = restPosition + texturePos;
|
|
||||||
outColor = textureCd.xyz;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fluid VAT
|
|
||||||
void VAT_Fluid_float(
|
|
||||||
float2 uvIndex,
|
|
||||||
SamplerState texSampler,
|
|
||||||
Texture2D positionMap,
|
|
||||||
Texture2D normalMap,
|
|
||||||
Texture2D colorMap,
|
|
||||||
float2 positionBounds,
|
|
||||||
float time,
|
|
||||||
float speed,
|
|
||||||
int numOfFrames,
|
|
||||||
float2 paddedRatio,
|
|
||||||
bool packNorm,
|
|
||||||
out float3 outPosition,
|
|
||||||
out float3 outNormal,
|
|
||||||
out float3 outColor
|
|
||||||
)
|
|
||||||
{
|
|
||||||
float2 uvPosition = VAT_uvPosition(uvIndex, numOfFrames, speed, time, paddedRatio);
|
|
||||||
|
|
||||||
float4 texturePos = positionMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
float4 textureN = normalMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
float4 textureCd = colorMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
|
|
||||||
texturePos.xyz = lerp(positionBounds.x, positionBounds.y, texturePos.xyz);
|
|
||||||
|
|
||||||
//calculate normal
|
|
||||||
if (packNorm){
|
|
||||||
outNormal = VAT_unpackAlpha(texturePos.w);
|
|
||||||
} else {
|
|
||||||
outNormal = textureN * 2 - 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
outPosition = texturePos;
|
|
||||||
outColor = textureCd.xyz;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sprite VAT
|
|
||||||
void VAT_Sprite_float(
|
|
||||||
float2 uvIndex,
|
|
||||||
float2 uv,
|
|
||||||
SamplerState texSampler,
|
|
||||||
Texture2D positionMap,
|
|
||||||
Texture2D colorMap,
|
|
||||||
float2 positionBounds,
|
|
||||||
float2 widthHeight,
|
|
||||||
float time,
|
|
||||||
float speed,
|
|
||||||
int numOfFrames,
|
|
||||||
float2 paddedRatio,
|
|
||||||
bool packNorm,
|
|
||||||
matrix MV,
|
|
||||||
out float3 outPosition,
|
|
||||||
out float3 outNormal,
|
|
||||||
out float3 outColor
|
|
||||||
)
|
|
||||||
{
|
|
||||||
float2 uvPosition = VAT_uvPosition(uvIndex, numOfFrames, speed, time, paddedRatio);
|
|
||||||
|
|
||||||
float4 texturePos = positionMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
float4 textureCd = colorMap.SampleLevel(texSampler, uvPosition, 0);
|
|
||||||
|
|
||||||
texturePos.xyz = lerp(positionBounds.x, positionBounds.y, texturePos.xyz);
|
|
||||||
|
|
||||||
outNormal = float3(1.0, 0.0, 0.0);
|
|
||||||
|
|
||||||
//create camera facing billboard based on uv coordinates
|
|
||||||
float3 cameraF = float3(0.5 - uv.x, uv.y - 0.5, 0);
|
|
||||||
cameraF *= float3(widthHeight.x, widthHeight.y, 1);
|
|
||||||
cameraF = mul(cameraF, MV);
|
|
||||||
|
|
||||||
outPosition = cameraF + texturePos.xyz;
|
|
||||||
outColor = textureCd.xyz;
|
|
||||||
}
|
|
@ -1,6 +1,7 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 1caf0f5dc0fa19b4a961e254dd6e44ee
|
guid: 29c0dbfa54203f14dbc5e0841fa559ac
|
||||||
TextScriptImporter:
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
296
Runtime/Shaders/SubGraphs/Decode2Vector1ToVector3.shadersubgraph
Normal file
296
Runtime/Shaders/SubGraphs/Decode2Vector1ToVector3.shadersubgraph
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
{
|
||||||
|
"m_SGVersion": 2,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||||
|
"m_ObjectId": "a0f7034d6d504c08acccef904e948ff3",
|
||||||
|
"m_Properties": [
|
||||||
|
{
|
||||||
|
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Keywords": [],
|
||||||
|
"m_Nodes": [
|
||||||
|
{
|
||||||
|
"m_Id": "0472300f65924c669d0c8ef792dbf414"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_GroupDatas": [],
|
||||||
|
"m_StickyNoteDatas": [],
|
||||||
|
"m_Edges": [
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "0472300f65924c669d0c8ef792dbf414"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Path": "Sub Graphs",
|
||||||
|
"m_ConcretePrecision": 0,
|
||||||
|
"m_OutputNode": {
|
||||||
|
"m_Id": "0472300f65924c669d0c8ef792dbf414"
|
||||||
|
},
|
||||||
|
"m_ActiveTargets": []
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
||||||
|
"m_ObjectId": "0472300f65924c669d0c8ef792dbf414",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Output",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -458.0,
|
||||||
|
"y": -2.0,
|
||||||
|
"width": 97.0,
|
||||||
|
"height": 77.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "9d0a22c11f7347cf85910e670a28a7b2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"IsFirstSlotValid": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "121791ffa91b4ae087bcb644cd91a09b",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Vector1",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "206320e6a1984736b1513c9eed70af22",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "vector3",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "vector3",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "2f0e331f581747c9baca83433ff3a875",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "vector1",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "vector1",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "9d0a22c11f7347cf85910e670a28a7b2",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "Vector3",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Vector3",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "c55a8b78e4044bb8be73ef4452e76135",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -803.0,
|
||||||
|
"y": 38.0,
|
||||||
|
"width": 115.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "121791ffa91b4ae087bcb644cd91a09b"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "c7aa86a194644e57b07408803b64ebd7",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "9bf172a7-cce3-4c15-b3c5-10db50121814"
|
||||||
|
},
|
||||||
|
"m_Name": "Vector1",
|
||||||
|
"m_DefaultReferenceName": "Vector1_c7aa86a194644e57b07408803b64ebd7",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"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.CustomFunctionNode",
|
||||||
|
"m_ObjectId": "cb267a7eefa34a2483d8f58018f1bb0c",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Custom Function",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -669.0,
|
||||||
|
"y": -2.0,
|
||||||
|
"width": 181.0,
|
||||||
|
"height": 94.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "2f0e331f581747c9baca83433ff3a875"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "206320e6a1984736b1513c9eed70af22"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": false,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SourceType": 0,
|
||||||
|
"m_FunctionName": "Decode2Float1ToFloat3",
|
||||||
|
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
|
||||||
|
"m_FunctionBody": "Enter function body here..."
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 446663e7b10741549a76b3c09a9554c8
|
guid: 64cf0bab3459e65479c62da5bc7e8a33
|
||||||
ScriptedImporter:
|
ScriptedImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
296
Runtime/Shaders/SubGraphs/DecodeVector1ToVector3.shadersubgraph
Normal file
296
Runtime/Shaders/SubGraphs/DecodeVector1ToVector3.shadersubgraph
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
{
|
||||||
|
"m_SGVersion": 2,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||||
|
"m_ObjectId": "a0f7034d6d504c08acccef904e948ff3",
|
||||||
|
"m_Properties": [
|
||||||
|
{
|
||||||
|
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Keywords": [],
|
||||||
|
"m_Nodes": [
|
||||||
|
{
|
||||||
|
"m_Id": "0472300f65924c669d0c8ef792dbf414"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_GroupDatas": [],
|
||||||
|
"m_StickyNoteDatas": [],
|
||||||
|
"m_Edges": [
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "c55a8b78e4044bb8be73ef4452e76135"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "cb267a7eefa34a2483d8f58018f1bb0c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "0472300f65924c669d0c8ef792dbf414"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Path": "Sub Graphs",
|
||||||
|
"m_ConcretePrecision": 0,
|
||||||
|
"m_OutputNode": {
|
||||||
|
"m_Id": "0472300f65924c669d0c8ef792dbf414"
|
||||||
|
},
|
||||||
|
"m_ActiveTargets": []
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
||||||
|
"m_ObjectId": "0472300f65924c669d0c8ef792dbf414",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Output",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -458.0,
|
||||||
|
"y": -2.0,
|
||||||
|
"width": 97.0,
|
||||||
|
"height": 77.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "9d0a22c11f7347cf85910e670a28a7b2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"IsFirstSlotValid": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "121791ffa91b4ae087bcb644cd91a09b",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Vector1",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "206320e6a1984736b1513c9eed70af22",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "vector3",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "vector3",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "2f0e331f581747c9baca83433ff3a875",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "vector1",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "vector1",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "9d0a22c11f7347cf85910e670a28a7b2",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "Vector3",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Vector3",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "c55a8b78e4044bb8be73ef4452e76135",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -803.0,
|
||||||
|
"y": 38.0,
|
||||||
|
"width": 115.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "121791ffa91b4ae087bcb644cd91a09b"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "c7aa86a194644e57b07408803b64ebd7"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "c7aa86a194644e57b07408803b64ebd7",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "9bf172a7-cce3-4c15-b3c5-10db50121814"
|
||||||
|
},
|
||||||
|
"m_Name": "Vector1",
|
||||||
|
"m_DefaultReferenceName": "Vector1_c7aa86a194644e57b07408803b64ebd7",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"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.CustomFunctionNode",
|
||||||
|
"m_ObjectId": "cb267a7eefa34a2483d8f58018f1bb0c",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Custom Function",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -669.0,
|
||||||
|
"y": -2.0,
|
||||||
|
"width": 181.0,
|
||||||
|
"height": 94.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "2f0e331f581747c9baca83433ff3a875"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "206320e6a1984736b1513c9eed70af22"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": false,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SourceType": 0,
|
||||||
|
"m_FunctionName": "DecodeFloat1ToFloat3",
|
||||||
|
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
|
||||||
|
"m_FunctionBody": "Enter function body here..."
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 2d93b5b652a565a4a9c6583a698f1577
|
guid: 7f3356cfbf53f3741b12d5aa82ff460a
|
||||||
ScriptedImporter:
|
ScriptedImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
296
Runtime/Shaders/SubGraphs/Encode2Vector3ToVector1.shadersubgraph
Normal file
296
Runtime/Shaders/SubGraphs/Encode2Vector3ToVector1.shadersubgraph
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
{
|
||||||
|
"m_SGVersion": 2,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||||
|
"m_ObjectId": "bf747e57d27543eea05553ea33648cbe",
|
||||||
|
"m_Properties": [
|
||||||
|
{
|
||||||
|
"m_Id": "f4f17c3262704090a48f16ca7b479fe2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Keywords": [],
|
||||||
|
"m_Nodes": [
|
||||||
|
{
|
||||||
|
"m_Id": "f4bc27e4e711454b9e1074a9ae7debfc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "0fa848991aa047428743c4057e9d1b7c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "85156a1cafc84b86ac61aec37908a779"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_GroupDatas": [],
|
||||||
|
"m_StickyNoteDatas": [],
|
||||||
|
"m_Edges": [
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "0fa848991aa047428743c4057e9d1b7c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "85156a1cafc84b86ac61aec37908a779"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "85156a1cafc84b86ac61aec37908a779"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "f4bc27e4e711454b9e1074a9ae7debfc"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Path": "Sub Graphs",
|
||||||
|
"m_ConcretePrecision": 0,
|
||||||
|
"m_OutputNode": {
|
||||||
|
"m_Id": "f4bc27e4e711454b9e1074a9ae7debfc"
|
||||||
|
},
|
||||||
|
"m_ActiveTargets": []
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "0fa848991aa047428743c4057e9d1b7c",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -1044.0,
|
||||||
|
"y": 35.000003814697269,
|
||||||
|
"width": 119.00000762939453,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "da67a8cccc5e47829fbfcf50aead1f3e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "f4f17c3262704090a48f16ca7b479fe2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "285ef83ab3394450b82148d63dacc74d",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "Vector1",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Vector1",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "51aaf4c369c042f28efedb410527046a",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "vector3",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "vector3",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
|
||||||
|
"m_ObjectId": "85156a1cafc84b86ac61aec37908a779",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Custom Function",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -870.0,
|
||||||
|
"y": -5.00000524520874,
|
||||||
|
"width": 181.0,
|
||||||
|
"height": 94.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "51aaf4c369c042f28efedb410527046a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "af9842cba20446ec90d8a3d622f30915"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": false,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SourceType": 0,
|
||||||
|
"m_FunctionName": "Encode2Float3ToFloat1",
|
||||||
|
"m_FunctionSource": "02eb5540183369645883b2c6b33144dc",
|
||||||
|
"m_FunctionBody": "Enter function body here..."
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "af9842cba20446ec90d8a3d622f30915",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "vector1",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "vector1",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "da67a8cccc5e47829fbfcf50aead1f3e",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Vector3",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
||||||
|
"m_ObjectId": "f4bc27e4e711454b9e1074a9ae7debfc",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Output",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -661.0,
|
||||||
|
"y": -5.00000524520874,
|
||||||
|
"width": 93.0,
|
||||||
|
"height": 77.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "285ef83ab3394450b82148d63dacc74d"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"IsFirstSlotValid": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
|
||||||
|
"m_ObjectId": "f4f17c3262704090a48f16ca7b479fe2",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "7b9cf9eb-5e6f-4909-bd26-ac9788a9c2b4"
|
||||||
|
},
|
||||||
|
"m_Name": "Vector3",
|
||||||
|
"m_DefaultReferenceName": "Vector3_f4f17c3262704090a48f16ca7b479fe2",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 1.0,
|
||||||
|
"y": 1.0,
|
||||||
|
"z": 1.0,
|
||||||
|
"w": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: e4bbfaf6d1381e34196e697809e23ab2
|
guid: 4e060d9f63bdc144c9b64d247cb2006e
|
||||||
ScriptedImporter:
|
ScriptedImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
2390
Runtime/Shaders/SubGraphs/EncodeVector3ToVector1.shadersubgraph
Normal file
2390
Runtime/Shaders/SubGraphs/EncodeVector3ToVector1.shadersubgraph
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,10 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 724cb4c5ff5f0d24ba62eed1ed67add2
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
|
741
Runtime/Shaders/SubGraphs/SampleTexture2dArrayLOD.shadersubgraph
Normal file
741
Runtime/Shaders/SubGraphs/SampleTexture2dArrayLOD.shadersubgraph
Normal file
@ -0,0 +1,741 @@
|
|||||||
|
{
|
||||||
|
"m_SGVersion": 2,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||||
|
"m_ObjectId": "cbab75119725437aa16a28e453ccbff3",
|
||||||
|
"m_Properties": [
|
||||||
|
{
|
||||||
|
"m_Id": "56de5f3015004a03be4fb3303dacdbc8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "8e06a56cd1e244f197e6c9bd75a8474a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "b0260d3a49914d1db233f511237ebf85"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "67550e6ee3cc4f93917d5f97c2ab01a7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "6c228c0694f148038c732bcc5395679d"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Keywords": [],
|
||||||
|
"m_Nodes": [
|
||||||
|
{
|
||||||
|
"m_Id": "ca7a6f238b7644eaa658f7e33e751520"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "bff190e49a7a40bbbeb3f0cdb4fe3b26"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "5ad050d9f7c64d6cb1562bc8e974de2e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "05c90fb44edf466d87c24596ca3c98f4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "db576b9d628d44ddac846cc571225702"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "6631a119b51441f2ab2322e2ec92a0fe"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_GroupDatas": [],
|
||||||
|
"m_StickyNoteDatas": [],
|
||||||
|
"m_Edges": [
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "05c90fb44edf466d87c24596ca3c98f4"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "ca7a6f238b7644eaa658f7e33e751520"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "5ad050d9f7c64d6cb1562bc8e974de2e"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "6631a119b51441f2ab2322e2ec92a0fe"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "bff190e49a7a40bbbeb3f0cdb4fe3b26"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "db576b9d628d44ddac846cc571225702"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "38f0c7c461ee4a4d8bc6c68c89625cd1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Path": "Sub Graphs",
|
||||||
|
"m_ConcretePrecision": 0,
|
||||||
|
"m_OutputNode": {
|
||||||
|
"m_Id": "ca7a6f238b7644eaa658f7e33e751520"
|
||||||
|
},
|
||||||
|
"m_ActiveTargets": []
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "05c90fb44edf466d87c24596ca3c98f4",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -430.0,
|
||||||
|
"y": 88.0,
|
||||||
|
"width": 155.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "3e4d522c290842969d37626d90937b59"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "b0260d3a49914d1db233f511237ebf85"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "3739175e78cb4b10997f85da1fa4dd08",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Index",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
|
||||||
|
"m_ObjectId": "38f0c7c461ee4a4d8bc6c68c89625cd1",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Custom Function",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -261.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 214.0,
|
||||||
|
"height": 374.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "f0b2f1d1369445a1b8b30901b35c81d7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7bddec395df24cd0b6c3a89aec8e0d0d"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "66a50b21d25741c0a00aea150a2edfba"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7878c1efdd114f6e8fdd93f7ffab3a48"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "5ff96695f49e4d1182cf67a53de68be6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "6cb7d5a539a9483598c17e29f13c9871"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SourceType": 0,
|
||||||
|
"m_FunctionName": "SampleTexture2DArrayLOD",
|
||||||
|
"m_FunctionSource": "eb87dde6533ca4440aae5a15702ee904",
|
||||||
|
"m_FunctionBody": "Enter function body here..."
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
|
||||||
|
"m_ObjectId": "3e4d522c290842969d37626d90937b59",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "SamplerState",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DArrayShaderProperty",
|
||||||
|
"m_ObjectId": "56de5f3015004a03be4fb3303dacdbc8",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "fa470f3b-4f2b-4934-8621-bf38606654cd"
|
||||||
|
},
|
||||||
|
"m_Name": "Texture2D Array",
|
||||||
|
"m_DefaultReferenceName": "Texture2DArray_56de5f3015004a03be4fb3303dacdbc8",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
|
||||||
|
"m_Guid": ""
|
||||||
|
},
|
||||||
|
"m_Modifiable": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "5ad050d9f7c64d6cb1562bc8e974de2e",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -369.0,
|
||||||
|
"y": 64.0,
|
||||||
|
"width": 93.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "87be4a5d04ff4012b150c8d7e9e970f9"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "8e06a56cd1e244f197e6c9bd75a8474a"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "5ff96695f49e4d1182cf67a53de68be6",
|
||||||
|
"m_Id": 4,
|
||||||
|
"m_DisplayName": "Index",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Index",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "6631a119b51441f2ab2322e2ec92a0fe",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -377.0,
|
||||||
|
"y": 136.0,
|
||||||
|
"width": 98.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "d127f4bc74d14171b956d138cacb9893"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "6c228c0694f148038c732bcc5395679d"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
||||||
|
"m_ObjectId": "66a50b21d25741c0a00aea150a2edfba",
|
||||||
|
"m_Id": 2,
|
||||||
|
"m_DisplayName": "UV",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "67550e6ee3cc4f93917d5f97c2ab01a7",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "c9a3f125-3d0c-431a-ad9f-b37a8c9256fd"
|
||||||
|
},
|
||||||
|
"m_Name": "Index",
|
||||||
|
"m_DefaultReferenceName": "Vector1_67550e6ee3cc4f93917d5f97c2ab01a7",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"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.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "6c228c0694f148038c732bcc5395679d",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "0b74a32b-db28-45cd-bc74-0da627317bf3"
|
||||||
|
},
|
||||||
|
"m_Name": "LOD",
|
||||||
|
"m_DefaultReferenceName": "Vector1_6c228c0694f148038c732bcc5395679d",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"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.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "6cb7d5a539a9483598c17e29f13c9871",
|
||||||
|
"m_Id": 5,
|
||||||
|
"m_DisplayName": "LOD",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "LOD",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
|
||||||
|
"m_ObjectId": "7878c1efdd114f6e8fdd93f7ffab3a48",
|
||||||
|
"m_Id": 3,
|
||||||
|
"m_DisplayName": "Sampler",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Sampler",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot",
|
||||||
|
"m_ObjectId": "7bddec395df24cd0b6c3a89aec8e0d0d",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "TextureArray",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "TextureArray",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_TextureArray": {
|
||||||
|
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
|
||||||
|
"m_Guid": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
||||||
|
"m_ObjectId": "87be4a5d04ff4012b150c8d7e9e970f9",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "UV",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [
|
||||||
|
"X",
|
||||||
|
"Y"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
|
||||||
|
"m_ObjectId": "8e06a56cd1e244f197e6c9bd75a8474a",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "3755068c-1d51-4f97-b21f-e0e26e1d01c7"
|
||||||
|
},
|
||||||
|
"m_Name": "UV",
|
||||||
|
"m_DefaultReferenceName": "Vector2_8e06a56cd1e244f197e6c9bd75a8474a",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"w": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SamplerStateShaderProperty",
|
||||||
|
"m_ObjectId": "b0260d3a49914d1db233f511237ebf85",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "ccb5d131-0aaa-4142-ab36-1aa19ba33eff"
|
||||||
|
},
|
||||||
|
"m_Name": "SamplerState",
|
||||||
|
"m_DefaultReferenceName": "",
|
||||||
|
"m_OverrideReferenceName": "SamplerState_Linear_Repeat",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"m_filter": 0,
|
||||||
|
"m_wrap": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Texture2DArrayMaterialSlot",
|
||||||
|
"m_ObjectId": "ba8b8ce0934d473eb1e921e11b4a358f",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Texture2D Array",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "bff190e49a7a40bbbeb3f0cdb4fe3b26",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -452.0,
|
||||||
|
"y": 40.0,
|
||||||
|
"width": 176.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "ba8b8ce0934d473eb1e921e11b4a358f"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "56de5f3015004a03be4fb3303dacdbc8"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
||||||
|
"m_ObjectId": "ca7a6f238b7644eaa658f7e33e751520",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Output",
|
||||||
|
"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": "d2d519a5c5484c799973056f62d350a2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"IsFirstSlotValid": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "d127f4bc74d14171b956d138cacb9893",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "LOD",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
||||||
|
"m_ObjectId": "d2d519a5c5484c799973056f62d350a2",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "Out_Vector4",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "OutVector4",
|
||||||
|
"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": "db576b9d628d44ddac846cc571225702",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -381.0,
|
||||||
|
"y": 112.0,
|
||||||
|
"width": 104.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "3739175e78cb4b10997f85da1fa4dd08"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "67550e6ee3cc4f93917d5f97c2ab01a7"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
||||||
|
"m_ObjectId": "f0b2f1d1369445a1b8b30901b35c81d7",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "RGBA",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "RGBA",
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8bdd750537df760429e237e32827b8d9
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
|
825
Runtime/Shaders/SubGraphs/VA.shadersubgraph
Normal file
825
Runtime/Shaders/SubGraphs/VA.shadersubgraph
Normal file
@ -0,0 +1,825 @@
|
|||||||
|
{
|
||||||
|
"m_SGVersion": 2,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||||
|
"m_ObjectId": "144dcb1a2d15470a91360080bc9bd989",
|
||||||
|
"m_Properties": [
|
||||||
|
{
|
||||||
|
"m_Id": "3564f72314574212a0eed0f9581a6b85"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "975a04061f8d4786bce18d1574108732"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Keywords": [],
|
||||||
|
"m_Nodes": [
|
||||||
|
{
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "5c18cb5e2e0542c2ae766d7de7011cda"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "431f7271c3544d459b5128258fd524ed"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_GroupDatas": [],
|
||||||
|
"m_StickyNoteDatas": [],
|
||||||
|
"m_Edges": [
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "431f7271c3544d459b5128258fd524ed"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "5c18cb5e2e0542c2ae766d7de7011cda"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 9
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 10
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Path": "Sub Graphs",
|
||||||
|
"m_ConcretePrecision": 0,
|
||||||
|
"m_OutputNode": {
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
"m_ActiveTargets": []
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
||||||
|
"m_ObjectId": "031d019a3f114a639fed0a731159883c",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Output",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -108.0,
|
||||||
|
"y": -144.0,
|
||||||
|
"width": 120.0,
|
||||||
|
"height": 77.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "b89a68670a6642e19ae1063415132848"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "07aa60cb707f4623a11536d9507405db"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"IsFirstSlotValid": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "07aa60cb707f4623a11536d9507405db",
|
||||||
|
"m_Id": 2,
|
||||||
|
"m_DisplayName": "Normal",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Normal",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "23a471ed9f794edb8e8bd66a5f65451e",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Time",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
|
||||||
|
"m_ObjectId": "3564f72314574212a0eed0f9581a6b85",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "7a6985bf-76e4-4794-ab89-d013bd6b7c48"
|
||||||
|
},
|
||||||
|
"m_Name": "PositionMap",
|
||||||
|
"m_DefaultReferenceName": "Texture2D_3564f72314574212a0eed0f9581a6b85",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
|
||||||
|
"m_Guid": ""
|
||||||
|
},
|
||||||
|
"m_Modifiable": true,
|
||||||
|
"m_DefaultType": 0
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
|
||||||
|
"m_ObjectId": "3e7d4ea371804f5c9265e859f8e8e08b",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "texSampler",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "texSampler",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "431f7271c3544d459b5128258fd524ed",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -546.0,
|
||||||
|
"y": -32.0,
|
||||||
|
"width": 102.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "23a471ed9f794edb8e8bd66a5f65451e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "46dfe2d873b3436a89d174ac3545bc00",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -544.0,
|
||||||
|
"y": -104.0,
|
||||||
|
"width": 93.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "91fad60529a14d678005224cfbac1b50"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
|
||||||
|
"m_ObjectId": "4820d64a797d4948a129f455b98feed8",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "SamplerState",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "5c18cb5e2e0542c2ae766d7de7011cda",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -594.0,
|
||||||
|
"y": -56.0,
|
||||||
|
"width": 151.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "ffcaa3e5c6a5468c92d6d08c301a6f59"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "3564f72314574212a0eed0f9581a6b85"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
||||||
|
"m_ObjectId": "7dbe167981d2452a8248b6d23432a518",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "uvIndex",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "uvIndex",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [
|
||||||
|
"X",
|
||||||
|
"Y"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "7e4dcba5ce514132a507e6bccc9e3871",
|
||||||
|
"m_Id": 10,
|
||||||
|
"m_DisplayName": "outNormal",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "outNormal",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
|
||||||
|
"m_ObjectId": "83aca69ecbd845e888867dea88a660f1",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Custom Function",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -405.0,
|
||||||
|
"y": -144.0,
|
||||||
|
"width": 237.99998474121095,
|
||||||
|
"height": 494.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "94dc07ad41a445cd8a24fbb7e2ff81aa"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7e4dcba5ce514132a507e6bccc9e3871"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7dbe167981d2452a8248b6d23432a518"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "3e7d4ea371804f5c9265e859f8e8e08b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "cb715a22dd514d2f9ec4045d78f7361b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "c24141b2554f431fbe3223c66bd8f0f0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "ee509cecfe5046ebb88dc4c3ae5e2fed"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SourceType": 0,
|
||||||
|
"m_FunctionName": "VA",
|
||||||
|
"m_FunctionSource": "a1250bb4cf9f61147bba30a99144d8f2",
|
||||||
|
"m_FunctionBody": "Enter function body here..."
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
||||||
|
"m_ObjectId": "91fad60529a14d678005224cfbac1b50",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "UV",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [
|
||||||
|
"X",
|
||||||
|
"Y"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "94dc07ad41a445cd8a24fbb7e2ff81aa",
|
||||||
|
"m_Id": 9,
|
||||||
|
"m_DisplayName": "outPosition",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "outPosition",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "967e0c2bcb6e48c2b85b82c6d4c734a4",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "26e53708-434a-4d58-b8b2-d8fb8005d644"
|
||||||
|
},
|
||||||
|
"m_Name": "MaxFrames",
|
||||||
|
"m_DefaultReferenceName": "Vector1_967e0c2bcb6e48c2b85b82c6d4c734a4",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"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.SamplerStateShaderProperty",
|
||||||
|
"m_ObjectId": "975a04061f8d4786bce18d1574108732",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "374e9a5f-1ef4-43a2-9ff2-6108a1976ab0"
|
||||||
|
},
|
||||||
|
"m_Name": "SamplerState",
|
||||||
|
"m_DefaultReferenceName": "",
|
||||||
|
"m_OverrideReferenceName": "SamplerState_Linear_Repeat",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"m_filter": 0,
|
||||||
|
"m_wrap": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
|
||||||
|
"m_ObjectId": "a09a6ce7e08545d99b5bda70586f4e79",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "96fb959c-8624-4642-9ac6-6b405b5a6dd4"
|
||||||
|
},
|
||||||
|
"m_Name": "UV",
|
||||||
|
"m_DefaultReferenceName": "Vector2_a09a6ce7e08545d99b5bda70586f4e79",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"w": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "b23754f8d4404c9cb59d3879708464ad",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "MaxFrames",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "b89a68670a6642e19ae1063415132848",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "Position",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Position",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "bc36bc83631c44e0b48e951b444ba971",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -576.0,
|
||||||
|
"y": -8.0,
|
||||||
|
"width": 136.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "b23754f8d4404c9cb59d3879708464ad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "c24141b2554f431fbe3223c66bd8f0f0",
|
||||||
|
"m_Id": 4,
|
||||||
|
"m_DisplayName": "time",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "time",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
|
||||||
|
"m_ObjectId": "cb715a22dd514d2f9ec4045d78f7361b",
|
||||||
|
"m_Id": 2,
|
||||||
|
"m_DisplayName": "positionMap",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "positionMap",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Texture": {
|
||||||
|
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
|
||||||
|
"m_Guid": ""
|
||||||
|
},
|
||||||
|
"m_DefaultType": 0
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "ee509cecfe5046ebb88dc4c3ae5e2fed",
|
||||||
|
"m_Id": 6,
|
||||||
|
"m_DisplayName": "maxFrames",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "maxFrames",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "f39a0ab1ea5d4129b8c210c762bed693",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -606.0,
|
||||||
|
"y": -80.0,
|
||||||
|
"width": 155.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "4820d64a797d4948a129f455b98feed8"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "975a04061f8d4786bce18d1574108732"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "f9b649ed28584dca8a522f3fb582f350",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "07478aa4-3d18-4430-bf12-24688db601b8"
|
||||||
|
},
|
||||||
|
"m_Name": "Time",
|
||||||
|
"m_DefaultReferenceName": "Vector1_f9b649ed28584dca8a522f3fb582f350",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"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.Texture2DMaterialSlot",
|
||||||
|
"m_ObjectId": "ffcaa3e5c6a5468c92d6d08c301a6f59",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "PositionMap",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
10
Runtime/Shaders/SubGraphs/VA.shadersubgraph.meta
Normal file
10
Runtime/Shaders/SubGraphs/VA.shadersubgraph.meta
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b89cca7278345864097f8a4dcd77f458
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
|
937
Runtime/Shaders/SubGraphs/VA_ARRAY.shadersubgraph
Normal file
937
Runtime/Shaders/SubGraphs/VA_ARRAY.shadersubgraph
Normal file
@ -0,0 +1,937 @@
|
|||||||
|
{
|
||||||
|
"m_SGVersion": 2,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||||
|
"m_ObjectId": "144dcb1a2d15470a91360080bc9bd989",
|
||||||
|
"m_Properties": [
|
||||||
|
{
|
||||||
|
"m_Id": "c333595616b942739573e272a2bcc553"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "975a04061f8d4786bce18d1574108732"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "cc4eba55004546408c4665cdb22d3111"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Keywords": [],
|
||||||
|
"m_Nodes": [
|
||||||
|
{
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "431f7271c3544d459b5128258fd524ed"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "ec1ce691e5744e479cc8dab24da25012"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "c3ccaba1b3c243c1b485a94bdacdf812"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_GroupDatas": [],
|
||||||
|
"m_StickyNoteDatas": [],
|
||||||
|
"m_Edges": [
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "431f7271c3544d459b5128258fd524ed"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "46dfe2d873b3436a89d174ac3545bc00"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 9
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 10
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
"m_SlotId": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "bc36bc83631c44e0b48e951b444ba971"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "c3ccaba1b3c243c1b485a94bdacdf812"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 11
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "ec1ce691e5744e479cc8dab24da25012"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_OutputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "f39a0ab1ea5d4129b8c210c762bed693"
|
||||||
|
},
|
||||||
|
"m_SlotId": 0
|
||||||
|
},
|
||||||
|
"m_InputSlot": {
|
||||||
|
"m_Node": {
|
||||||
|
"m_Id": "83aca69ecbd845e888867dea88a660f1"
|
||||||
|
},
|
||||||
|
"m_SlotId": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Path": "Sub Graphs",
|
||||||
|
"m_ConcretePrecision": 0,
|
||||||
|
"m_OutputNode": {
|
||||||
|
"m_Id": "031d019a3f114a639fed0a731159883c"
|
||||||
|
},
|
||||||
|
"m_ActiveTargets": []
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
||||||
|
"m_ObjectId": "031d019a3f114a639fed0a731159883c",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Output",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -108.0,
|
||||||
|
"y": -144.0,
|
||||||
|
"width": 120.0,
|
||||||
|
"height": 77.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "b89a68670a6642e19ae1063415132848"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "07aa60cb707f4623a11536d9507405db"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"IsFirstSlotValid": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "07aa60cb707f4623a11536d9507405db",
|
||||||
|
"m_Id": 2,
|
||||||
|
"m_DisplayName": "Normal",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Normal",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "23a471ed9f794edb8e8bd66a5f65451e",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Time",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
|
||||||
|
"m_ObjectId": "3e7d4ea371804f5c9265e859f8e8e08b",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "texSampler",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "texSampler",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "431f7271c3544d459b5128258fd524ed",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -560.0,
|
||||||
|
"y": -8.0,
|
||||||
|
"width": 102.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "23a471ed9f794edb8e8bd66a5f65451e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "f9b649ed28584dca8a522f3fb582f350"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "46dfe2d873b3436a89d174ac3545bc00",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -544.0,
|
||||||
|
"y": -104.0,
|
||||||
|
"width": 93.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "91fad60529a14d678005224cfbac1b50"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "a09a6ce7e08545d99b5bda70586f4e79"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
|
||||||
|
"m_ObjectId": "4820d64a797d4948a129f455b98feed8",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "SamplerState",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "582d5d344008450caad85abd181be9a5",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "PositionMapIndex",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
||||||
|
"m_ObjectId": "7dbe167981d2452a8248b6d23432a518",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "uvIndex",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "uvIndex",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [
|
||||||
|
"X",
|
||||||
|
"Y"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "7e4dcba5ce514132a507e6bccc9e3871",
|
||||||
|
"m_Id": 10,
|
||||||
|
"m_DisplayName": "outNormal",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "outNormal",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
|
||||||
|
"m_ObjectId": "83aca69ecbd845e888867dea88a660f1",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Custom Function",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -405.0,
|
||||||
|
"y": -144.0,
|
||||||
|
"width": 237.99998474121095,
|
||||||
|
"height": 494.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "94dc07ad41a445cd8a24fbb7e2ff81aa"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7e4dcba5ce514132a507e6bccc9e3871"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7dbe167981d2452a8248b6d23432a518"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "3e7d4ea371804f5c9265e859f8e8e08b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "bdb1d62362114a42abb1e5209573429c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "b0513c7b0dfc4dfb9a974d7dc9f253b4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "c24141b2554f431fbe3223c66bd8f0f0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "ee509cecfe5046ebb88dc4c3ae5e2fed"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SourceType": 0,
|
||||||
|
"m_FunctionName": "VA_ARRAY",
|
||||||
|
"m_FunctionSource": "a1250bb4cf9f61147bba30a99144d8f2",
|
||||||
|
"m_FunctionBody": "Enter function body here..."
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
|
||||||
|
"m_ObjectId": "91fad60529a14d678005224cfbac1b50",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "UV",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [
|
||||||
|
"X",
|
||||||
|
"Y"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "94dc07ad41a445cd8a24fbb7e2ff81aa",
|
||||||
|
"m_Id": 9,
|
||||||
|
"m_DisplayName": "outPosition",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "outPosition",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "967e0c2bcb6e48c2b85b82c6d4c734a4",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "26e53708-434a-4d58-b8b2-d8fb8005d644"
|
||||||
|
},
|
||||||
|
"m_Name": "MaxFrames",
|
||||||
|
"m_DefaultReferenceName": "Vector1_967e0c2bcb6e48c2b85b82c6d4c734a4",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"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.SamplerStateShaderProperty",
|
||||||
|
"m_ObjectId": "975a04061f8d4786bce18d1574108732",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "374e9a5f-1ef4-43a2-9ff2-6108a1976ab0"
|
||||||
|
},
|
||||||
|
"m_Name": "SamplerState",
|
||||||
|
"m_DefaultReferenceName": "",
|
||||||
|
"m_OverrideReferenceName": "SamplerState_Linear_Repeat",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"m_filter": 0,
|
||||||
|
"m_wrap": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
|
||||||
|
"m_ObjectId": "a09a6ce7e08545d99b5bda70586f4e79",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "96fb959c-8624-4642-9ac6-6b405b5a6dd4"
|
||||||
|
},
|
||||||
|
"m_Name": "UV",
|
||||||
|
"m_DefaultReferenceName": "Vector2_a09a6ce7e08545d99b5bda70586f4e79",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0,
|
||||||
|
"w": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "b0513c7b0dfc4dfb9a974d7dc9f253b4",
|
||||||
|
"m_Id": 11,
|
||||||
|
"m_DisplayName": "positionMapIndex",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "positionMapIndex",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "b23754f8d4404c9cb59d3879708464ad",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "MaxFrames",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||||
|
"m_ObjectId": "b89a68670a6642e19ae1063415132848",
|
||||||
|
"m_Id": 1,
|
||||||
|
"m_DisplayName": "Position",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Position",
|
||||||
|
"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": [
|
||||||
|
"X",
|
||||||
|
"Y",
|
||||||
|
"Z"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "bc36bc83631c44e0b48e951b444ba971",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -597.0,
|
||||||
|
"y": 16.0,
|
||||||
|
"width": 136.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "b23754f8d4404c9cb59d3879708464ad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "967e0c2bcb6e48c2b85b82c6d4c734a4"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Texture2DArrayInputMaterialSlot",
|
||||||
|
"m_ObjectId": "bdb1d62362114a42abb1e5209573429c",
|
||||||
|
"m_Id": 2,
|
||||||
|
"m_DisplayName": "positionMap",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "positionMap",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_TextureArray": {
|
||||||
|
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
|
||||||
|
"m_Guid": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "c24141b2554f431fbe3223c66bd8f0f0",
|
||||||
|
"m_Id": 4,
|
||||||
|
"m_DisplayName": "time",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "time",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DArrayShaderProperty",
|
||||||
|
"m_ObjectId": "c333595616b942739573e272a2bcc553",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "484a186e-c3de-457f-80e1-65e0ac649faf"
|
||||||
|
},
|
||||||
|
"m_Name": "PositionMap",
|
||||||
|
"m_DefaultReferenceName": "Texture2DArray_c333595616b942739573e272a2bcc553",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": {
|
||||||
|
"m_SerializedTexture": "{\"textureArray\":{\"instanceID\":0}}",
|
||||||
|
"m_Guid": ""
|
||||||
|
},
|
||||||
|
"m_Modifiable": true
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "c3ccaba1b3c243c1b485a94bdacdf812",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -626.0,
|
||||||
|
"y": -32.0,
|
||||||
|
"width": 170.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "582d5d344008450caad85abd181be9a5"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "cc4eba55004546408c4665cdb22d3111"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "cc4eba55004546408c4665cdb22d3111",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "3f779194-c6e4-40be-9134-677bb0c69785"
|
||||||
|
},
|
||||||
|
"m_Name": "PositionMapIndex",
|
||||||
|
"m_DefaultReferenceName": "Vector1_cc4eba55004546408c4665cdb22d3111",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": true,
|
||||||
|
"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.Texture2DArrayMaterialSlot",
|
||||||
|
"m_ObjectId": "d24cdb691ca9439aa88c66714545877c",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "PositionMap",
|
||||||
|
"m_SlotType": 1,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Out",
|
||||||
|
"m_StageCapability": 3
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "ec1ce691e5744e479cc8dab24da25012",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -612.0,
|
||||||
|
"y": -56.0,
|
||||||
|
"width": 158.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "d24cdb691ca9439aa88c66714545877c"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "c333595616b942739573e272a2bcc553"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||||
|
"m_ObjectId": "ee509cecfe5046ebb88dc4c3ae5e2fed",
|
||||||
|
"m_Id": 6,
|
||||||
|
"m_DisplayName": "maxFrames",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Priority": 2147483647,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "maxFrames",
|
||||||
|
"m_StageCapability": 3,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_DefaultValue": 0.0,
|
||||||
|
"m_Labels": [
|
||||||
|
"X"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||||
|
"m_ObjectId": "f39a0ab1ea5d4129b8c210c762bed693",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "Property",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": -606.0,
|
||||||
|
"y": -80.0,
|
||||||
|
"width": 155.0,
|
||||||
|
"height": 34.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "4820d64a797d4948a129f455b98feed8"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_Property": {
|
||||||
|
"m_Id": "975a04061f8d4786bce18d1574108732"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||||
|
"m_ObjectId": "f9b649ed28584dca8a522f3fb582f350",
|
||||||
|
"m_Guid": {
|
||||||
|
"m_GuidSerialized": "07478aa4-3d18-4430-bf12-24688db601b8"
|
||||||
|
},
|
||||||
|
"m_Name": "Time",
|
||||||
|
"m_DefaultReferenceName": "Vector1_f9b649ed28584dca8a522f3fb582f350",
|
||||||
|
"m_OverrideReferenceName": "",
|
||||||
|
"m_GeneratePropertyBlock": true,
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_GPUInstanced": false,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_Value": 0.0,
|
||||||
|
"m_FloatType": 0,
|
||||||
|
"m_RangeValues": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
10
Runtime/Shaders/SubGraphs/VA_ARRAY.shadersubgraph.meta
Normal file
10
Runtime/Shaders/SubGraphs/VA_ARRAY.shadersubgraph.meta
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cd1263763928d8547a1d83d121b29fe1
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
|
File diff suppressed because one or more lines are too long
@ -1,119 +0,0 @@
|
|||||||
{
|
|
||||||
"m_SerializedProperties": [
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_Guid\": {\n \"m_GuidSerialized\": \"459765e6-d07b-4114-ac0e-62037392f82f\"\n },\n \"m_Name\": \"Speed\",\n \"m_DefaultReferenceName\": \"Vector1_90A7DCB2\",\n \"m_OverrideReferenceName\": \"\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Precision\": 0,\n \"m_GPUInstanced\": false,\n \"m_Hidden\": false,\n \"m_Value\": 0.0,\n \"m_FloatType\": 0,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 1.0\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_Guid\": {\n \"m_GuidSerialized\": \"0190d211-eeed-4311-97c2-4218d839f05c\"\n },\n \"m_Name\": \"Number Of Frames\",\n \"m_DefaultReferenceName\": \"Vector1_3CACE04\",\n \"m_OverrideReferenceName\": \"\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Precision\": 0,\n \"m_GPUInstanced\": false,\n \"m_Hidden\": false,\n \"m_Value\": 0.0,\n \"m_FloatType\": 0,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 1.0\n }\n}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_SerializedKeywords": [],
|
|
||||||
"m_SerializableNodes": [
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.TimeNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"22b497e5-e126-4906-b4f2-f17d8aa84124\",\n \"m_GroupGuidSerialized\": \"b292ec34-c0e6-4e3c-83c5-3420c2c70100\",\n \"m_Name\": \"Time\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": false,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -263.0,\n \"y\": -59.999996185302737,\n \"width\": 91.00000762939453,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Sine Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Sine Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Cosine Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Cosine Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Delta Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Delta Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"Smooth Delta\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Smooth Delta\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.MultiplyNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"3b836191-2564-4804-8f65-722a5bf448ea\",\n \"m_GroupGuidSerialized\": \"b292ec34-c0e6-4e3c-83c5-3420c2c70100\",\n \"m_Name\": \"Multiply\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -143.0,\n \"y\": -83.75006103515625,\n \"width\": 137.0,\n \"height\": 117.99999237060547\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 0.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 0.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 0.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 2.0,\\n \\\"e01\\\": 2.0,\\n \\\"e02\\\": 2.0,\\n \\\"e03\\\": 2.0,\\n \\\"e10\\\": 2.0,\\n \\\"e11\\\": 2.0,\\n \\\"e12\\\": 2.0,\\n \\\"e13\\\": 2.0,\\n \\\"e20\\\": 2.0,\\n \\\"e21\\\": 2.0,\\n \\\"e22\\\": 2.0,\\n \\\"e23\\\": 2.0,\\n \\\"e30\\\": 2.0,\\n \\\"e31\\\": 2.0,\\n \\\"e32\\\": 2.0,\\n \\\"e33\\\": 2.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 0.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 0.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 0.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.MultiplyNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"4ac5634d-7bf4-4fa6-8178-97cf68d543b3\",\n \"m_GroupGuidSerialized\": \"b292ec34-c0e6-4e3c-83c5-3420c2c70100\",\n \"m_Name\": \"Multiply\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 21.0,\n \"y\": -84.75,\n \"width\": 137.0,\n \"height\": 117.99999237060547\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 0.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 0.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 0.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 2.0,\\n \\\"e01\\\": 2.0,\\n \\\"e02\\\": 2.0,\\n \\\"e03\\\": 2.0,\\n \\\"e10\\\": 2.0,\\n \\\"e11\\\": 2.0,\\n \\\"e12\\\": 2.0,\\n \\\"e13\\\": 2.0,\\n \\\"e20\\\": 2.0,\\n \\\"e21\\\": 2.0,\\n \\\"e22\\\": 2.0,\\n \\\"e23\\\": 2.0,\\n \\\"e30\\\": 2.0,\\n \\\"e31\\\": 2.0,\\n \\\"e32\\\": 2.0,\\n \\\"e33\\\": 2.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 0.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 0.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 0.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.PropertyNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"c6b682c9-92ed-4e08-b897-25d40e7a1210\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Property\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -418.0000305175781,\n \"y\": -44.0,\n \"width\": 109.0,\n \"height\": 34.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Speed\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n },\n \"m_PropertyGuidSerialized\": \"459765e6-d07b-4114-ac0e-62037392f82f\"\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.FractionNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"cf11aef6-1d02-4ad4-b54a-ac32164ddf9a\",\n \"m_GroupGuidSerialized\": \"b292ec34-c0e6-4e3c-83c5-3420c2c70100\",\n \"m_Name\": \"Fraction\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 182.0,\n \"y\": -85.75,\n \"width\": 141.0,\n \"height\": 94.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"In\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"In\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.PropertyNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"ee5fbbe3-f23f-4b7e-a941-9a2bc49ad394\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Property\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -168.0,\n \"y\": 65.00000762939453,\n \"width\": 173.0,\n \"height\": 34.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Number Of Frames\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n },\n \"m_PropertyGuidSerialized\": \"0190d211-eeed-4311-97c2-4218d839f05c\"\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.SubGraphOutputNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"f8eb773c-a1c4-49ac-917b-c9f937f7588b\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Out_Vector1\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 359.0,\n \"y\": -86.99999237060547,\n \"width\": 131.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Out_Vector1\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"OutVector1\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_Groups": [
|
|
||||||
{
|
|
||||||
"m_GuidSerialized": "b292ec34-c0e6-4e3c-83c5-3420c2c70100",
|
|
||||||
"m_Title": "Calculate lerp, fraction of time in frames.",
|
|
||||||
"m_Position": {
|
|
||||||
"x": -1281.0,
|
|
||||||
"y": 479.00006103515627
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_StickyNotes": [],
|
|
||||||
"m_SerializableEdges": [
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"22b497e5-e126-4906-b4f2-f17d8aa84124\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"3b836191-2564-4804-8f65-722a5bf448ea\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"3b836191-2564-4804-8f65-722a5bf448ea\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"4ac5634d-7bf4-4fa6-8178-97cf68d543b3\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"4ac5634d-7bf4-4fa6-8178-97cf68d543b3\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"cf11aef6-1d02-4ad4-b54a-ac32164ddf9a\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"c6b682c9-92ed-4e08-b897-25d40e7a1210\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"3b836191-2564-4804-8f65-722a5bf448ea\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"cf11aef6-1d02-4ad4-b54a-ac32164ddf9a\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"f8eb773c-a1c4-49ac-917b-c9f937f7588b\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"ee5fbbe3-f23f-4b7e-a941-9a2bc49ad394\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"4ac5634d-7bf4-4fa6-8178-97cf68d543b3\"\n }\n}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_PreviewData": {
|
|
||||||
"serializedMesh": {
|
|
||||||
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
||||||
"m_Guid": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Path": "Sub Graphs",
|
|
||||||
"m_ConcretePrecision": 0,
|
|
||||||
"m_ActiveOutputNodeGuidSerialized": ""
|
|
||||||
}
|
|
@ -1,119 +0,0 @@
|
|||||||
{
|
|
||||||
"m_SerializedProperties": [
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_Guid\": {\n \"m_GuidSerialized\": \"4e9074ba-d6e9-4706-9dc9-c3d578ceb442\"\n },\n \"m_Name\": \"Speed\",\n \"m_DefaultReferenceName\": \"Vector1_518E1D81\",\n \"m_OverrideReferenceName\": \"\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Precision\": 0,\n \"m_GPUInstanced\": false,\n \"m_Hidden\": false,\n \"m_Value\": 1.0,\n \"m_FloatType\": 0,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 1.0\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_Guid\": {\n \"m_GuidSerialized\": \"86d312fd-7ccb-41d9-9942-09ac088c32fd\"\n },\n \"m_Name\": \"Number Of Frames\",\n \"m_DefaultReferenceName\": \"Vector1_95891B20\",\n \"m_OverrideReferenceName\": \"\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Precision\": 0,\n \"m_GPUInstanced\": false,\n \"m_Hidden\": false,\n \"m_Value\": 1.0,\n \"m_FloatType\": 0,\n \"m_RangeValues\": {\n \"x\": 0.0,\n \"y\": 1.0\n }\n}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_SerializedKeywords": [],
|
|
||||||
"m_SerializableNodes": [
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.PropertyNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"2025f252-e796-40c6-acac-62909744466e\",\n \"m_GroupGuidSerialized\": \"0b129eb2-0a1f-4b38-b269-b6d87bfe28f1\",\n \"m_Name\": \"Property\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -381.9999694824219,\n \"y\": 57.99999237060547,\n \"width\": 173.0,\n \"height\": 34.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Number Of Frames\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n },\n \"m_PropertyGuidSerialized\": \"86d312fd-7ccb-41d9-9942-09ac088c32fd\"\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.TimeNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"4ffbfaec-989c-4eda-b92e-ac5777ca89dd\",\n \"m_GroupGuidSerialized\": \"0b129eb2-0a1f-4b38-b269-b6d87bfe28f1\",\n \"m_Name\": \"Time\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": false,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -23.999998092651368,\n \"y\": -91.0,\n \"width\": 91.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Sine Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Sine Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Cosine Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Cosine Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Delta Time\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Delta Time\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"Smooth Delta\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Smooth Delta\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.AddNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"95be052b-144c-45e8-8896-22f67d9e9722\",\n \"m_GroupGuidSerialized\": \"0b129eb2-0a1f-4b38-b269-b6d87bfe28f1\",\n \"m_Name\": \"Add\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 92.0001220703125,\n \"y\": -91.25,\n \"width\": 135.0,\n \"height\": 118.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.PropertyNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"a8c55430-190f-4696-9c5b-7d78321fe0ab\",\n \"m_GroupGuidSerialized\": \"0b129eb2-0a1f-4b38-b269-b6d87bfe28f1\",\n \"m_Name\": \"Property\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -183.00003051757813,\n \"y\": 112.00000762939453,\n \"width\": 109.0,\n \"height\": 34.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Speed\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n },\n \"m_PropertyGuidSerialized\": \"4e9074ba-d6e9-4706-9dc9-c3d578ceb442\"\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.DivideNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"bc3cdf1a-f645-4574-901c-8934507dbc77\",\n \"m_GroupGuidSerialized\": \"0b129eb2-0a1f-4b38-b269-b6d87bfe28f1\",\n \"m_Name\": \"Divide\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -202.99996948242188,\n \"y\": -6.000007152557373,\n \"width\": 126.0,\n \"height\": 118.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 1.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 2.0,\\n \\\"y\\\": 2.0,\\n \\\"z\\\": 2.0,\\n \\\"w\\\": 2.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.DivideNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"fe282ad8-93cb-4f33-bddf-6cf8fab494d6\",\n \"m_GroupGuidSerialized\": \"0b129eb2-0a1f-4b38-b269-b6d87bfe28f1\",\n \"m_Name\": \"Divide\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -58.00001907348633,\n \"y\": -5.999989986419678,\n \"width\": 126.0,\n \"height\": 118.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 2.0,\\n \\\"y\\\": 2.0,\\n \\\"z\\\": 2.0,\\n \\\"w\\\": 2.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.ShaderGraph.SubGraphOutputNode"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_GuidSerialized\": \"ff294d7c-6c8b-49fc-bc41-442124e6f55a\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Out_Vector1\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 271.0000305175781,\n \"y\": -91.0,\n \"width\": 131.00001525878907,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Out_Vector1\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"OutVector1\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_Groups": [
|
|
||||||
{
|
|
||||||
"m_GuidSerialized": "0b129eb2-0a1f-4b38-b269-b6d87bfe28f1",
|
|
||||||
"m_Title": "TimeOffset",
|
|
||||||
"m_Position": {
|
|
||||||
"x": -2139.0,
|
|
||||||
"y": 229.0000457763672
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_StickyNotes": [],
|
|
||||||
"m_SerializableEdges": [
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"2025f252-e796-40c6-acac-62909744466e\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"bc3cdf1a-f645-4574-901c-8934507dbc77\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"4ffbfaec-989c-4eda-b92e-ac5777ca89dd\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"95be052b-144c-45e8-8896-22f67d9e9722\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"95be052b-144c-45e8-8896-22f67d9e9722\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"ff294d7c-6c8b-49fc-bc41-442124e6f55a\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"a8c55430-190f-4696-9c5b-7d78321fe0ab\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"fe282ad8-93cb-4f33-bddf-6cf8fab494d6\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"bc3cdf1a-f645-4574-901c-8934507dbc77\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"fe282ad8-93cb-4f33-bddf-6cf8fab494d6\"\n }\n}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeInfo": {
|
|
||||||
"fullName": "UnityEditor.Graphing.Edge"
|
|
||||||
},
|
|
||||||
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"fe282ad8-93cb-4f33-bddf-6cf8fab494d6\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"95be052b-144c-45e8-8896-22f67d9e9722\"\n }\n}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_PreviewData": {
|
|
||||||
"serializedMesh": {
|
|
||||||
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
||||||
"m_Guid": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Path": "Sub Graphs",
|
|
||||||
"m_ConcretePrecision": 0,
|
|
||||||
"m_ActiveOutputNodeGuidSerialized": ""
|
|
||||||
}
|
|
19
Runtime/TAO.VertexAnimation.asmdef
Normal file
19
Runtime/TAO.VertexAnimation.asmdef
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "TAO.VertexAnimation",
|
||||||
|
"references": [
|
||||||
|
"GUID:2665a8d13d1b3f18800f46e256720795",
|
||||||
|
"GUID:734d92eba21c94caba915361bd5ac177",
|
||||||
|
"GUID:8819f35a0fc84499b990e90a4ca1911f",
|
||||||
|
"GUID:7a450cf7ca9694b5a8bfa3fd83ec635a",
|
||||||
|
"GUID:a5baed0c9693541a5bd947d336ec7659"
|
||||||
|
],
|
||||||
|
"includePlatforms": [],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "tech_art_outsource.vertex_animation",
|
|
||||||
"references": [],
|
|
||||||
"includePlatforms": [],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": false,
|
|
||||||
"precompiledReferences": [],
|
|
||||||
"autoReferenced": true,
|
|
||||||
"defineConstraints": [],
|
|
||||||
"versionDefines": []
|
|
||||||
}
|
|
8
Tests.meta
Normal file
8
Tests.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 92fc02ea2f2a7bc4c872ab3bc2707955
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
8
Tests/Editor.meta
Normal file
8
Tests/Editor.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 60aa4f06653ee124292effef2e35b79d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
8
Tests/Runtime.meta
Normal file
8
Tests/Runtime.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 91e1e0050d0772c4d954892ed488cc4b
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
8
Tests/Runtime/Shaders.meta
Normal file
8
Tests/Runtime/Shaders.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 26ecec6d25bff2647a521828b794f673
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
1763
Tests/Runtime/Shaders/EncodeDecodeTest.shadergraph
Normal file
1763
Tests/Runtime/Shaders/EncodeDecodeTest.shadergraph
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 9835661790b47214b8f52829d120645f
|
guid: be8d14449b1fe1a4bb06acd3a0af5fd5
|
||||||
ScriptedImporter:
|
ScriptedImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
@ -13,8 +13,6 @@
|
|||||||
"email": "info@maxartz15.com",
|
"email": "info@maxartz15.com",
|
||||||
"url": "https://www.maxartz15.com"
|
"url": "https://www.maxartz15.com"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
|
||||||
},
|
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tech art outsource",
|
"tech art outsource",
|
||||||
"vertex animation"
|
"vertex animation"
|
||||||
@ -26,4 +24,4 @@
|
|||||||
"path": "Samples~/Example1"
|
"path": "Samples~/Example1"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user