diff --git a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/VFX Graph/WaveformParticle.vfx b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/VFX Graph/WaveformParticle.vfx index 5b399e9..231a1d6 100644 --- a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/VFX Graph/WaveformParticle.vfx +++ b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/VFX Graph/WaveformParticle.vfx @@ -21,7 +21,7 @@ MonoBehaviour: x: -1521 y: -3244 width: 1339 - height: 2223 + height: 2224 --- !u!114 &114350483966674976 MonoBehaviour: m_ObjectHideFlags: 1 @@ -94,10 +94,10 @@ VisualEffectResource: - compute: 1 name: '[System 1]Initialize' source: "#pragma kernel CSMain\r\n#define NB_THREADS_PER_GROUP 64\n#define VFX_USE_LIFETIME_CURRENT - 1\n#define VFX_USE_SIZE_CURRENT 1\n#define VFX_USE_COLOR_CURRENT 1\n#define - VFX_USE_POSITION_CURRENT 1\n#define VFX_USE_VELOCITY_CURRENT 1\n#define VFX_USE_ALIVE_CURRENT - 1\n#define VFX_USE_AGE_CURRENT 1\n#define VFX_LOCAL_SPACE 1\n#include \"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXDefines.hlsl\"\n\n\r\nCBUFFER_START(parameters)\n - \ float3 Color_c;\n float Size_b;\nCBUFFER_END\n\n\r\n#include \"Packages/com.unity.visualeffectgraph/Shaders/Common/VFXCommonCompute.cginc\"\n#include + 1\n#define VFX_USE_COLOR_CURRENT 1\n#define VFX_USE_POSITION_CURRENT 1\n#define + VFX_USE_VELOCITY_CURRENT 1\n#define VFX_USE_ALIVE_CURRENT 1\n#define VFX_USE_AGE_CURRENT + 1\n#define VFX_LOCAL_SPACE 1\n#include \"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXDefines.hlsl\"\n\n\r\nCBUFFER_START(parameters)\n + \ float3 Color_c;\n uint PADDING_0;\nCBUFFER_END\n\n\r\n#include \"Packages/com.unity.visualeffectgraph/Shaders/Common/VFXCommonCompute.cginc\"\n#include \"Packages/com.unity.visualeffectgraph/Shaders/VFXCommon.cginc\"\n\n\r\n\r\nRWByteAddressBuffer attributeBuffer;\r\nByteAddressBuffer sourceAttributeBuffer;\r\n\r\nCBUFFER_START(initParams)\r\n#if !VFX_USE_SPAWNER_FROM_GPU\r\n uint nbSpawned;\t\t\t\t\t// Numbers of particle @@ -109,11 +109,11 @@ VisualEffectResource: VFX_USE_SPAWNER_FROM_GPU\r\nStructuredBuffer eventList;\r\nByteAddressBuffer inputAdditional;\r\n#endif\r\n\r\nvoid SetAttribute_F0142CB9(inout float lifetime, float Lifetime) /*attribute:lifetime Composition:Overwrite Source:Slot Random:Off - channels:XYZ */\n{\n lifetime = Lifetime;\n}\nvoid SetAttribute_3278B22F(inout - float size, float Size) /*attribute:size Composition:Overwrite Source:Slot Random:Off - channels:XYZ */\n{\n size = Size;\n}\nvoid SetAttribute_18B2FD0(inout float3 - color, float3 Color, float Blend) /*attribute:color Composition:Blend Source:Slot - Random:Off channels:XYZ */\n{\n color = lerp(color,Color,Blend);\n}\n\n\r\n\r\n[numthreads(NB_THREADS_PER_GROUP,1,1)]\r\nvoid + channels:XYZ */\n{\n lifetime = Lifetime;\n}\nvoid SetAttribute_FDD06EC7(inout + float3 color, float3 Color) /*attribute:color Composition:Overwrite Source:Slot + Random:Off channels:XYZ */\n{\n color = Color;\n}\nvoid SetAttribute_18B2FD0(inout + float3 color, float3 Color, float Blend) /*attribute:color Composition:Blend + Source:Slot Random:Off channels:XYZ */\n{\n color = lerp(color,Color,Blend);\n}\n\n\r\n\r\n[numthreads(NB_THREADS_PER_GROUP,1,1)]\r\nvoid CSMain(uint3 groupId : SV_GroupID,\r\n uint3 groupThreadId \ : SV_GroupThreadID)\r\n{\r\n uint id = groupThreadId.x + groupId.x * NB_THREADS_PER_GROUP;\r\n#if !VFX_USE_SPAWNER_FROM_GPU\r\n id += groupId.y @@ -133,32 +133,30 @@ VisualEffectResource: += uint(asfloat(sourceAttributeBuffer.Load((sourceIndex * 0x1 + 0x0) << 2)));\n \ if (id < currentSumSpawnCount)\n {\n break;\n \ }\n }\n */\n \n\r\n#endif\r\n float - lifetime = (float)1;\n float size = (float)0.100000001;\n float3 - color = float3(1, 1, 1);\n float3 position = float3(0, 0, 0);\n float3 - velocity = float3(0, 0, 0);\n bool alive = (bool)true;\n float - age = (float)0;\n \n\r\n#if VFX_USE_PARTICLEID_CURRENT\r\n particleId - = particleIndex;\r\n#endif\r\n#if VFX_USE_SEED_CURRENT\r\n seed = WangHash(particleIndex - ^ systemSeed);\r\n#endif\r\n \r\n {\n SetAttribute_F0142CB9( - /*inout */lifetime, (float)20);\n }\n SetAttribute_3278B22F( /*inout - */size, Size_b);\n {\n SetAttribute_18B2FD0( /*inout */color, + lifetime = (float)1;\n float3 color = float3(1, 1, 1);\n float3 + position = float3(0, 0, 0);\n float3 velocity = float3(0, 0, 0);\n bool + alive = (bool)true;\n float age = (float)0;\n \n\r\n#if VFX_USE_PARTICLEID_CURRENT\r\n + \ particleId = particleIndex;\r\n#endif\r\n#if VFX_USE_SEED_CURRENT\r\n + \ seed = WangHash(particleIndex ^ systemSeed);\r\n#endif\r\n \r\n + \ {\n SetAttribute_F0142CB9( /*inout */lifetime, (float)20);\n + \ }\n {\n SetAttribute_FDD06EC7( /*inout */color, float3(1, + 1, 1));\n }\n {\n SetAttribute_18B2FD0( /*inout */color, Color_c, (float)0.909852982);\n }\n \n\r\n\r\n#if VFX_USE_ALIVE_CURRENT\r\n \ if (alive)\r\n {\r\n\t\t\tuint deadIndex = deadListIn.DecrementCounter();\r\n \ uint index = deadListIn[deadIndex];\r\n attributeBuffer.Store((index - * 0x1 + 0x0) << 2,asuint(lifetime));\n attributeBuffer.Store((index - * 0x1 + 0xF4240) << 2,asuint(size));\n attributeBuffer.Store3((index - * 0x4 + 0x1E8480) << 2,asuint(color));\n attributeBuffer.Store3((index - * 0x4 + 0x5B8D80) << 2,asuint(position));\n attributeBuffer.Store3((index - * 0x4 + 0x989680) << 2,asuint(velocity));\n attributeBuffer.Store((index - * 0x1 + 0xD59F80) << 2,uint(alive));\n attributeBuffer.Store((index - * 0x1 + 0xE4E1C0) << 2,asuint(age));\n \n\r\n }\r\n#else\r\n + * 0x1 + 0x0) << 2,asuint(lifetime));\n attributeBuffer.Store3((index + * 0x4 + 0xF4240) << 2,asuint(color));\n attributeBuffer.Store3((index + * 0x4 + 0x4C4B40) << 2,asuint(position));\n attributeBuffer.Store3((index + * 0x4 + 0x895440) << 2,asuint(velocity));\n attributeBuffer.Store((index + * 0x1 + 0xC65D40) << 2,uint(alive));\n attributeBuffer.Store((index + * 0x1 + 0xD59F80) << 2,asuint(age));\n \n\r\n }\r\n#else\r\n \ uint index = particleIndex;\r\n attributeBuffer.Store((index - * 0x1 + 0x0) << 2,asuint(lifetime));\n attributeBuffer.Store((index * - 0x1 + 0xF4240) << 2,asuint(size));\n attributeBuffer.Store3((index * - 0x4 + 0x1E8480) << 2,asuint(color));\n attributeBuffer.Store3((index - * 0x4 + 0x5B8D80) << 2,asuint(position));\n attributeBuffer.Store3((index - * 0x4 + 0x989680) << 2,asuint(velocity));\n attributeBuffer.Store((index - * 0x1 + 0xD59F80) << 2,uint(alive));\n attributeBuffer.Store((index * - 0x1 + 0xE4E1C0) << 2,asuint(age));\n \n\r\n#endif\r\n }\r\n}\r\n" + * 0x1 + 0x0) << 2,asuint(lifetime));\n attributeBuffer.Store3((index + * 0x4 + 0xF4240) << 2,asuint(color));\n attributeBuffer.Store3((index + * 0x4 + 0x4C4B40) << 2,asuint(position));\n attributeBuffer.Store3((index + * 0x4 + 0x895440) << 2,asuint(velocity));\n attributeBuffer.Store((index + * 0x1 + 0xC65D40) << 2,uint(alive));\n attributeBuffer.Store((index * + 0x1 + 0xD59F80) << 2,asuint(age));\n \n\r\n#endif\r\n }\r\n}\r\n" - compute: 1 name: '[System 1]Update' source: "#pragma kernel CSMain\r\n#define NB_THREADS_PER_GROUP 64\n#define VFX_USE_LIFETIME_CURRENT @@ -186,39 +184,39 @@ VisualEffectResource: \ : SV_GroupThreadID)\r\n{\r\n\tuint id = groupThreadId.x + groupId.x * NB_THREADS_PER_GROUP + groupId.y * dispatchWidth * NB_THREADS_PER_GROUP;\r\n\tuint index = id;\r\n\tif (id < nbMax)\r\n\t{\r\n#if VFX_USE_ALIVE_CURRENT\r\n\t\tbool alive = (attributeBuffer.Load((index - * 0x1 + 0xD59F80) << 2));\n\t\t\n\r\n\t\tif (alive)\r\n\t\t{\r\n\t\t\tfloat + * 0x1 + 0xC65D40) << 2));\n\t\t\n\r\n\t\tif (alive)\r\n\t\t{\r\n\t\t\tfloat lifetime = asfloat(attributeBuffer.Load((index * 0x1 + 0x0) << 2));\n\t\t\tfloat3 - position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x5B8D80) << 2));\n\t\t\tfloat3 - velocity = asfloat(attributeBuffer.Load3((index * 0x4 + 0x989680) << 2));\n\t\t\tfloat + position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x4C4B40) << 2));\n\t\t\tfloat3 + velocity = asfloat(attributeBuffer.Load3((index * 0x4 + 0x895440) << 2));\n\t\t\tfloat mass = (float)1;\n\t\t\tfloat age = asfloat(attributeBuffer.Load((index * 0x1 - + 0xE4E1C0) << 2));\n\t\t\t\n\r\n\t\t\t\r\n#if VFX_USE_OLDPOSITION_CURRENT\r\n\t\t\toldPosition + + 0xD59F80) << 2));\n\t\t\t\n\r\n\t\t\t\r\n#if VFX_USE_OLDPOSITION_CURRENT\r\n\t\t\toldPosition = position;\r\n#endif\r\n\t\t\t\r\n\t\t\t{\n\t\t\t Turbulence_1(position, \ /*inout */velocity, mass, InvFieldTransform_a, FieldTransform_a, (float)0, (float)1, (float)4.86000013, (uint)1, deltaTime_a);\n\t\t\t}\n\t\t\tEulerIntegration( /*inout */position, velocity, deltaTime_a);\n\t\t\tAge( /*inout */age, deltaTime_a);\n\t\t\tReap(age, lifetime, /*inout */alive);\n\t\t\t\n\r\n\t\t\tif (alive)\r\n\t\t\t{\r\n\t\t\t\tattributeBuffer.Store3((index - * 0x4 + 0x5B8D80) << 2,asuint(position));\n\t\t\t\tattributeBuffer.Store3((index - * 0x4 + 0x989680) << 2,asuint(velocity));\n\t\t\t\tattributeBuffer.Store((index - * 0x1 + 0xE4E1C0) << 2,asuint(age));\n\t\t\t\t\n\r\n#if VFX_HAS_INDIRECT_DRAW\r\n + * 0x4 + 0x4C4B40) << 2,asuint(position));\n\t\t\t\tattributeBuffer.Store3((index + * 0x4 + 0x895440) << 2,asuint(velocity));\n\t\t\t\tattributeBuffer.Store((index + * 0x1 + 0xD59F80) << 2,asuint(age));\n\t\t\t\t\n\r\n#if VFX_HAS_INDIRECT_DRAW\r\n \ uint indirectIndex = indirectBuffer.IncrementCounter();\r\n\t\t\t\tindirectBuffer[indirectIndex] = index;\r\n#endif\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tattributeBuffer.Store((index - * 0x1 + 0xD59F80) << 2,uint(alive));\n\t\t\t\t\n\r\n\t\t\t\tuint deadIndex = + * 0x1 + 0xC65D40) << 2,uint(alive));\n\t\t\t\t\n\r\n\t\t\t\tuint deadIndex = deadListOut.IncrementCounter();\r\n\t\t\t\tdeadListOut[deadIndex] = index;\r\n\t\t\t}\r\n\t\t}\r\n#else\r\n\t\tfloat lifetime = asfloat(attributeBuffer.Load((index * 0x1 + 0x0) << 2));\n\t\tfloat3 - position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x5B8D80) << 2));\n\t\tfloat3 - velocity = asfloat(attributeBuffer.Load3((index * 0x4 + 0x989680) << 2));\n\t\tfloat - mass = (float)1;\n\t\tbool alive = (attributeBuffer.Load((index * 0x1 + 0xD59F80) - << 2));\n\t\tfloat age = asfloat(attributeBuffer.Load((index * 0x1 + 0xE4E1C0) + position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x4C4B40) << 2));\n\t\tfloat3 + velocity = asfloat(attributeBuffer.Load3((index * 0x4 + 0x895440) << 2));\n\t\tfloat + mass = (float)1;\n\t\tbool alive = (attributeBuffer.Load((index * 0x1 + 0xC65D40) + << 2));\n\t\tfloat age = asfloat(attributeBuffer.Load((index * 0x1 + 0xD59F80) << 2));\n\t\t\n\r\n\t\t\r\n#if VFX_USE_OLDPOSITION_CURRENT\r\n\t\toldPosition = position;\r\n#endif\r\n\t\t\r\n\t\t{\n\t\t Turbulence_1(position, /*inout */velocity, mass, InvFieldTransform_a, FieldTransform_a, (float)0, (float)1, (float)4.86000013, (uint)1, deltaTime_a);\n\t\t}\n\t\tEulerIntegration( /*inout */position, velocity, deltaTime_a);\n\t\tAge( /*inout */age, deltaTime_a);\n\t\tReap(age, lifetime, /*inout */alive);\n\t\t\n\r\n\t\tattributeBuffer.Store3((index * - 0x4 + 0x5B8D80) << 2,asuint(position));\n\t\tattributeBuffer.Store3((index * - 0x4 + 0x989680) << 2,asuint(velocity));\n\t\tattributeBuffer.Store((index * - 0x1 + 0xD59F80) << 2,uint(alive));\n\t\tattributeBuffer.Store((index * 0x1 + - 0xE4E1C0) << 2,asuint(age));\n\t\t\n\r\n#if VFX_HAS_INDIRECT_DRAW\r\n uint + 0x4 + 0x4C4B40) << 2,asuint(position));\n\t\tattributeBuffer.Store3((index * + 0x4 + 0x895440) << 2,asuint(velocity));\n\t\tattributeBuffer.Store((index * + 0x1 + 0xC65D40) << 2,uint(alive));\n\t\tattributeBuffer.Store((index * 0x1 + + 0xD59F80) << 2,asuint(age));\n\t\t\n\r\n#if VFX_HAS_INDIRECT_DRAW\r\n uint indirectIndex = indirectBuffer.IncrementCounter();\r\n\t\tindirectBuffer[indirectIndex] = index;\r\n#endif\r\n#endif\r\n\t}\r\n}\r\n" - compute: 0 @@ -229,13 +227,13 @@ VisualEffectResource: SrcAlpha OneMinusSrcAlpha \n\t\tZTest LEqual\n\t\tZWrite Off\n\t\tCull Off\n\t\t\n\t\n\t\t\t\n\t\tHLSLINCLUDE\n\t\t#if !defined(VFX_WORLD_SPACE) && !defined(VFX_LOCAL_SPACE)\n\t\t#define VFX_LOCAL_SPACE 1\n\t\t#endif\n\t\t\n\t\t#define NB_THREADS_PER_GROUP 64\n\t\t#define VFX_USE_LIFETIME_CURRENT - 1\n\t\t#define VFX_USE_SIZE_CURRENT 1\n\t\t#define VFX_USE_COLOR_CURRENT 1\n\t\t#define - VFX_USE_POSITION_CURRENT 1\n\t\t#define VFX_USE_ALPHA_CURRENT 1\n\t\t#define - VFX_USE_ALIVE_CURRENT 1\n\t\t#define VFX_USE_AXISX_CURRENT 1\n\t\t#define VFX_USE_AXISY_CURRENT - 1\n\t\t#define VFX_USE_AXISZ_CURRENT 1\n\t\t#define VFX_USE_ANGLEX_CURRENT 1\n\t\t#define - VFX_USE_ANGLEY_CURRENT 1\n\t\t#define VFX_USE_ANGLEZ_CURRENT 1\n\t\t#define - VFX_USE_PIVOTX_CURRENT 1\n\t\t#define VFX_USE_PIVOTY_CURRENT 1\n\t\t#define - VFX_USE_PIVOTZ_CURRENT 1\n\t\t#define VFX_USE_SCALEX_CURRENT 1\n\t\t#define + 1\n\t\t#define VFX_USE_COLOR_CURRENT 1\n\t\t#define VFX_USE_POSITION_CURRENT + 1\n\t\t#define VFX_USE_ALPHA_CURRENT 1\n\t\t#define VFX_USE_ALIVE_CURRENT 1\n\t\t#define + VFX_USE_AXISX_CURRENT 1\n\t\t#define VFX_USE_AXISY_CURRENT 1\n\t\t#define VFX_USE_AXISZ_CURRENT + 1\n\t\t#define VFX_USE_ANGLEX_CURRENT 1\n\t\t#define VFX_USE_ANGLEY_CURRENT + 1\n\t\t#define VFX_USE_ANGLEZ_CURRENT 1\n\t\t#define VFX_USE_PIVOTX_CURRENT + 1\n\t\t#define VFX_USE_PIVOTY_CURRENT 1\n\t\t#define VFX_USE_PIVOTZ_CURRENT + 1\n\t\t#define VFX_USE_SIZE_CURRENT 1\n\t\t#define VFX_USE_SCALEX_CURRENT 1\n\t\t#define VFX_USE_SCALEY_CURRENT 1\n\t\t#define VFX_USE_SCALEZ_CURRENT 1\n\t\t#define VFX_USE_AGE_CURRENT 1\n\t\t#define VFX_COLORMAPPING_DEFAULT 1\n\t\t#define IS_TRANSPARENT_PARTICLE 1\n\t\t#define VFX_BLENDMODE_ALPHA 1\n\t\t#define VFX_HAS_INDIRECT_DRAW 1\n\t\t#define @@ -298,33 +296,31 @@ VisualEffectResource: (index >= asuint(nbMax) - deadCount)\n\t\t\t\t\t\t#if USE_GEOMETRY_SHADER\n\t\t\t\t\t\t\treturn; // cull\n\t\t\t\t\t\t#else\n\t\t\t\t\t\t\treturn o; // cull\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if VFX_HAS_INDIRECT_DRAW\n\t\t\t\t\t\tindex = indirectBuffer[index];\n\t\t\t\t\t\tfloat - lifetime = asfloat(attributeBuffer.Load((index * 0x1 + 0x0) << 2));\n\t\t\t\t\t\tfloat - size = asfloat(attributeBuffer.Load((index * 0x1 + 0xF4240) << 2));\n\t\t\t\t\t\tfloat3 - color = asfloat(attributeBuffer.Load3((index * 0x4 + 0x1E8480) << 2));\n\t\t\t\t\t\tfloat3 - position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x5B8D80) << 2));\n\t\t\t\t\t\tfloat + lifetime = asfloat(attributeBuffer.Load((index * 0x1 + 0x0) << 2));\n\t\t\t\t\t\tfloat3 + color = asfloat(attributeBuffer.Load3((index * 0x4 + 0xF4240) << 2));\n\t\t\t\t\t\tfloat3 + position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x4C4B40) << 2));\n\t\t\t\t\t\tfloat alpha = (float)1;\n\t\t\t\t\t\tbool alive = (attributeBuffer.Load((index * 0x1 - + 0xD59F80) << 2));\n\t\t\t\t\t\tfloat3 axisX = float3(1, 0, 0);\n\t\t\t\t\t\tfloat3 + + 0xC65D40) << 2));\n\t\t\t\t\t\tfloat3 axisX = float3(1, 0, 0);\n\t\t\t\t\t\tfloat3 axisY = float3(0, 1, 0);\n\t\t\t\t\t\tfloat3 axisZ = float3(0, 0, 1);\n\t\t\t\t\t\tfloat angleX = (float)0;\n\t\t\t\t\t\tfloat angleY = (float)0;\n\t\t\t\t\t\tfloat angleZ = (float)0;\n\t\t\t\t\t\tfloat pivotX = (float)0;\n\t\t\t\t\t\tfloat pivotY = (float)0;\n\t\t\t\t\t\tfloat pivotZ = (float)0;\n\t\t\t\t\t\tfloat - scaleX = (float)1;\n\t\t\t\t\t\tfloat scaleY = (float)1;\n\t\t\t\t\t\tfloat - scaleZ = (float)1;\n\t\t\t\t\t\tfloat age = asfloat(attributeBuffer.Load((index - * 0x1 + 0xE4E1C0) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#else\n\t\t\t\t\t\tbool - alive = (attributeBuffer.Load((index * 0x1 + 0xD59F80) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\tif + size = (float)0.100000001;\n\t\t\t\t\t\tfloat scaleX = (float)1;\n\t\t\t\t\t\tfloat + scaleY = (float)1;\n\t\t\t\t\t\tfloat scaleZ = (float)1;\n\t\t\t\t\t\tfloat + age = asfloat(attributeBuffer.Load((index * 0x1 + 0xD59F80) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#else\n\t\t\t\t\t\tbool + alive = (attributeBuffer.Load((index * 0x1 + 0xC65D40) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\tif (!alive)\n\t\t\t\t\t\t\treturn o;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tfloat lifetime - = asfloat(attributeBuffer.Load((index * 0x1 + 0x0) << 2));\n\t\t\t\t\t\tfloat - size = asfloat(attributeBuffer.Load((index * 0x1 + 0xF4240) << 2));\n\t\t\t\t\t\tfloat3 - color = asfloat(attributeBuffer.Load3((index * 0x4 + 0x1E8480) << 2));\n\t\t\t\t\t\tfloat3 - position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x5B8D80) << 2));\n\t\t\t\t\t\tfloat + = asfloat(attributeBuffer.Load((index * 0x1 + 0x0) << 2));\n\t\t\t\t\t\tfloat3 + color = asfloat(attributeBuffer.Load3((index * 0x4 + 0xF4240) << 2));\n\t\t\t\t\t\tfloat3 + position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x4C4B40) << 2));\n\t\t\t\t\t\tfloat alpha = (float)1;\n\t\t\t\t\t\tfloat3 axisX = float3(1, 0, 0);\n\t\t\t\t\t\tfloat3 axisY = float3(0, 1, 0);\n\t\t\t\t\t\tfloat3 axisZ = float3(0, 0, 1);\n\t\t\t\t\t\tfloat angleX = (float)0;\n\t\t\t\t\t\tfloat angleY = (float)0;\n\t\t\t\t\t\tfloat angleZ = (float)0;\n\t\t\t\t\t\tfloat pivotX = (float)0;\n\t\t\t\t\t\tfloat pivotY = (float)0;\n\t\t\t\t\t\tfloat pivotZ = (float)0;\n\t\t\t\t\t\tfloat - scaleX = (float)1;\n\t\t\t\t\t\tfloat scaleY = (float)1;\n\t\t\t\t\t\tfloat - scaleZ = (float)1;\n\t\t\t\t\t\tfloat age = asfloat(attributeBuffer.Load((index - * 0x1 + 0xE4E1C0) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\tOrient_1( + size = (float)0.100000001;\n\t\t\t\t\t\tfloat scaleX = (float)1;\n\t\t\t\t\t\tfloat + scaleY = (float)1;\n\t\t\t\t\t\tfloat scaleZ = (float)1;\n\t\t\t\t\t\tfloat + age = asfloat(attributeBuffer.Load((index * 0x1 + 0xD59F80) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\tOrient_1( /*inout */axisX, /*inout */axisY, /*inout */axisZ, position);\n\t\t\t\tOrient_1( /*inout */axisX, /*inout */axisY, /*inout */axisZ, position);\n\t\t\t\tAttributeFromCurve_7BA3F6A( /*inout */alpha, age, lifetime, Alpha_c);\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\tif @@ -388,18 +384,18 @@ VisualEffectResource: \"RenderType\"=\"Transparent\" }\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tBlend One One\n\t\tZTest LEqual\n\t\tZWrite Off\n\t\tCull Off\n\t\t\n\t\n\t\t\t\n\t\tHLSLINCLUDE\n\t\t#if !defined(VFX_WORLD_SPACE) && !defined(VFX_LOCAL_SPACE)\n\t\t#define VFX_LOCAL_SPACE - 1\n\t\t#endif\n\t\t\n\t\t#define NB_THREADS_PER_GROUP 64\n\t\t#define VFX_USE_SIZE_CURRENT - 1\n\t\t#define VFX_USE_POSITION_CURRENT 1\n\t\t#define VFX_USE_ALPHA_CURRENT - 1\n\t\t#define VFX_USE_ALIVE_CURRENT 1\n\t\t#define VFX_USE_AXISX_CURRENT 1\n\t\t#define - VFX_USE_AXISY_CURRENT 1\n\t\t#define VFX_USE_AXISZ_CURRENT 1\n\t\t#define VFX_USE_ANGLEX_CURRENT - 1\n\t\t#define VFX_USE_ANGLEY_CURRENT 1\n\t\t#define VFX_USE_ANGLEZ_CURRENT - 1\n\t\t#define VFX_USE_PIVOTX_CURRENT 1\n\t\t#define VFX_USE_PIVOTY_CURRENT - 1\n\t\t#define VFX_USE_PIVOTZ_CURRENT 1\n\t\t#define VFX_USE_SCALEX_CURRENT - 1\n\t\t#define VFX_USE_SCALEY_CURRENT 1\n\t\t#define VFX_USE_SCALEZ_CURRENT - 1\n\t\t#define VFX_COLORMAPPING_DEFAULT 1\n\t\t#define IS_TRANSPARENT_PARTICLE - 1\n\t\t#define VFX_BLENDMODE_ADD 1\n\t\t#define DISTORTION_SCREENSPACE 1\n\t\t#define - DISTORTION_SCALE_BY_DISTANCE 1\n\t\t#define VFX_PRIMITIVE_QUAD 1\n\t\t\n\t\t\n\t\t\n\t\t#define - VFX_LOCAL_SPACE 1\n\t\t#include \"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXDefines.hlsl\"\n\t\t\n\n\t\tTexture2D + 1\n\t\t#endif\n\t\t\n\t\t#define NB_THREADS_PER_GROUP 64\n\t\t#define VFX_USE_POSITION_CURRENT + 1\n\t\t#define VFX_USE_ALPHA_CURRENT 1\n\t\t#define VFX_USE_ALIVE_CURRENT 1\n\t\t#define + VFX_USE_AXISX_CURRENT 1\n\t\t#define VFX_USE_AXISY_CURRENT 1\n\t\t#define VFX_USE_AXISZ_CURRENT + 1\n\t\t#define VFX_USE_ANGLEX_CURRENT 1\n\t\t#define VFX_USE_ANGLEY_CURRENT + 1\n\t\t#define VFX_USE_ANGLEZ_CURRENT 1\n\t\t#define VFX_USE_PIVOTX_CURRENT + 1\n\t\t#define VFX_USE_PIVOTY_CURRENT 1\n\t\t#define VFX_USE_PIVOTZ_CURRENT + 1\n\t\t#define VFX_USE_SIZE_CURRENT 1\n\t\t#define VFX_USE_SCALEX_CURRENT 1\n\t\t#define + VFX_USE_SCALEY_CURRENT 1\n\t\t#define VFX_USE_SCALEZ_CURRENT 1\n\t\t#define + VFX_COLORMAPPING_DEFAULT 1\n\t\t#define IS_TRANSPARENT_PARTICLE 1\n\t\t#define + VFX_BLENDMODE_ADD 1\n\t\t#define DISTORTION_SCREENSPACE 1\n\t\t#define DISTORTION_SCALE_BY_DISTANCE + 1\n\t\t#define VFX_PRIMITIVE_QUAD 1\n\t\t\n\t\t\n\t\t\n\t\t#define VFX_LOCAL_SPACE + 1\n\t\t#include \"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXDefines.hlsl\"\n\t\t\n\n\t\tTexture2D distortionBlurMap;\n\t\tSamplerState samplerdistortionBlurMap;\n\t\t\n\n\t\t\n\t\t#define VFX_NEEDS_COLOR_INTERPOLATOR (VFX_USE_COLOR_CURRENT || VFX_USE_ALPHA_CURRENT)\n\t\t\n\t\tByteAddressBuffer attributeBuffer;\t\n\t\t\n\t\t#if VFX_HAS_INDIRECT_DRAW\n\t\tStructuredBuffer @@ -459,28 +455,26 @@ VisualEffectResource: = 0;\n\t\t\t\t\t\t#if USE_DEAD_LIST_COUNT\n\t\t\t\t\t\tdeadCount = deadListCount.Load(0);\n\t\t\t\t\t\t#endif\t\n\t\t\t\t\t\tif (index >= asuint(nbMax) - deadCount)\n\t\t\t\t\t\t#if USE_GEOMETRY_SHADER\n\t\t\t\t\t\t\treturn; // cull\n\t\t\t\t\t\t#else\n\t\t\t\t\t\t\treturn o; // cull\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if - VFX_HAS_INDIRECT_DRAW\n\t\t\t\t\t\tindex = indirectBuffer[index];\n\t\t\t\t\t\tfloat - size = asfloat(attributeBuffer.Load((index * 0x1 + 0xF4240) << 2));\n\t\t\t\t\t\tfloat3 - position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x5B8D80) << 2));\n\t\t\t\t\t\tfloat + VFX_HAS_INDIRECT_DRAW\n\t\t\t\t\t\tindex = indirectBuffer[index];\n\t\t\t\t\t\tfloat3 + position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x4C4B40) << 2));\n\t\t\t\t\t\tfloat alpha = (float)1;\n\t\t\t\t\t\tbool alive = (attributeBuffer.Load((index * 0x1 - + 0xD59F80) << 2));\n\t\t\t\t\t\tfloat3 axisX = float3(1, 0, 0);\n\t\t\t\t\t\tfloat3 + + 0xC65D40) << 2));\n\t\t\t\t\t\tfloat3 axisX = float3(1, 0, 0);\n\t\t\t\t\t\tfloat3 axisY = float3(0, 1, 0);\n\t\t\t\t\t\tfloat3 axisZ = float3(0, 0, 1);\n\t\t\t\t\t\tfloat angleX = (float)0;\n\t\t\t\t\t\tfloat angleY = (float)0;\n\t\t\t\t\t\tfloat angleZ = (float)0;\n\t\t\t\t\t\tfloat pivotX = (float)0;\n\t\t\t\t\t\tfloat pivotY = (float)0;\n\t\t\t\t\t\tfloat pivotZ = (float)0;\n\t\t\t\t\t\tfloat - scaleX = (float)1;\n\t\t\t\t\t\tfloat scaleY = (float)1;\n\t\t\t\t\t\tfloat - scaleZ = (float)1;\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#else\n\t\t\t\t\t\tbool - alive = (attributeBuffer.Load((index * 0x1 + 0xD59F80) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\tif - (!alive)\n\t\t\t\t\t\t\treturn o;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tfloat size = - asfloat(attributeBuffer.Load((index * 0x1 + 0xF4240) << 2));\n\t\t\t\t\t\tfloat3 - position = asfloat(attributeBuffer.Load3((index * 0x4 + 0x5B8D80) << 2));\n\t\t\t\t\t\tfloat + size = (float)0.100000001;\n\t\t\t\t\t\tfloat scaleX = (float)1;\n\t\t\t\t\t\tfloat + scaleY = (float)1;\n\t\t\t\t\t\tfloat scaleZ = (float)1;\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#else\n\t\t\t\t\t\tbool + alive = (attributeBuffer.Load((index * 0x1 + 0xC65D40) << 2));\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\tif + (!alive)\n\t\t\t\t\t\t\treturn o;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tfloat3 position + = asfloat(attributeBuffer.Load3((index * 0x4 + 0x4C4B40) << 2));\n\t\t\t\t\t\tfloat alpha = (float)1;\n\t\t\t\t\t\tfloat3 axisX = float3(1, 0, 0);\n\t\t\t\t\t\tfloat3 axisY = float3(0, 1, 0);\n\t\t\t\t\t\tfloat3 axisZ = float3(0, 0, 1);\n\t\t\t\t\t\tfloat angleX = (float)0;\n\t\t\t\t\t\tfloat angleY = (float)0;\n\t\t\t\t\t\tfloat angleZ = (float)0;\n\t\t\t\t\t\tfloat pivotX = (float)0;\n\t\t\t\t\t\tfloat pivotY = (float)0;\n\t\t\t\t\t\tfloat pivotZ = (float)0;\n\t\t\t\t\t\tfloat - scaleX = (float)1;\n\t\t\t\t\t\tfloat scaleY = (float)1;\n\t\t\t\t\t\tfloat - scaleZ = (float)1;\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\tOrient_1( + size = (float)0.100000001;\n\t\t\t\t\t\tfloat scaleX = (float)1;\n\t\t\t\t\t\tfloat + scaleY = (float)1;\n\t\t\t\t\t\tfloat scaleZ = (float)1;\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\tOrient_1( /*inout */axisX, /*inout */axisY, /*inout */axisZ, position);\n\t\t\t\t{\n\t\t\t\t \ SetAttribute_CEEAF35C( /*inout */alpha, (float)0.209999993);\n\t\t\t\t}\n\t\t\t\t{\n\t\t\t\t \ SetAttribute_2EBDF112( /*inout */size, (float)-0.0199999996);\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\tif @@ -586,7 +580,7 @@ VisualEffectResource: id = groupThreadId.x + groupId.x * NB_THREADS_PER_GROUP + groupId.y * dispatchWidth * NB_THREADS_PER_GROUP;\r\n\tif (id < threshold)\r\n\t{\r\n\t\tuint index = inputBuffer[id];\r\n\t\tfloat3 position = asfloat(attributeBuffer.Load3((index - * 0x4 + 0x5B8D80) << 2));\n\t\t\n\r\n\t\t\r\n#if VFX_LOCAL_SPACE\r\n\t\tfloat3 + * 0x4 + 0x4C4B40) << 2));\n\t\t\n\r\n\t\t\r\n#if VFX_LOCAL_SPACE\r\n\t\tfloat3 wPos = mul(localToWorld,float4(position,1.0f)).xyz;\r\n#else\r\n\t\tfloat3 wPos = position;\r\n#endif\r\n\t\tfloat3 camToPos = wPos - cameraPosition;\r\n\t\t\r\n\t\tKvp kvp;\r\n\t\tkvp.sortKey = dot(camToPos,camToPos); // sqr distance to the camera\r\n\t\tkvp.index @@ -606,212 +600,176 @@ VisualEffectResource: data[1]: -1 data[2]: -1 data[3]: 1 - - op: 1 + - op: 7 valueIndex: 2 data[0]: -1 data[1]: -1 data[2]: -1 + data[3]: -1 + - op: 1 + valueIndex: 3 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 3 + - op: 3 + valueIndex: 6 + data[0]: 2 + data[1]: 2 + data[2]: 2 + data[3]: -1 + - op: 1 + valueIndex: 9 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 3 + - op: 1 + valueIndex: 12 + data[0]: -1 + data[1]: -1 + data[2]: -1 data[3]: 1 - op: 29 - valueIndex: 3 - data[0]: 1 - data[1]: 0 + valueIndex: 13 + data[0]: 0 + data[1]: 1 data[2]: -1 data[3]: 1 - - op: 1 - valueIndex: 4 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 27 - valueIndex: 5 - data[0]: 3 - data[1]: 2 - data[2]: -1 - data[3]: 1 - - op: 7 - valueIndex: 6 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: -1 - - op: 1 - valueIndex: 7 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 1 - valueIndex: 8 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 3 - - op: 1 - valueIndex: 11 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 3 - - op: 1 + - op: 34 valueIndex: 14 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 3 - valueIndex: 15 - data[0]: 6 - data[1]: 6 - data[2]: 6 - data[3]: -1 - - op: 26 - valueIndex: 18 data[0]: 5 data[1]: 4 + data[2]: 3 + data[3]: -1 + - op: 27 + valueIndex: 30 + data[0]: 7 + data[1]: 6 data[2]: -1 data[3]: 1 - op: 1 - valueIndex: 19 + valueIndex: 31 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 1 - - op: 28 - valueIndex: 20 - data[0]: 7 - data[1]: 12 - data[2]: -1 - data[3]: 1 - op: 1 - valueIndex: 21 + valueIndex: 32 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 13 - - op: 34 - valueIndex: 22 - data[0]: 8 - data[1]: 11 - data[2]: 9 - data[3]: -1 - - op: 26 - valueIndex: 38 - data[0]: 5 - data[1]: 10 - data[2]: -1 - data[3]: 1 - op: 1 - valueIndex: 39 + valueIndex: 33 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 1 - - op: 1 - valueIndex: 40 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 7 - op: 6 - valueIndex: 41 + valueIndex: 34 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: -1 - op: 56 - valueIndex: 42 - data[0]: 15 + valueIndex: 35 + data[0]: 11 data[1]: -1 data[2]: -1 data[3]: 0 - op: 1 - valueIndex: 46 + valueIndex: 39 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 6 - op: 1 - valueIndex: 47 + valueIndex: 40 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 1 - op: 1 - valueIndex: 48 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 1 - valueIndex: 49 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 1 - valueIndex: 50 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 1 - valueIndex: 51 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 1 - valueIndex: 52 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 2 - - op: 3 - valueIndex: 54 - data[0]: 13 - data[1]: 18 - data[2]: 14 - data[3]: -1 - - op: 28 - valueIndex: 57 - data[0]: 7 - data[1]: 17 - data[2]: -1 - data[3]: 1 - - op: 1 - valueIndex: 58 - data[0]: -1 - data[1]: -1 - data[2]: -1 - data[3]: 1 - - op: 1 - valueIndex: 59 + valueIndex: 41 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 7 - op: 1 - valueIndex: 60 + valueIndex: 42 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 1 + - op: 1 + valueIndex: 43 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 1 + - op: 1 + valueIndex: 44 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 1 + - op: 36 + valueIndex: 45 + data[0]: 8 + data[1]: -1 + data[2]: -1 + data[3]: -1 + - op: 1 + valueIndex: 61 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 1 + - op: 3 + valueIndex: 62 + data[0]: 10 + data[1]: 12 + data[2]: 9 + data[3]: -1 + - op: 1 + valueIndex: 65 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 3 - op: 1 - valueIndex: 63 + valueIndex: 68 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 1 + - op: 1 + valueIndex: 69 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 7 + - op: 1 + valueIndex: 70 data[0]: -1 data[1]: -1 data[2]: -1 data[3]: 3 - - op: 36 - valueIndex: 66 - data[0]: 16 + - op: 1 + valueIndex: 73 + data[0]: -1 data[1]: -1 data[2]: -1 - data[3]: -1 + data[3]: 3 + - op: 1 + valueIndex: 76 + data[0]: -1 + data[1]: -1 + data[2]: -1 + data[3]: 2 - op: 9 - valueIndex: 82 + valueIndex: 78 data[0]: -1 data[1]: -1 data[2]: -1 @@ -823,52 +781,48 @@ VisualEffectResource: m_Float: m_Array: - m_ExpressionIndex: 0 - m_Value: 1 + m_Value: 0 - m_ExpressionIndex: 1 - m_Value: 0 - - m_ExpressionIndex: 2 + m_Value: 1 + - m_ExpressionIndex: 6 m_Value: 199 - - m_ExpressionIndex: 4 - m_Value: 0.9 - - m_ExpressionIndex: 7 - m_Value: 0.1 - m_ExpressionIndex: 10 - m_Value: 0.20000002 - - m_ExpressionIndex: 13 m_Value: 15.999998 - - m_ExpressionIndex: 18 + - m_ExpressionIndex: 12 m_Value: 0 - - m_ExpressionIndex: 23 - m_Value: -0.02 - - m_ExpressionIndex: 24 + - m_ExpressionIndex: 16 m_Value: 4.86 - - m_ExpressionIndex: 25 + - m_ExpressionIndex: 18 m_Value: 0.21 - - m_ExpressionIndex: 26 + - m_ExpressionIndex: 19 + m_Value: -0.02 + - m_ExpressionIndex: 20 m_Value: 1138.7 - - m_ExpressionIndex: 27 + - m_ExpressionIndex: 22 m_Value: 0.909853 - - m_ExpressionIndex: 31 + - m_ExpressionIndex: 25 m_Value: 20 m_Vector2f: m_Array: - - m_ExpressionIndex: 28 + - m_ExpressionIndex: 29 m_Value: {x: 0.06, y: 0.06} m_Vector3f: m_Array: - - m_ExpressionIndex: 8 - m_Value: {x: 1, y: 0, z: 0} - - m_ExpressionIndex: 9 + - m_ExpressionIndex: 3 m_Value: {x: 0.74, y: 0.42, z: 0.5} - - m_ExpressionIndex: 33 + - m_ExpressionIndex: 5 + m_Value: {x: 1, y: 0, z: 0} + - m_ExpressionIndex: 24 + m_Value: {x: 1, y: 1, z: 1} + - m_ExpressionIndex: 27 m_Value: {x: 10, y: 10, z: 10} - - m_ExpressionIndex: 34 + - m_ExpressionIndex: 28 m_Value: {x: 0, y: 0, z: 0} m_Vector4f: m_Array: [] m_Uint: m_Array: - - m_ExpressionIndex: 22 + - m_ExpressionIndex: 15 m_Value: 1 m_Int: m_Array: [] @@ -876,7 +830,7 @@ VisualEffectResource: m_Array: [] m_AnimationCurve: m_Array: - - m_ExpressionIndex: 15 + - m_ExpressionIndex: 11 m_Value: serializedVersion: 2 m_Curve: @@ -914,20 +868,20 @@ VisualEffectResource: m_Array: [] m_NamedObject: m_Array: - - m_ExpressionIndex: 19 + - m_ExpressionIndex: 17 m_Value: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0} - - m_ExpressionIndex: 32 + - m_ExpressionIndex: 26 m_Value: {fileID: 0} m_Bool: m_Array: [] m_ExposedExpressions: - nameId: Spectrum Value 1 - index: 1 + index: 0 - nameId: Waveform - index: 32 + index: 26 m_Buffers: - type: 1 - size: 16000000 + size: 15000000 layout: - name: lifetime type: 1 @@ -935,46 +889,40 @@ VisualEffectResource: bucket: 0 structure: 1 element: 0 - - name: size - type: 1 - offset: - bucket: 1000000 - structure: 1 - element: 0 - name: color type: 3 offset: - bucket: 2000000 + bucket: 1000000 structure: 4 element: 0 - name: position type: 3 offset: - bucket: 6000000 + bucket: 5000000 structure: 4 element: 0 - name: velocity type: 3 offset: - bucket: 10000000 + bucket: 9000000 structure: 4 element: 0 - name: alive type: 17 offset: - bucket: 14000000 + bucket: 13000000 structure: 1 element: 0 - name: age type: 1 offset: - bucket: 15000000 + bucket: 14000000 structure: 1 element: 0 capacity: 1000000 stride: 4 - type: 1 - size: 16000000 + size: 15000000 layout: - name: lifetime type: 1 @@ -982,40 +930,34 @@ VisualEffectResource: bucket: 0 structure: 1 element: 0 - - name: size - type: 1 - offset: - bucket: 1000000 - structure: 1 - element: 0 - name: color type: 3 offset: - bucket: 2000000 + bucket: 1000000 structure: 4 element: 0 - name: position type: 3 offset: - bucket: 6000000 + bucket: 5000000 structure: 4 element: 0 - name: velocity type: 3 offset: - bucket: 10000000 + bucket: 9000000 structure: 4 element: 0 - name: alive type: 17 offset: - bucket: 14000000 + bucket: 13000000 structure: 1 element: 0 - name: age type: 1 offset: - bucket: 15000000 + bucket: 14000000 structure: 1 element: 0 capacity: 1000000 @@ -1113,7 +1055,7 @@ VisualEffectResource: temporaryBuffers: [] values: - nameId: Rate - index: 26 + index: 20 params: [] processor: {fileID: 0} shaderSourceIndex: -1 @@ -1140,9 +1082,9 @@ VisualEffectResource: index: 7 values: - nameId: bounds_center - index: 34 + index: 28 - nameId: bounds_size - index: 33 + index: 27 tasks: - type: 536870912 buffers: @@ -1156,15 +1098,13 @@ VisualEffectResource: index: 2 temporaryBuffers: [] values: - - nameId: Size_b - index: 30 - nameId: Color_c - index: 29 + index: 23 params: - nameId: bounds_center - index: 34 + index: 28 - nameId: bounds_size - index: 33 + index: 27 processor: {fileID: 0} shaderSourceIndex: 0 - type: 805306368 @@ -1178,11 +1118,11 @@ VisualEffectResource: temporaryBuffers: [] values: - nameId: InvFieldTransform_a - index: 35 + index: 21 - nameId: FieldTransform_a - index: 16 + index: 8 - nameId: deltaTime_a - index: 20 + index: 13 params: [] processor: {fileID: 0} shaderSourceIndex: 1 @@ -1199,7 +1139,7 @@ VisualEffectResource: temporaryBuffers: [] values: - nameId: localToWorld - index: 36 + index: 30 params: [] processor: {fileID: 0} shaderSourceIndex: 4 @@ -1214,9 +1154,9 @@ VisualEffectResource: temporaryBuffers: [] values: - nameId: Alpha_c - index: 21 + index: 14 - nameId: mainTexture - index: 19 + index: 17 params: - nameId: sortPriority index: 0 @@ -1231,7 +1171,7 @@ VisualEffectResource: temporaryBuffers: [] values: - nameId: distortionBlurMap - index: 19 + index: 17 params: - nameId: sortPriority index: 0 @@ -1418,6 +1358,7 @@ MonoBehaviour: m_Children: - {fileID: 8926484042661616945} - {fileID: 8926484042661617022} + - {fileID: 8926484042661617422} - {fileID: 8926484042661617056} m_UIPosition: {x: -625, y: -2977} m_UICollapsed: 0 @@ -1975,7 +1916,7 @@ MonoBehaviour: m_InputSlots: - {fileID: 8926484042661617023} m_OutputSlots: [] - m_Disabled: 0 + m_Disabled: 1 attribute: size Composition: 0 Source: 0 @@ -4390,7 +4331,7 @@ MonoBehaviour: m_Type: m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - m_SerializableObject: 0.1 + m_SerializableObject: 0 m_Space: 2147483647 m_Property: name: newRangeMin @@ -4631,3 +4572,171 @@ MonoBehaviour: m_Direction: 1 m_LinkedSlots: - {fileID: 8926484042661617388} +--- !u!114 &8926484042661617422 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a971fa2e110a0ac42ac1d8dae408704b, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Parent: {fileID: 8926484042661616900} + m_Children: [] + m_UIPosition: {x: 0, y: 0} + m_UICollapsed: 0 + m_UISuperCollapsed: 0 + m_InputSlots: + - {fileID: 8926484042661617423} + m_OutputSlots: [] + m_Disabled: 0 + attribute: color + Composition: 0 + Source: 0 + Random: 0 + channels: 6 +--- !u!114 &8926484042661617423 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ac39bd03fca81b849929b9c966f1836a, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Parent: {fileID: 0} + m_Children: + - {fileID: 8926484042661617424} + - {fileID: 8926484042661617425} + - {fileID: 8926484042661617426} + m_UIPosition: {x: 0, y: 0} + m_UICollapsed: 1 + m_UISuperCollapsed: 0 + m_MasterSlot: {fileID: 8926484042661617423} + m_MasterData: + m_Owner: {fileID: 8926484042661617422} + m_Value: + m_Type: + m_SerializableType: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + m_SerializableObject: '{"x":1.0,"y":1.0,"z":1.0}' + m_Space: 2147483647 + m_Property: + name: Color + m_serializedType: + m_SerializableType: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + attributes: + - m_Type: 5 + m_Min: -Infinity + m_Max: Infinity + m_Tooltip: + m_Regex: + m_RegexMaxLength: 0 + m_Direction: 0 + m_LinkedSlots: [] +--- !u!114 &8926484042661617424 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f780aa281814f9842a7c076d436932e7, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Parent: {fileID: 8926484042661617423} + m_Children: [] + m_UIPosition: {x: 0, y: 0} + m_UICollapsed: 1 + m_UISuperCollapsed: 0 + m_MasterSlot: {fileID: 8926484042661617423} + m_MasterData: + m_Owner: {fileID: 0} + m_Value: + m_Type: + m_SerializableType: + m_SerializableObject: + m_Space: 2147483647 + m_Property: + name: x + m_serializedType: + m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + attributes: [] + m_Direction: 0 + m_LinkedSlots: [] +--- !u!114 &8926484042661617425 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f780aa281814f9842a7c076d436932e7, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Parent: {fileID: 8926484042661617423} + m_Children: [] + m_UIPosition: {x: 0, y: 0} + m_UICollapsed: 1 + m_UISuperCollapsed: 0 + m_MasterSlot: {fileID: 8926484042661617423} + m_MasterData: + m_Owner: {fileID: 0} + m_Value: + m_Type: + m_SerializableType: + m_SerializableObject: + m_Space: 2147483647 + m_Property: + name: y + m_serializedType: + m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + attributes: [] + m_Direction: 0 + m_LinkedSlots: [] +--- !u!114 &8926484042661617426 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f780aa281814f9842a7c076d436932e7, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Parent: {fileID: 8926484042661617423} + m_Children: [] + m_UIPosition: {x: 0, y: 0} + m_UICollapsed: 1 + m_UISuperCollapsed: 0 + m_MasterSlot: {fileID: 8926484042661617423} + m_MasterData: + m_Owner: {fileID: 0} + m_Value: + m_Type: + m_SerializableType: + m_SerializableObject: + m_Space: 2147483647 + m_Property: + name: z + m_serializedType: + m_SerializableType: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + attributes: [] + m_Direction: 0 + m_LinkedSlots: [] diff --git a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle.meta b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle.meta new file mode 100644 index 0000000..8b918e3 --- /dev/null +++ b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f8137b682ebe493469327a5e0a97034d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle.unity b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle.unity index 18fc499..fa60f69 100644 --- a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle.unity +++ b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle.unity @@ -120,7 +120,7 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &683826687 +--- !u!1 &45779916 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -128,340 +128,10 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 683826691} - - component: {fileID: 683826690} - m_Layer: 0 - m_Name: PdBackend - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &683826690 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 683826687} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ba69cee3466a304d9d570268f717413, type: 3} - m_Name: - m_EditorClassIdentifier: - midiMessageReceived: - m_PersistentCalls: - m_Calls: [] - midiSyncReceived: - m_PersistentCalls: - m_Calls: [] - samplePlayback: 0 ---- !u!4 &683826691 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 683826687} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &870721934 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 870721937} - - component: {fileID: 870721936} - - component: {fileID: 870721935} - m_Layer: 0 - m_Name: CameraRotator - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &870721935 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 870721934} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a1636a27dcc6acf42a3aa3d4a50c62c6, type: 3} - m_Name: - m_EditorClassIdentifier: - smooth: 5 - tiltAngleHorizontal: 0 - tiltAngleVertical: 0 - onRotationProcessed: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 870721935} - m_MethodName: OnValueChanged - m_Mode: 0 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!114 &870721936 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 870721934} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 54ab37d032df403e881d6a7a78141815, type: 3} - m_Name: - m_EditorClassIdentifier: - pdBackend: {fileID: 683826690} - selection: - serializedVersion: 2 - x: -1.882353 - y: 224.20001 - width: 288 - height: 27 - energyChanged: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 870721935} - m_MethodName: OnValueChanged - m_Mode: 0 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 - channel: 0 ---- !u!4 &870721937 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 870721934} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1607766366} - m_Father: {fileID: 0} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1411348846 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1411348849} - - component: {fileID: 1411348848} - - component: {fileID: 1411348853} - - component: {fileID: 1411348847} - - component: {fileID: 1411348850} - - component: {fileID: 1411348852} - - component: {fileID: 1411348851} - m_Layer: 0 - m_Name: WaveformParticle - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!73398921 &1411348847 -VFXRenderer: - m_ObjectHideFlags: 2 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1411348846} - m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_MotionVectors: 0 - m_LightProbeUsage: 0 - m_ReflectionProbeUsage: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 0} - - {fileID: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 ---- !u!2083052967 &1411348848 -VisualEffect: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1411348846} - m_Enabled: 1 - m_Asset: {fileID: 8926484042661614526, guid: 08d89952fa2846a428946f3cd135c29a, type: 3} - m_StartSeed: 0 - m_ResetSeedOnPlay: 1 - m_PropertySheet: - m_Float: - m_Array: [] - m_Vector2f: - m_Array: [] - m_Vector3f: - m_Array: [] - m_Vector4f: - m_Array: [] - m_Uint: - m_Array: [] - m_Int: - m_Array: [] - m_Matrix4x4f: - m_Array: [] - m_AnimationCurve: - m_Array: [] - m_Gradient: - m_Array: [] - m_NamedObject: - m_Array: [] - m_Bool: - m_Array: [] ---- !u!4 &1411348849 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1411348846} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &1411348850 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1411348846} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 9f2574ce2f094b74284ebdd04b6b0207, type: 3} - m_Name: - m_EditorClassIdentifier: - waveform: {fileID: 0} - visualEffect: {fileID: 1411348848} ---- !u!114 &1411348851 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1411348846} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d7da52674d4133543bd5df7aef5b3e64, type: 3} - m_Name: - m_EditorClassIdentifier: - targetVfx: {fileID: 1411348848} ---- !u!114 &1411348852 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1411348846} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 54ab37d032df403e881d6a7a78141815, type: 3} - m_Name: - m_EditorClassIdentifier: - pdBackend: {fileID: 683826690} - selection: - serializedVersion: 2 - x: -4.326761 - y: 187 - width: 520.6535 - height: 66 - energyChanged: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 1411348851} - m_MethodName: OnEnergyChanged - m_Mode: 0 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 - channel: 0 ---- !u!114 &1411348853 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1411348846} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 773d4bc755fe4e4a9ddf830af14ff758, type: 3} - m_Name: - m_EditorClassIdentifier: - pdBackend: {fileID: 683826690} - channel: 1 ---- !u!1 &1607766363 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1607766366} - - component: {fileID: 1607766365} - - component: {fileID: 1607766364} - - component: {fileID: 1607766367} + - component: {fileID: 45779917} + - component: {fileID: 45779920} + - component: {fileID: 45779919} + - component: {fileID: 45779918} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -469,78 +139,27 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!81 &1607766364 -AudioListener: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1607766363} - m_Enabled: 1 ---- !u!20 &1607766365 -Camera: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1607766363} - m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 1 - m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} - m_projectionMatrixMode: 1 - m_GateFitMode: 2 - m_FOVAxisMode: 0 - m_SensorSize: {x: 36, y: 24} - m_LensShift: {x: 0, y: 0} - m_FocalLength: 9.042648 - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 106 - orthographic: 0 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 0 - m_AllowMSAA: 0 - m_AllowDynamicResolution: 0 - m_ForceIntoRT: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 ---- !u!4 &1607766366 +--- !u!4 &45779917 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1607766363} + m_GameObject: {fileID: 45779916} m_LocalRotation: {x: 0.0055120783, y: 0.70844144, z: -0.005533284, w: 0.70572644} m_LocalPosition: {x: -1.11, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] - m_Father: {fileID: 870721937} + m_Father: {fileID: 703457977} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0.89500004, y: 90.22, z: 0} ---- !u!114 &1607766367 +--- !u!114 &45779918 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1607766363} + m_GameObject: {fileID: 45779916} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 23c1ce4fb46143f46bc5cb5224c934f6, type: 3} @@ -553,14 +172,14 @@ MonoBehaviour: serializedVersion: 2 m_Bits: 1 volumeAnchorOverride: {fileID: 0} - antialiasing: 0 + antialiasing: 1 SMAAQuality: 2 dithering: 0 stopNaNs: 0 physicalParameters: m_Iso: 200 m_ShutterSpeed: 0.005 - m_Aperture: 16 + m_Aperture: 1 m_BladeCount: 5 m_Curvature: {x: 2, y: 11} m_BarrelClipping: 0.25 @@ -633,3 +252,452 @@ MonoBehaviour: enableFptlForForwardOpaque: 0 enableBigTilePrepass: 0 isFptlEnabled: 0 +--- !u!81 &45779919 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 45779916} + m_Enabled: 1 +--- !u!20 &45779920 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 45779916} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 71.15 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 104 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_AllowMSAA: 0 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!1 &175518401 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 175518408} + - component: {fileID: 175518407} + - component: {fileID: 175518406} + - component: {fileID: 175518405} + - component: {fileID: 175518404} + - component: {fileID: 175518403} + - component: {fileID: 175518402} + m_Layer: 0 + m_Name: WaveformParticle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &175518402 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 175518401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7da52674d4133543bd5df7aef5b3e64, type: 3} + m_Name: + m_EditorClassIdentifier: + targetVfx: {fileID: 175518407} +--- !u!114 &175518403 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 175518401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 54ab37d032df403e881d6a7a78141815, type: 3} + m_Name: + m_EditorClassIdentifier: + pdBackend: {fileID: 1025417736} + selection: + serializedVersion: 2 + x: -4.326761 + y: 187 + width: 520.6535 + height: 66 + energyChanged: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 175518402} + m_MethodName: OnEnergyChanged + m_Mode: 0 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + channel: 0 +--- !u!114 &175518404 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 175518401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9f2574ce2f094b74284ebdd04b6b0207, type: 3} + m_Name: + m_EditorClassIdentifier: + waveform: {fileID: 0} + visualEffect: {fileID: 175518407} +--- !u!73398921 &175518405 +VFXRenderer: + m_ObjectHideFlags: 2 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 175518401} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 0 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 0} + - {fileID: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!114 &175518406 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 175518401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 773d4bc755fe4e4a9ddf830af14ff758, type: 3} + m_Name: + m_EditorClassIdentifier: + pdBackend: {fileID: 1025417736} + channel: 1 +--- !u!2083052967 &175518407 +VisualEffect: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 175518401} + m_Enabled: 1 + m_Asset: {fileID: 8926484042661614526, guid: 08d89952fa2846a428946f3cd135c29a, type: 3} + m_StartSeed: 0 + m_ResetSeedOnPlay: 1 + m_PropertySheet: + m_Float: + m_Array: + - m_Value: 0 + m_Name: Spectrum Value 1 + m_Overridden: 1 + m_Vector2f: + m_Array: [] + m_Vector3f: + m_Array: [] + m_Vector4f: + m_Array: [] + m_Uint: + m_Array: [] + m_Int: + m_Array: [] + m_Matrix4x4f: + m_Array: [] + m_AnimationCurve: + m_Array: [] + m_Gradient: + m_Array: [] + m_NamedObject: + m_Array: [] + m_Bool: + m_Array: [] +--- !u!4 &175518408 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 175518401} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &703457974 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 703457977} + - component: {fileID: 703457976} + - component: {fileID: 703457975} + m_Layer: 0 + m_Name: CameraRotator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &703457975 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 703457974} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a1636a27dcc6acf42a3aa3d4a50c62c6, type: 3} + m_Name: + m_EditorClassIdentifier: + smooth: 5 + tiltAngleHorizontal: 1 + tiltAngleVertical: 1 + onRotationProcessed: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 703457975} + m_MethodName: OnValueChanged + m_Mode: 0 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &703457976 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 703457974} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 54ab37d032df403e881d6a7a78141815, type: 3} + m_Name: + m_EditorClassIdentifier: + pdBackend: {fileID: 1025417736} + selection: + serializedVersion: 2 + x: -1.882353 + y: 224.20001 + width: 288 + height: 27 + energyChanged: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 703457975} + m_MethodName: OnValueChanged + m_Mode: 0 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + channel: 0 +--- !u!4 &703457977 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 703457974} + m_LocalRotation: {x: 0.16917676, y: -0.03526887, z: 0.16917676, w: 0.97031677} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 45779917} + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1025417735 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1025417737} + - component: {fileID: 1025417736} + m_Layer: 0 + m_Name: PdBackend + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1025417736 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1025417735} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ba69cee3466a304d9d570268f717413, type: 3} + m_Name: + m_EditorClassIdentifier: + midiMessageReceived: + m_PersistentCalls: + m_Calls: [] + midiSyncReceived: + m_PersistentCalls: + m_Calls: [] + samplePlayback: 0 +--- !u!4 &1025417737 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1025417735} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1431991122 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1431991125} + - component: {fileID: 1431991124} + - component: {fileID: 1431991123} + m_Layer: 0 + m_Name: Scene Settings + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1431991123 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1431991122} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 441482e8936e35048a1dffac814e3ef8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Profile: {fileID: 11400000, guid: 1012fe3eac99fc14c996e2600dd22c0f, type: 2} + m_StaticLightingSkyUniqueID: 2 + m_SkySettings: {fileID: 0} + m_SkySettingsFromProfile: {fileID: 0} +--- !u!114 &1431991124 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1431991122} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3} + m_Name: + m_EditorClassIdentifier: + isGlobal: 1 + priority: 0 + blendDistance: 0 + weight: 1 + sharedProfile: {fileID: 11400000, guid: 1012fe3eac99fc14c996e2600dd22c0f, type: 2} +--- !u!4 &1431991125 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1431991122} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile 1.asset b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile 1.asset new file mode 100644 index 0000000..58792bd --- /dev/null +++ b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile 1.asset @@ -0,0 +1,188 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-8757737879642904285 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 598e2d32e2c7b0c418e030c3236d663a, type: 3} + m_Name: ChromaticAberration + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + spectralLut: + m_OverrideState: 0 + m_Value: {fileID: 0} + intensity: + m_OverrideState: 1 + m_Value: 1 + min: 0 + max: 1 + maxSamples: + m_OverrideState: 0 + m_Value: 8 + min: 3 + max: 24 +--- !u!114 &-657688255281123992 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: aaa3b8214f75b354e9ba2caadd022259, type: 3} + m_Name: DepthOfField + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + focusMode: + m_OverrideState: 1 + m_Value: 1 + focusDistance: + m_OverrideState: 1 + m_Value: 84.2 + min: 0.1 + nearFocusStart: + m_OverrideState: 1 + m_Value: 81.05 + min: 0 + nearFocusEnd: + m_OverrideState: 1 + m_Value: 11.66 + min: 0 + farFocusStart: + m_OverrideState: 0 + m_Value: 10 + min: 0 + farFocusEnd: + m_OverrideState: 0 + m_Value: 20 + min: 0 + nearSampleCount: + m_OverrideState: 0 + m_Value: 5 + min: 3 + max: 8 + nearMaxBlur: + m_OverrideState: 0 + m_Value: 4 + min: 0 + max: 8 + farSampleCount: + m_OverrideState: 0 + m_Value: 7 + min: 3 + max: 16 + farMaxBlur: + m_OverrideState: 0 + m_Value: 8 + min: 0 + max: 16 + highQualityFiltering: + m_OverrideState: 0 + m_Value: 1 + resolution: + m_OverrideState: 0 + m_Value: 2 +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} + m_Name: Scene Settings Profile 1 + m_EditorClassIdentifier: + components: + - {fileID: -8757737879642904285} + - {fileID: 8649462823350647888} + - {fileID: -657688255281123992} + - {fileID: 3574476831124456583} +--- !u!114 &3574476831124456583 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9c1bfcd0f0fa7b8468f281d6bbbaf320, type: 3} + m_Name: LensDistortion + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + intensity: + m_OverrideState: 1 + m_Value: 0 + min: -1 + max: 1 + xMultiplier: + m_OverrideState: 0 + m_Value: 1 + min: 0 + max: 1 + yMultiplier: + m_OverrideState: 0 + m_Value: 1 + min: 0 + max: 1 + center: + m_OverrideState: 0 + m_Value: {x: 0.5, y: 0.5} + scale: + m_OverrideState: 0 + m_Value: 1 + min: 0.01 + max: 5 +--- !u!114 &8649462823350647888 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bcf384b154398e341b6b29969c078198, type: 3} + m_Name: MotionBlur + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + sampleCount: + m_OverrideState: 0 + m_Value: 8 + min: 2 + intensity: + m_OverrideState: 1 + m_Value: 0.3 + min: 0 + maximumVelocity: + m_OverrideState: 0 + m_Value: 200 + min: 0 + max: 1500 + minimumVelocity: + m_OverrideState: 0 + m_Value: 2 + min: 0 + max: 64 + cameraRotationVelocityClamp: + m_OverrideState: 0 + m_Value: 0.03 + min: 0 + max: 0.2 + depthComparisonExtent: + m_OverrideState: 0 + m_Value: 1 + min: 0 + max: 20 diff --git a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile 1.asset.meta b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile 1.asset.meta new file mode 100644 index 0000000..5757b1d --- /dev/null +++ b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile 1.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1012fe3eac99fc14c996e2600dd22c0f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile.asset b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile.asset new file mode 100644 index 0000000..ccccedb --- /dev/null +++ b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile.asset @@ -0,0 +1,219 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} + m_Name: Scene Settings Profile + m_EditorClassIdentifier: + components: + - {fileID: 3066149139215790959} + - {fileID: 5740604404619161125} + - {fileID: 6604223353106985782} + - {fileID: 5095931763800172372} +--- !u!114 &3066149139215790959 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7ddcec8a8eb2d684d833ac8f5d26aebd, type: 3} + m_Name: + m_EditorClassIdentifier: + active: 0 + m_AdvancedMode: 0 + maxShadowDistance: + m_OverrideState: 1 + m_Value: 500 + min: 0 + cascadeShadowSplitCount: + m_OverrideState: 1 + m_Value: 4 + min: 1 + max: 4 + cascadeShadowSplit0: + m_OverrideState: 1 + m_Value: 0.05 + cascadeShadowSplit1: + m_OverrideState: 1 + m_Value: 0.15 + cascadeShadowSplit2: + m_OverrideState: 1 + m_Value: 0.3 + cascadeShadowBorder0: + m_OverrideState: 1 + m_Value: 0 + cascadeShadowBorder1: + m_OverrideState: 1 + m_Value: 0 + cascadeShadowBorder2: + m_OverrideState: 1 + m_Value: 0 + cascadeShadowBorder3: + m_OverrideState: 1 + m_Value: 0 +--- !u!114 &5095931763800172372 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2150ee00179b2f4418ea8b21a7e98eea, type: 3} + m_Name: + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + colorMode: + m_OverrideState: 1 + m_Value: 1 + color: + m_OverrideState: 1 + m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1} + hdr: 1 + showAlpha: 0 + showEyeDropper: 1 + density: + m_OverrideState: 1 + m_Value: 1 + min: 0 + max: 1 + maxFogDistance: + m_OverrideState: 1 + m_Value: 5000 + min: 0 + mipFogMaxMip: + m_OverrideState: 1 + m_Value: 0.5 + min: 0 + max: 1 + mipFogNear: + m_OverrideState: 1 + m_Value: 0 + min: 0 + mipFogFar: + m_OverrideState: 1 + m_Value: 1000 + min: 0 + fogDistance: + m_OverrideState: 1 + m_Value: 200 + min: 0 + fogBaseHeight: + m_OverrideState: 1 + m_Value: 0 + fogHeightAttenuation: + m_OverrideState: 1 + m_Value: 0.2 + min: 0 + max: 1 +--- !u!114 &5740604404619161125 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0d7593b3a9277ac4696b20006c21dde2, type: 3} + m_Name: + m_EditorClassIdentifier: + active: 0 + m_AdvancedMode: 0 + skyType: + m_OverrideState: 1 + m_Value: 2 + skyAmbientMode: + m_OverrideState: 1 + m_Value: 0 + fogType: + m_OverrideState: 1 + m_Value: 2 +--- !u!114 &6604223353106985782 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3df29e7cc05fbec4aa43e06ea875565d, type: 3} + m_Name: + m_EditorClassIdentifier: + active: 0 + m_AdvancedMode: 0 + rotation: + m_OverrideState: 1 + m_Value: 0 + min: 0 + max: 360 + skyIntensityMode: + m_OverrideState: 1 + m_Value: 0 + exposure: + m_OverrideState: 1 + m_Value: 0 + multiplier: + m_OverrideState: 1 + m_Value: 1 + min: 0 + upperHemisphereLuxValue: + m_OverrideState: 1 + m_Value: 1 + min: 0 + desiredLuxValue: + m_OverrideState: 1 + m_Value: 20000 + updateMode: + m_OverrideState: 1 + m_Value: 0 + updatePeriod: + m_OverrideState: 1 + m_Value: 0 + min: 0 + includeSunInBaking: + m_OverrideState: 1 + m_Value: 0 + sunSize: + m_OverrideState: 1 + m_Value: 0.04 + min: 0 + max: 1 + sunSizeConvergence: + m_OverrideState: 1 + m_Value: 5 + min: 1 + max: 10 + atmosphereThickness: + m_OverrideState: 1 + m_Value: 1 + min: 0 + max: 5 + skyTint: + m_OverrideState: 1 + m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1} + hdr: 0 + showAlpha: 1 + showEyeDropper: 1 + groundColor: + m_OverrideState: 1 + m_Value: {r: 0.369, g: 0.349, b: 0.341, a: 1} + hdr: 0 + showAlpha: 1 + showEyeDropper: 1 + enableSunDisk: + m_OverrideState: 1 + m_Value: 1 diff --git a/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile.asset.meta b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile.asset.meta new file mode 100644 index 0000000..7e193a5 --- /dev/null +++ b/UnityProject/Assets/Scenes/Examples/Max Silly Demos/WaveformParticle/Scene Settings Profile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 46b6566408c77f94698e5e37b16ae470 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: