浏览代码

Updated samples to 2019.1.11f1 / 5.16.1-preview + Small Fixes

/main
Thomas ICHÉ 5 年前
当前提交
f9755aee
共有 28 个文件被更改,包括 1152 次插入1114 次删除
  1. 6
      Assets/HDRP/HDRenderPipelineAsset.asset
  2. 2
      Assets/Samples/ARRadar/ARRadar.unity
  3. 863
      Assets/Samples/ARRadar/ARRadar.vfx
  4. 2
      Assets/Samples/Butterflies/Butterflies.unity
  5. 287
      Assets/Samples/Butterflies/Butterflies.vfx
  6. 10
      Assets/Samples/GenieMagicLamp/VFX/GenieFX.vfx
  7. 26
      Assets/Samples/GenieMagicLamp/VFX/SandFX.vfx
  8. 13
      Assets/Samples/GrassWind/Environment_GrassWind.vfx
  9. 393
      Assets/Samples/GrassWind/Grass.vfx
  10. 28
      Assets/Samples/GrassWind/GrassWind.unity
  11. 7
      Assets/Samples/MorphingFace/MorphingFace.vfx
  12. 2
      Assets/Samples/Portal/Portal.vfx
  13. 2
      Assets/Samples/UnityLogo/UnityLogo.vfx
  14. 342
      Assets/Samples/Volumetric/Volumetric.vfx
  15. 2
      Assets/Samples/VoxelizedTerrain/VoxelizedTerrain.unity
  16. 209
      Assets/Samples/VoxelizedTerrain/VoxelizedTerrain.vfx
  17. 12
      Packages/manifest.json
  18. 1
      ProjectSettings/GraphicsSettings.asset
  19. 3
      ProjectSettings/ProjectSettings.asset
  20. 4
      ProjectSettings/ProjectVersion.txt
  21. 11
      ProjectSettings/Packages/com.unity.probuilder/Settings.json
  22. 26
      Assets/Samples/Butterflies/ButterflyWing-DiffusionProfile.asset
  23. 8
      Assets/Samples/Butterflies/ButterflyWing-DiffusionProfile.asset.meta
  24. 7
      ProjectSettings/Packages/com.unity.settings-manager/Settings.json
  25. 0
      /ProjectSettings/Packages/com.unity.probuilder/Settings.json

6
Assets/HDRP/HDRenderPipelineAsset.asset


supportTransparentBackface: 1
supportTransparentDepthPrepass: 1
supportTransparentDepthPostpass: 1
supportLowResTransparent: 1
colorBufferFormat: 74
supportedLitShaderMode: 3
supportDecals: 0

upsampleFilter: 1
forceResolution: 0
forcedPercentage: 100
lowresTransparentSettings:
enabled: 1
checkerboardDepthBuffer: 1
upsampleType: 1
allowShaderVariantStripping: 1
enableSRPBatcher: 0
shaderVariantLogLevel: 0

- {fileID: 11400000, guid: 578e14a174424a64f901ea91cbdf10e3, type: 2}
- {fileID: 11400000, guid: d70a4a3f7cca7914299c768fe225c1a6, type: 2}
- {fileID: 11400000, guid: fa0bd868de6beb242b58530817c2fa99, type: 2}
- {fileID: 11400000, guid: a6e49c92568d36640bf75bae8006ad8f, type: 2}
m_Version: 5
m_ObsoleteFrameSettings:
overrides: 0

2
Assets/Samples/ARRadar/ARRadar.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.014250345, g: 0.01703964, b: 0.024201669, a: 1}
m_IndirectSpecularColor: {r: 0.014275231, g: 0.017067093, b: 0.02424396, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

863
Assets/Samples/ARRadar/ARRadar.vfx
文件差异内容过多而无法显示
查看文件

2
Assets/Samples/Butterflies/Butterflies.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.10636203, g: 0.068219624, b: 0.011732047, a: 1}
m_IndirectSpecularColor: {r: 0.10654913, g: 0.068333946, b: 0.01175242, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

287
Assets/Samples/Butterflies/Butterflies.vfx


+ 0x3) << 2,asuint(age));\n\t\t\n\n#if VFX_HAS_INDIRECT_DRAW\n uint indirectIndex
= indirectBuffer.IncrementCounter();\n\t\tindirectBuffer[indirectIndex] = index;\n#endif\n#endif\n\t}\n}\n"
- compute: 0
name: '[System 1]Body'
source: "Shader \"Hidden/VFX/System 1/Body\"\n{\n\tSubShader\n\t{\t\n\t\tCull
name: '[System 1]C Body'
source: "Shader \"Hidden/VFX/System 1/(C) Body\"\n{\n\tSubShader\n\t{\t\n\t\tCull
Off\n\t\t\n\t\tTags { \"Queue\"=\"Geometry\" \"IgnoreProjector\"=\"False\" \"RenderType\"=\"Opaque\"
}\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\tZTest
LEqual\n\t\tZWrite On\n\t\tCull Back\n\t\t\n\t\n\t\t\t\n\t\tHLSLINCLUDE\n\t\t#if

= VFXApplyFog(o.color,i);\n\t\t\t\tVFXClipFragmentColor(o.color.a,i);\n\t\t\t\to.color.a
= saturate(o.color.a);\n\t\t\t\treturn o;\n\t\t\t}\n\t\t\tENDHLSL\n\t\t}\n\t\t\n\n\t\t\n\t}\n}\n"
- compute: 0
name: '[System 1]Left Wing'
source: "Shader \"Hidden/VFX/System 1/Left Wing\"\n{\n\tSubShader\n\t{\t\n\t\tCull
name: '[System 1]A Left Wing'
source: "Shader \"Hidden/VFX/System 1/(A) Left Wing\"\n{\n\tSubShader\n\t{\t\n\t\tCull
Off\n\t\t\n\t\tTags { \"Queue\"=\"AlphaTest\" \"IgnoreProjector\"=\"False\"
\"RenderType\"=\"Opaque\" }\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\tZTest
LEqual\n\t\tZWrite On\n\t\tCull Off\n\t\t\n\t\n\t\t\t\n\t\tHLSLINCLUDE\n\t\t#if

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1076631242;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1076631242;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1076631242;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

ps_input\n\t\t#define VFX_VARYING_POSCS pos\n\t\t#define VFX_VARYING_ALPHA builtInInterpolants.z\n\t\t#define
VFX_VARYING_ALPHATHRESHOLD builtInInterpolants.x\n\t\t#define VFX_VARYING_FRAMEBLEND
builtInInterpolants.y\n\t\t#define VFX_VARYING_UV uv\n\t\t\n\t\t\n\t\t\n\t\t//
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t#define USE_LEGACY_UNITY_MATRIX_VARIABLES\n\t\t\t\t\n\t\t\t#if
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t\t\t\n\t\t\t#if
!(defined(VFX_VARYING_PS_INPUTS) && defined(VFX_VARYING_POSCS))\n\t\t\t#error
VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS and VFX_VARYING_UV must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include

*= VFXGetTextureColor(VFX_SAMPLER(baseColorMap),i).a;\t\n\t\t#endif\n\t\t\t\tVFXClipFragmentColor(alpha,i);\n\t\t\n\t\t\t\treturn
0;\n\t\t\t}\n\t\t\tENDHLSL\n\t\t}\n\t\t\n\n\t}\n}\n"
- compute: 0
name: '[System 1]Right Wing'
source: "Shader \"Hidden/VFX/System 1/Right Wing\"\n{\n\tSubShader\n\t{\t\n\t\tCull
name: '[System 1]B Right Wing'
source: "Shader \"Hidden/VFX/System 1/(B) Right Wing\"\n{\n\tSubShader\n\t{\t\n\t\tCull
Off\n\t\t\n\t\tTags { \"Queue\"=\"AlphaTest\" \"IgnoreProjector\"=\"False\"
\"RenderType\"=\"Opaque\" }\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\tZTest
LEqual\n\t\tZWrite On\n\t\tCull Off\n\t\t\n\t\n\t\t\t\n\t\tHLSLINCLUDE\n\t\t#if

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1076631242;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1076631242;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1076631242;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

ps_input\n\t\t#define VFX_VARYING_POSCS pos\n\t\t#define VFX_VARYING_ALPHA builtInInterpolants.z\n\t\t#define
VFX_VARYING_ALPHATHRESHOLD builtInInterpolants.x\n\t\t#define VFX_VARYING_FRAMEBLEND
builtInInterpolants.y\n\t\t#define VFX_VARYING_UV uv\n\t\t\n\t\t\n\t\t\n\t\t//
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t#define USE_LEGACY_UNITY_MATRIX_VARIABLES\n\t\t\t\t\n\t\t\t#if
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t\t\t\n\t\t\t#if
!(defined(VFX_VARYING_PS_INPUTS) && defined(VFX_VARYING_POSCS))\n\t\t\t#error
VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS and VFX_VARYING_UV must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include

data[1]: -1
data[2]: -1
data[3]: 1
- op: 1
- op: 7
data[3]: 1
- op: 7
data[3]: -1
- op: 1
data[3]: -1
data[3]: 1
data[3]: 1
data[3]: 3
- op: 3
valueIndex: 28
data[0]: 4
data[1]: 19
data[2]: 4
data[3]: -1
valueIndex: 26
valueIndex: 31
valueIndex: 29
valueIndex: 34
valueIndex: 32
valueIndex: 37
data[3]: 3
- op: 3
valueIndex: 35
data[0]: 4
data[1]: 20
data[2]: 4
data[3]: 1
- op: 33
valueIndex: 38
data[0]: 22
data[1]: 24
data[2]: 23
valueIndex: 38
valueIndex: 54
data[3]: 3
- op: 33
valueIndex: 41
data[0]: 25
data[1]: 23
data[2]: 22
data[3]: -1
data[3]: 1
valueIndex: 57
valueIndex: 55
data[3]: 1
data[3]: 3
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 7
- op: 1
valueIndex: 60
valueIndex: 59
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 2
- op: 1
valueIndex: 61
data[0]: -1
data[1]: -1

data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 2
- op: 1
valueIndex: 65
data[0]: -1
data[1]: -1
data[2]: -1
valueIndex: 64
valueIndex: 66
data[3]: 7
data[3]: 6
valueIndex: 66
valueIndex: 67
valueIndex: 68
valueIndex: 69
valueIndex: 71
valueIndex: 72
valueIndex: 73
valueIndex: 74
valueIndex: 74
valueIndex: 75
valueIndex: 76
valueIndex: 77
valueIndex: 79
valueIndex: 80
valueIndex: 81
valueIndex: 82
valueIndex: 82
valueIndex: 83
valueIndex: 84
valueIndex: 85
valueIndex: 86
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 1
- op: 1
valueIndex: 87
data[0]: -1
data[1]: -1

data[3]: 1
- op: 1
valueIndex: 89
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 1
- op: 1
valueIndex: 90
valueIndex: 90
valueIndex: 91
valueIndex: 91
data[0]: 27
valueIndex: 92
data[0]: 26
valueIndex: 107
data[0]: 13
data[1]: 28
valueIndex: 108
data[0]: 15
data[1]: 27
valueIndex: 108
valueIndex: 109
valueIndex: 109
valueIndex: 110
valueIndex: 111
valueIndex: 112
valueIndex: 113
valueIndex: 114
data[0]: -1
data[1]: -1
data[2]: -1

- m_ExpressionIndex: 9
m_Value: 2
- m_ExpressionIndex: 10
m_Value: -2
- m_ExpressionIndex: 11
- m_ExpressionIndex: 11
m_Value: -2
m_Value: -1
m_Value: -4
m_Value: -4
m_Value: -0.72
m_Value: -0.72
m_Value: -1
m_Value: 0.024
- m_ExpressionIndex: 19
- m_ExpressionIndex: 21
- m_ExpressionIndex: 20
m_Value: 0.024
- m_ExpressionIndex: 25
- m_ExpressionIndex: 28
- m_ExpressionIndex: 27
- m_ExpressionIndex: 29
- m_ExpressionIndex: 30
- m_ExpressionIndex: 32
- m_ExpressionIndex: 33
- m_ExpressionIndex: 37
- m_ExpressionIndex: 38
- m_ExpressionIndex: 44
- m_ExpressionIndex: 45
- m_ExpressionIndex: 45
m_Value: 6.2831855
m_Value: 0.8634909
m_Value: 6.2831855
m_Value: 0.8634909
- m_ExpressionIndex: 48
- m_ExpressionIndex: 54
- m_ExpressionIndex: 55
- m_ExpressionIndex: 30
- m_ExpressionIndex: 31
- m_ExpressionIndex: 31
- m_ExpressionIndex: 32
- m_ExpressionIndex: 36
- m_ExpressionIndex: 37
- m_ExpressionIndex: 38
- m_ExpressionIndex: 39
- m_ExpressionIndex: 42
- m_ExpressionIndex: 43
- m_ExpressionIndex: 43
- m_ExpressionIndex: 44
- m_ExpressionIndex: 52
- m_ExpressionIndex: 53
- m_ExpressionIndex: 53
- m_ExpressionIndex: 54
m_Value: {x: 1, y: 1}
m_Vector3f:
m_Array:

m_Value: {x: 0, y: 0.8, z: 0}
- m_ExpressionIndex: 22
- m_ExpressionIndex: 21
m_Value: {x: -1, y: -1, z: -1}
- m_ExpressionIndex: 23
- m_ExpressionIndex: 23
- m_ExpressionIndex: 24
- m_ExpressionIndex: 24
m_Value: {x: -1, y: -1, z: -1}
- m_ExpressionIndex: 26
- m_ExpressionIndex: 28
- m_ExpressionIndex: 35
- m_ExpressionIndex: 36
- m_ExpressionIndex: 39
- m_ExpressionIndex: 40
m_Value: {x: 4, y: 4, z: 4}
m_Vector4f:
m_Array: []

m_Value: 0
- m_ExpressionIndex: 41
- m_ExpressionIndex: 34
m_Value: 1076631242
- m_ExpressionIndex: 42
- m_ExpressionIndex: 51
- m_ExpressionIndex: 52
m_Value: 1
m_Int:
m_Array: []

m_Array: []
m_NamedObject:
m_Array:
- m_ExpressionIndex: 33
m_Value: {fileID: 2800000, guid: a9294f3c73bd98842a3deefd044b5697, type: 3}
- m_ExpressionIndex: 34
- m_ExpressionIndex: 29
- m_ExpressionIndex: 40
- m_ExpressionIndex: 35
m_Value: {fileID: 2800000, guid: a9294f3c73bd98842a3deefd044b5697, type: 3}
- m_ExpressionIndex: 41
index: 44
index: 45
index: 43
index: 44
index: 42
index: 43
index: 28
index: 27
m_Buffers:
- type: 1
size: 882

buffers: []
values:
- nameId: Count
index: 36
index: 37
index: 38
index: 39
params: []
processor: {fileID: 0}
shaderSourceIndex: -1

index: 1
values:
- nameId: bounds_center
index: 23
index: 24
index: 39
index: 40
tasks:
- type: 536870912
buffers:

values: []
params:
- nameId: bounds_center
index: 23
index: 24
index: 39
index: 40
processor: {fileID: 0}
shaderSourceIndex: 0
- type: 805306368

- nameId: uniform_b
index: 7
- nameId: deltaTime_a
index: 48
- nameId: InvFieldTransform_b
- nameId: InvFieldTransform_b
index: 50
index: 27
index: 26
- nameId: uniform_f
index: 17
params: []

- nameId: uniform_b
index: 7
- nameId: mainTexture
index: 34
index: 29
index: 40
index: 41
index: 41
index: 42
- nameId: sortPriority
index: 0
processor: {fileID: 0}

- nameId: uniform_b
index: 7
- nameId: Angle_d
index: 28
index: 27
index: 33
index: 35
params:
- nameId: sortPriority
index: 0

- nameId: uniform_b
index: 7
- nameId: Angle_d
index: 50
index: 51
index: 33
index: 35
params:
- nameId: sortPriority
index: 0

preRefraction: 0
materialType: 2
onlyAmbientLighting: 0
diffusionProfileAsset: {fileID: 0}
diffusionProfileAsset: {fileID: 11400000, guid: a6e49c92568d36640bf75bae8006ad8f,
type: 2}
multiplyThicknessWithAlpha: 0
useBaseColorMap: 3
useMaskMap: 0

preRefraction: 0
materialType: 2
onlyAmbientLighting: 0
diffusionProfileAsset: {fileID: 0}
diffusionProfileAsset: {fileID: 11400000, guid: a6e49c92568d36640bf75bae8006ad8f,
type: 2}
multiplyThicknessWithAlpha: 0
useBaseColorMap: 3
useMaskMap: 0

10
Assets/Samples/GenieMagicLamp/VFX/GenieFX.vfx


+= uint(asfloat(sourceAttributeBuffer.Load((sourceIndex * 0x1 + 0x0) << 2)));\n
\ if (id < currentSumSpawnCount)\n {\n break;\n
\ }\n }\n */\n \n\n#endif\n float lifetime
= (float)0;\n uint seed = (uint)0;\n float3 position = float3(0,0,0);\n
= (float)1;\n uint seed = (uint)0;\n float3 position = float3(0,0,0);\n
\ float3 direction = float3(0,0,1);\n float3 velocity = float3(0,0,0);\n
\ float size = (float)0.1;\n float scaleX = (float)1;\n float
scaleY = (float)1;\n float age = (float)0;\n bool alive = (bool)true;\n

+= uint(asfloat(sourceAttributeBuffer.Load((sourceIndex * 0x1 + 0x0) << 2)));\n
\ if (id < currentSumSpawnCount)\n {\n break;\n
\ }\n }\n */\n \n\n#endif\n float lifetime
= (float)0;\n uint seed = (uint)0;\n float3 position = float3(0,0,0);\n
= (float)1;\n uint seed = (uint)0;\n float3 position = float3(0,0,0);\n
\ float3 direction = float3(0,0,1);\n float3 velocity = float3(0,0,0);\n
\ float size = (float)0.1;\n float alpha = (float)1;\n float
texIndex = (float)0;\n float age = (float)0;\n uint particleId

on CPU\n#endif\n\n if (id < maxThreadId)\n {\n#if VFX_USE_SPAWNER_FROM_GPU\n
\ int sourceIndex = eventList[id];\n#endif\n uint particleIndex
= id + currentSpawnIndex;\n\t\t\n#if !VFX_USE_SPAWNER_FROM_GPU\n \n#endif\n
\ float lifetime = (float)0;\n uint seed = (uint)0;\n float3
\ float lifetime = (float)1;\n uint seed = (uint)0;\n float3
position = float3(0,0,0);\n float size = (float)0.1;\n float scaleX
= (float)1;\n float scaleY = (float)1;\n float alpha = (float)1;\n
\ float texIndex = (float)0;\n float age = (float)0;\n float3

ps_input\n\t\t#define VFX_VARYING_POSCS pos\n\t\t#define VFX_VARYING_ALPHA builtInInterpolants.z\n\t\t#define
VFX_VARYING_ALPHATHRESHOLD builtInInterpolants.x\n\t\t#define VFX_VARYING_FRAMEBLEND
builtInInterpolants.y\n\t\t#define VFX_VARYING_UV uv\n\t\t\t\t\n\t\t\n\t\t\n\t\t//
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t#define USE_LEGACY_UNITY_MATRIX_VARIABLES\n\t\t\t\t\n\t\t\t#if
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t\t\t\n\t\t\t#if
!(defined(VFX_VARYING_PS_INPUTS) && defined(VFX_VARYING_POSCS))\n\t\t\t#error
VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS and VFX_VARYING_UV must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include

+= uint(asfloat(sourceAttributeBuffer.Load((sourceIndex * 0x1 + 0x0) << 2)));\n
\ if (id < currentSumSpawnCount)\n {\n break;\n
\ }\n }\n */\n \n\n#endif\n float3 position
= float3(0,0,0);\n float lifetime = (float)0;\n uint seed = (uint)0;\n
= float3(0,0,0);\n float lifetime = (float)1;\n uint seed = (uint)0;\n
\ float size = (float)0.1;\n float scaleX = (float)1;\n float
scaleY = (float)1;\n float pivotY = (float)0;\n float angleZ =
(float)0;\n float3 targetPosition = float3(0,0,0);\n float texIndex

26
Assets/Samples/GenieMagicLamp/VFX/SandFX.vfx


\ if (id < currentSumSpawnCount)\n {\n break;\n
\ }\n }\n */\n \n\n#endif\n float3 position
= float3(0,0,0);\n uint particleId = (uint)0;\n float lifetime
= (float)0;\n uint seed = (uint)0;\n float3 color = float3(1,1,1);\n
= (float)1;\n uint seed = (uint)0;\n float3 color = float3(1,1,1);\n
\ float size = (float)0.1;\n float3 velocity = float3(0,0,0);\n
\ float age = (float)0;\n bool alive = (bool)true;\n \n\n#if
VFX_USE_PARTICLEID_CURRENT\n particleId = particleIndex;\n#endif\n#if

/ size;\n\t\t\t}\n\t\t\tvoid ScreenSpaceSize_18C(float3 position, float size,
inout float scaleX, inout float scaleY, inout float scaleZ, float2 ReferenceResolution,
float PixelSize) /*sizeMode:PixelRelativeToResolution sizeZMode:SameAsSizeX
*/\n\t\t\t{\n\t\t\t \n\t\t\t float2 localSize = (size * float2(scaleX,scaleY));\n\t\t\t
\ float clipPosW = TransformPositionVFXToClip(position).w;\n\t\t\t float
minSize = clipPosW / (0.5f * min(UNITY_MATRIX_P[0][0] * _ScreenParams.x,-UNITY_MATRIX_P[1][1]
* _ScreenParams.y)); // max size in one pixel\n\t\t\t float2 scale = float2(PixelSize,
PixelSize) * (_ScreenParams.xy/ReferenceResolution);\n\t\t\t localSize =
minSize * scale;\n\t\t\t scaleX = localSize.x / size;\n\t\t\t scaleY =
localSize.y / size;\n\t\t\t scaleZ = localSize.x;\n\t\t\t}\n\t\t\t\n\n\t\t\t\n\t\t\t#pragma
vertex vert\n\t\t\tVFX_VARYING_PS_INPUTS vert(uint id : SV_VertexID, uint instanceID
: SV_InstanceID)\n\t\t\t{\n\t\t\t\tuint index = (id >> 2) + instanceID * 2048;\n\t\t\t\tVFX_VARYING_PS_INPUTS
o = (VFX_VARYING_PS_INPUTS)0;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\tuint deadCount
= 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\treturn o; // cull\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if
*/\n\t\t\t{\n\t\t\t \n\t\t\t float clipPosW = TransformPositionVFXToClip(position).w;\n\t\t\t
\ float2 newScale = (float2(PixelSize, PixelSize) * (_ScreenParams.xy/ReferenceResolution)
* clipPosW) / (size * 0.5f * min(UNITY_MATRIX_P[0][0] * _ScreenParams.x,-UNITY_MATRIX_P[1][1]
* _ScreenParams.y));\n\t\t\t scaleX = newScale.x;\n\t\t\t scaleY = newScale.y;\n\t\t\t
\ scaleZ = scaleX;\n\t\t\t}\n\t\t\t\n\n\t\t\t\n\t\t\t#pragma vertex vert\n\t\t\tVFX_VARYING_PS_INPUTS
vert(uint id : SV_VertexID, uint instanceID : SV_InstanceID)\n\t\t\t{\n\t\t\t\tuint
index = (id >> 2) + instanceID * 2048;\n\t\t\t\tVFX_VARYING_PS_INPUTS o = (VFX_VARYING_PS_INPUTS)0;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\tuint
deadCount = 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\treturn o; // cull\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\tfloat3
position = asfloat(attributeBuffer.Load3((index * 0x8 + 0x0) << 2));\n\t\t\t\t\t\tuint
particleId = (attributeBuffer.Load((index * 0x2 + 0x1F400) << 2));\n\t\t\t\t\t\tfloat

\ if (id < currentSumSpawnCount)\n {\n break;\n
\ }\n }\n */\n \n\n#endif\n float3 position
= float3(0,0,0);\n uint particleId = (uint)0;\n float lifetime
= (float)0;\n uint seed = (uint)0;\n float3 color = float3(1,1,1);\n
= (float)1;\n uint seed = (uint)0;\n float3 color = float3(1,1,1);\n
\ float size = (float)0.1;\n bool alive = (bool)true;\n float
texIndex = (float)0;\n float3 velocity = float3(0,0,0);\n float
age = (float)0;\n \n\n#if VFX_USE_PARTICLEID_CURRENT\n particleId

13
Assets/Samples/GrassWind/Environment_GrassWind.vfx


serializedVersion: 2
x: -49
y: -190
width: 1150
height: 1916
width: 1142
height: 1888
--- !u!114 &114350483966674976
MonoBehaviour:
m_ObjectHideFlags: 1

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1080650646;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

m_Uint:
m_Array:
- m_ExpressionIndex: 5
m_Value: 0
m_Value: 1080650646
m_Int:
m_Array: []
m_Matrix4x4f:

preRefraction: 0
materialType: 4
onlyAmbientLighting: 0
diffusionProfileAsset: {fileID: 0}
diffusionProfileAsset: {fileID: 11400000, guid: 578e14a174424a64f901ea91cbdf10e3,
type: 2}
multiplyThicknessWithAlpha: 0
useBaseColorMap: 2
useMaskMap: 0

393
Assets/Samples/GrassWind/Grass.vfx


collapsed: 0
uiBounds:
serializedVersion: 2
x: -3961
y: -1101
width: 6320
height: 4555
x: -3969
y: -1109
width: 5978
height: 4582
--- !u!114 &114350483966674976
MonoBehaviour:
m_ObjectHideFlags: 1

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1078544746;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1078544746;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1078544746;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

ps_input\n\t\t#define VFX_VARYING_POSCS pos\n\t\t#define VFX_VARYING_ALPHA builtInInterpolants.z\n\t\t#define
VFX_VARYING_ALPHATHRESHOLD builtInInterpolants.x\n\t\t#define VFX_VARYING_FRAMEBLEND
builtInInterpolants.y\n\t\t#define VFX_VARYING_UV uv\n\t\t\n\t\t\n\t\t\n\t\t//
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t#define USE_LEGACY_UNITY_MATRIX_VARIABLES\n\t\t\t\t\n\t\t\t#if
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t\t\t\n\t\t\t#if
!(defined(VFX_VARYING_PS_INPUTS) && defined(VFX_VARYING_POSCS))\n\t\t\t#error
VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS and VFX_VARYING_UV must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include

data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 3
data[3]: 1
valueIndex: 22
valueIndex: 20
data[3]: 1
data[3]: 3
- op: 1
valueIndex: 23
data[0]: -1

- op: 25
- op: 50
data[0]: 11
data[1]: 14
data[0]: 10
data[1]: -1
data[3]: 1
- op: 5
valueIndex: 27
data[0]: 6
data[1]: -1
data[2]: 0
data[3]: 3
data[3]: 0
valueIndex: 28
valueIndex: 30
valueIndex: 29
valueIndex: 31
- op: 50
valueIndex: 30
data[0]: 10
- op: 5
valueIndex: 32
data[0]: 6
data[2]: 0
data[3]: 3
- op: 25
valueIndex: 33
data[0]: 11
data[1]: 13
data[3]: 0
data[3]: 1
- op: 1
valueIndex: 34
data[0]: -1

- op: 27
valueIndex: 37
data[0]: 19
data[1]: 17
data[0]: 18
data[1]: 19
data[0]: 16
data[1]: 18
data[0]: 20
data[1]: 17
data[2]: -1
data[3]: 1
- op: 31

data[1]: -1
data[2]: -1
data[3]: 1
- op: 1
- op: 25
data[0]: -1
data[1]: -1
data[0]: 24
data[1]: 25
- op: 25
- op: 1
data[0]: 24
data[1]: 25
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 1
- op: 1

data[1]: -1
data[2]: -1
data[3]: 1
- op: 19
- op: 1
data[0]: 27
data[0]: -1
- op: 1
- op: 19
data[0]: -1
data[0]: 26
data[1]: -1
data[2]: -1
data[3]: 1

data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 1
data[3]: 13
data[3]: 13
data[3]: 1
- op: 5
valueIndex: 52
data[0]: 21
data[1]: -1
data[2]: 1
data[3]: 3
- op: 50
valueIndex: 53
data[0]: 33
data[1]: -1
data[2]: -1
data[3]: 1
valueIndex: 52
valueIndex: 57
valueIndex: 53
valueIndex: 58
- op: 5
valueIndex: 54
data[0]: 21
data[1]: -1
data[2]: 1
data[3]: 3
- op: 50
valueIndex: 55
data[0]: 34
data[1]: -1
data[2]: -1
data[3]: 1
- op: 7
valueIndex: 59
data[0]: -1

- op: 1
valueIndex: 60
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 3
- op: 1
valueIndex: 63
valueIndex: 63
valueIndex: 66
- op: 1
valueIndex: 65
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 3
- op: 1
valueIndex: 68
data[0]: -1

- op: 25
valueIndex: 74
data[0]: 45
data[1]: 41
data[1]: 42
- op: 25
- op: 1
data[0]: 5
data[1]: 42
data[2]: -1
data[3]: 3
- op: 1
valueIndex: 79
- op: 25
valueIndex: 77
data[0]: 5
data[1]: 41
data[2]: -1
data[3]: 3
- op: 1
valueIndex: 80
data[0]: -1

data[1]: -1
data[2]: -1
data[3]: 2
- op: 1
- op: 9
data[3]: 13
data[3]: -1
valueIndex: 88
valueIndex: 103
data[3]: 2
- op: 9
valueIndex: 90
data[3]: 13
- op: 1
valueIndex: 104
data[3]: -1
data[3]: 2
data[0]: 49
data[0]: 47
data[1]: 29
data[2]: -1
data[3]: 1

data[1]: -1
data[2]: -1
data[3]: 3
- op: 26
- op: 1
data[0]: 50
data[1]: 54
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 1
- op: 26
valueIndex: 111
data[0]: 52
data[1]: 55
valueIndex: 112
valueIndex: 113
valueIndex: 113
valueIndex: 114
valueIndex: 114
data[0]: 53
valueIndex: 115
data[0]: 54
valueIndex: 118
valueIndex: 119
valueIndex: 119
valueIndex: 120
data[3]: 3
data[3]: 1
valueIndex: 122
valueIndex: 121
data[3]: 1
data[3]: 6
valueIndex: 123
valueIndex: 122
data[3]: 1
data[3]: 3
valueIndex: 124
valueIndex: 125
valueIndex: 126
valueIndex: 127
valueIndex: 127
valueIndex: 128
valueIndex: 130
valueIndex: 131
valueIndex: 133
valueIndex: 134
data[1]: 36
data[1]: 38
valueIndex: 134
valueIndex: 135
valueIndex: 137
valueIndex: 138
valueIndex: 139
valueIndex: 140
valueIndex: 142
valueIndex: 143
valueIndex: 145
valueIndex: 146
valueIndex: 147
valueIndex: 148
valueIndex: 149
valueIndex: 150
valueIndex: 151
valueIndex: 152
valueIndex: 154
valueIndex: 155
valueIndex: 157
valueIndex: 158
valueIndex: 159
valueIndex: 160
valueIndex: 161
valueIndex: 162
data[0]: -1
data[1]: -1
data[2]: -1

m_Value: 0.9
- m_ExpressionIndex: 11
m_Value: -1
- m_ExpressionIndex: 14
- m_ExpressionIndex: 13
- m_ExpressionIndex: 18
- m_ExpressionIndex: 17
- m_ExpressionIndex: 26
- m_ExpressionIndex: 27
- m_ExpressionIndex: 31
- m_ExpressionIndex: 30
- m_ExpressionIndex: 33
- m_ExpressionIndex: 34
- m_ExpressionIndex: 36
- m_ExpressionIndex: 38
- m_ExpressionIndex: 48
- m_ExpressionIndex: 47
m_Value: 0.64
- m_ExpressionIndex: 49
- m_ExpressionIndex: 49
m_Value: 0.64
- m_ExpressionIndex: 59
- m_ExpressionIndex: 58
m_Value: 2
- m_ExpressionIndex: 60
- m_ExpressionIndex: 60
- m_ExpressionIndex: 61
- m_ExpressionIndex: 62
- m_ExpressionIndex: 63
- m_ExpressionIndex: 65
m_Value: 2
- m_ExpressionIndex: 67
- m_ExpressionIndex: 68
- m_ExpressionIndex: 82
- m_ExpressionIndex: 83
m_Value: 0.1304345
m_Vector2f:
m_Array:

m_Value: {x: 3, y: 0}
- m_ExpressionIndex: 50
m_Value: {x: 1, y: 1}
m_Value: {x: 10, y: 10}
m_Value: {x: 10, y: 10}
- m_ExpressionIndex: 54
m_Value: {x: 1, y: 1}
- m_ExpressionIndex: 55
- m_ExpressionIndex: 66
- m_ExpressionIndex: 67
- m_ExpressionIndex: 80
- m_ExpressionIndex: 81
m_Value: {x: 0, y: 0}
m_Vector3f:
m_Array:

m_Value: {x: 0, y: 0, z: 0}
- m_ExpressionIndex: 13
m_Value: {x: 0, y: 0, z: 0}
- m_ExpressionIndex: 15
- m_ExpressionIndex: 14
- m_ExpressionIndex: 15
m_Value: {x: 0, y: 0, z: 0}
- m_ExpressionIndex: 42
- m_ExpressionIndex: 41
- m_ExpressionIndex: 63
- m_ExpressionIndex: 66
- m_ExpressionIndex: 68
m_Value: {x: 0.8584906, y: 0.6685152, z: 0.376602}
m_Value: {x: 0.8584906, y: 0.6685152, z: 0.376602}
- m_ExpressionIndex: 70
- m_ExpressionIndex: 71
- m_ExpressionIndex: 72
- m_ExpressionIndex: 73
m_Value: {x: 1, y: 1, z: -1}
m_Value: {x: 1, y: 1, z: -1}
- m_ExpressionIndex: 75
- m_ExpressionIndex: 78
- m_ExpressionIndex: 79
- m_ExpressionIndex: 79
- m_ExpressionIndex: 80
m_Value: {x: 0, y: 8, z: 0}
m_Vector4f:
m_Array: []

m_Value: 0
- m_ExpressionIndex: 65
m_Value: 1078544746
m_Int:
m_Array: []
m_Matrix4x4f:

m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
- m_ExpressionIndex: 34
- m_ExpressionIndex: 33
m_Value:
serializedVersion: 2
m_Curve:

m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
- m_ExpressionIndex: 53
- m_ExpressionIndex: 54
m_Value:
serializedVersion: 2
m_Curve:

m_Array:
- m_ExpressionIndex: 32
m_Value: {fileID: 2800000, guid: 16db9489bc8a09d49b862f24c2f73ec2, type: 3}
- m_ExpressionIndex: 72
- m_ExpressionIndex: 73
- m_ExpressionIndex: 75
m_Value: {fileID: 2800000, guid: 197a881ae2a73b7478cb2f371ecfa61a, type: 3}
m_Value: {fileID: 2800000, guid: b2eb562a4180b674680ef2476f41cda5, type: 3}
m_Value: {fileID: 2800000, guid: 197a881ae2a73b7478cb2f371ecfa61a, type: 3}
m_Value: {fileID: 2800000, guid: b2eb562a4180b674680ef2476f41cda5, type: 3}
- m_ExpressionIndex: 78
- m_ExpressionIndex: 81
- m_ExpressionIndex: 82
index: 76
index: 77
index: 53
index: 54
index: 54
index: 55
index: 14
index: 13
index: 18
index: 17
index: 34
index: 33
index: 49
index: 47
index: 13
index: 15
- nameId: Terrain Bounds_size
index: 21
- nameId: Terrain HeightMap

- nameId: Wind NoiseTexture
index: 77
index: 78
index: 52
index: 50
m_Buffers:
- type: 1
size: 1048576

buffers: []
values:
- nameId: Count
index: 66
index: 67
index: 80
index: 81
params: []
processor: {fileID: 0}
shaderSourceIndex: -1

index: 1
values:
- nameId: bounds_center
index: 79
index: 80
index: 78
index: 79
tasks:
- type: 536870912
buffers:

index: 2
values:
- nameId: Blend_c
index: 70
index: 71
index: 75
index: 76
index: 72
index: 73
index: 79
index: 80
index: 78
index: 79
processor: {fileID: 0}
shaderSourceIndex: 0
- type: 805306368

values:
- nameId: uniform_b
index: 18
index: 17
index: 30
index: 31
index: 20
index: 16
- nameId: uniform_e
index: 0
- nameId: uniform_f

- nameId: uniform_h
index: 35
index: 37
index: 47
index: 48
params: []
processor: {fileID: 0}
shaderSourceIndex: 1

- nameId: uniform_b
index: 0
- nameId: uniform_c
index: 20
index: 16
index: 13
index: 15
index: 37
index: 35
index: 52
index: 50
index: 55
index: 53
index: 61
index: 62
index: 38
index: 36
index: 54
index: 55
index: 58
index: 59
index: 77
index: 78
index: 76
index: 77
index: 81
index: 82
params:
- nameId: sortPriority
index: 0

preRefraction: 0
materialType: 2
onlyAmbientLighting: 0
diffusionProfileAsset: {fileID: 0}
diffusionProfileAsset: {fileID: 11400000, guid: d70a4a3f7cca7914299c768fe225c1a6,
type: 2}
multiplyThicknessWithAlpha: 1
useBaseColorMap: 3
useMaskMap: 0

28
Assets/Samples/GrassWind/GrassWind.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.076353915, g: 0.08583054, b: 0.10658045, a: 1}
m_IndirectSpecularColor: {r: 0.0764912, g: 0.08598134, b: 0.106766805, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 531598546}
m_LocalRotation: {x: 0.0043822355, y: -0.05120402, z: -0.00022469847, w: -0.9986786}
m_LocalRotation: {x: 0.0043678433, y: -0.09571875, z: -0.00042003064, w: -0.99539876}
m_LocalPosition: {x: 0.884, y: 3.312, z: -6.117}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []

- target: {fileID: 7876801898493197224, guid: 7737647c22c1fc64a88d5cd030c352ce,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.07538755
value: -0.07513996
value: 0.0038652562
value: 0.0072255544
objectReference: {fileID: 0}
- target: {fileID: 7876801898493197224, guid: 7737647c22c1fc64a88d5cd030c352ce,
type: 3}

- target: {fileID: 7876801898493197224, guid: 7737647c22c1fc64a88d5cd030c352ce,
type: 3}
propertyPath: m_LocalRotation.y
value: 0.05105841
value: 0.09544659
value: 0.99583876
value: 0.99256825
value: -0.004382305
value: -0.0043679164
value: 0.05120402
value: 0.09571876
value: 0.00022470202
value: 0.0004200377
value: 0.9986786
value: 0.9953988
value: -0.004382308
value: -0.004367916
value: 0.05120402
value: 0.09571876
value: 0.0002246888
value: 0.0004200242
value: 0.9986786
value: 0.9953988
objectReference: {fileID: 0}
- target: {fileID: 13783410, guid: 7737647c22c1fc64a88d5cd030c352ce, type: 3}
propertyPath: m_Materials.Array.data[0]

7
Assets/Samples/MorphingFace/MorphingFace.vfx


VFX_VARYING_ALPHA builtInInterpolants.x\n\t\t#define VFX_VARYING_ALPHATHRESHOLD
builtInInterpolants.y\n\t\t#endif\n\t\t#define VFX_VARYING_OFFSETS offsets\n\t\t#define
VFX_VARYING_FACEID faceID\n\t\t\n\t\t\n\t\t\n\t\t// Needed for HDRP\n\t\t#define
SHADERPASS SHADERPASS_SHADOWS\n\t\t#define USE_LEGACY_UNITY_MATRIX_VARIABLES\n\t\t\t\n\t\t\t#if
!(defined(VFX_VARYING_PS_INPUTS) && defined(VFX_VARYING_POSCS))\n\t\t\t#error
VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include
SHADERPASS SHADERPASS_SHADOWS\n\t\t\t\n\t\t\t#if !(defined(VFX_VARYING_PS_INPUTS)
&& defined(VFX_VARYING_POSCS))\n\t\t\t#error VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS
must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include \"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/VFXCommon.cginc\"\n\t\t\t\n\n\t\t\tvoid
SetAttribute_D5151640(inout float scaleX, inout float scaleZ, float2 Scale)
/*attribute:scale Composition:Overwrite Source:Slot Random:Off channels:XZ */\n\t\t\t{\n\t\t\t

2
Assets/Samples/Portal/Portal.vfx


\ }\n }\n */\n \n\n#endif\n float3 position
= float3(0,0,0);\n uint seed = (uint)0;\n float3 direction = float3(0,0,1);\n
\ float3 color = float3(1,1,1);\n float3 velocity = float3(0,0,0);\n
\ float mass = (float)1;\n float lifetime = (float)0;\n uint
\ float mass = (float)1;\n float lifetime = (float)1;\n uint
particleId = (uint)0;\n float age = (float)0;\n bool alive = (bool)true;\n
\ \n\n#if VFX_USE_PARTICLEID_CURRENT\n particleId = particleIndex;\n#endif\n#if
VFX_USE_SEED_CURRENT\n seed = WangHash(particleIndex ^ systemSeed);\n#endif\n

2
Assets/Samples/UnityLogo/UnityLogo.vfx


+= uint(asfloat(sourceAttributeBuffer.Load((sourceIndex * 0x1 + 0x0) << 2)));\n
\ if (id < currentSumSpawnCount)\n {\n break;\n
\ }\n }\n */\n \n\n#endif\n float lifetime
= (float)0;\n uint seed = (uint)0;\n float3 color = float3(1,1,1);\n
= (float)1;\n uint seed = (uint)0;\n float3 color = float3(1,1,1);\n
\ float3 position = float3(0,0,0);\n float3 direction = float3(0,0,1);\n
\ uint particleId = (uint)0;\n float3 velocity = float3(0,0,0);\n
\ float age = (float)0;\n bool alive = (bool)true;\n \n\n#if

342
Assets/Samples/Volumetric/Volumetric.vfx


x: -898
y: 232
width: 2558
height: 2090
height: 2092
--- !u!114 &114350483966674976
MonoBehaviour:
m_ObjectHideFlags: 1

\ }\n }\n */\n \n\n#endif\n float size
= (float)0.1;\n float3 position = float3(0,0,0);\n uint seed =
(uint)0;\n float3 direction = float3(0,0,1);\n float lifetime
= (float)0;\n float texIndex = (float)0;\n uint particleId = (uint)0;\n
= (float)1;\n float texIndex = (float)0;\n uint particleId = (uint)0;\n
\ float3 velocity = float3(0,0,0);\n float age = (float)0;\n bool
alive = (bool)true;\n \n\n#if VFX_USE_PARTICLEID_CURRENT\n particleId
= particleIndex;\n#endif\n#if VFX_USE_SEED_CURRENT\n seed = WangHash(particleIndex

* 0x8 + 0x30D84) << 2));\n\t\t\tfloat mass = (float)1;\n\t\t\tfloat age = asfloat(attributeBuffer.Load((index
* 0x8 + 0x30D83) << 2));\n\t\t\t\n\n\t\t\t\n#if VFX_USE_OLDPOSITION_CURRENT\n\t\t\toldPosition
= position;\n#endif\n\t\t\t\n\t\t\t{\n\t\t\t float tmp_bf = SampleCurve(uniform_b,age);\n\t\t\t
\ float tmp_bh = max(tmp_bf, (float)0);\n\t\t\t float tmp_bj = min(tmp_bh,
(float)1);\n\t\t\t float3 tmp_bl = float3((float)0.5, tmp_bj, (float)2);\n\t\t\t
\ float3 tmp_bn = GeneratePerlinCurlNoise(position, tmp_bl.x, (int)3, tmp_bl.y,
tmp_bl.z);\n\t\t\t float tmp_bo = SampleCurve(uniform_c,age);\n\t\t\t float3
tmp_bp = float3(tmp_bo, tmp_bo, tmp_bo);\n\t\t\t float3 tmp_bq = tmp_bn *
tmp_bp;\n\t\t\t float3 tmp_br = uniform_d - position;\n\t\t\t float3 tmp_bs
= tmp_br * tmp_br;\n\t\t\t float tmp_bt = tmp_bs[2];\n\t\t\t float tmp_bu
= tmp_bs[1];\n\t\t\t float tmp_bv = tmp_bt + tmp_bu;\n\t\t\t float tmp_bw
= tmp_bs[0];\n\t\t\t float tmp_bx = tmp_bv + tmp_bw;\n\t\t\t float tmp_by
= pow(tmp_bx, (float)0.5);\n\t\t\t float tmp_bz = (float)1 / tmp_by;\n\t\t\t
\ float3 tmp_ca = float3(tmp_bz, tmp_bz, tmp_bz);\n\t\t\t float3 tmp_cb
= tmp_br * tmp_ca;\n\t\t\t float3 tmp_cc = tmp_cb * uniform_e;\n\t\t\t float3
tmp_cd = tmp_bq + tmp_cc;\n\t\t\t Force_1( /*inout */velocity, mass, tmp_cd,
(float)3, 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,
\ float tmp_bg = saturate(tmp_bf);\n\t\t\t float3 tmp_bi = float3((float)0.5,
tmp_bg, (float)2);\n\t\t\t float3 tmp_bk = GeneratePerlinCurlNoise(position,
tmp_bi.x, (int)3, tmp_bi.y, tmp_bi.z);\n\t\t\t float tmp_bl = SampleCurve(uniform_c,age);\n\t\t\t
\ float3 tmp_bm = float3(tmp_bl, tmp_bl, tmp_bl);\n\t\t\t float3 tmp_bn
= tmp_bk * tmp_bm;\n\t\t\t float3 tmp_bo = uniform_d - position;\n\t\t\t
\ float3 tmp_bq = tmp_bo * tmp_bo;\n\t\t\t float tmp_br = tmp_bq[2];\n\t\t\t
\ float tmp_bs = tmp_bq[1];\n\t\t\t float tmp_bt = tmp_br + tmp_bs;\n\t\t\t
\ float tmp_bu = tmp_bq[0];\n\t\t\t float tmp_bv = tmp_bt + tmp_bu;\n\t\t\t
\ float tmp_bw = pow(tmp_bv, (float)0.5);\n\t\t\t float tmp_bx = (float)1
/ tmp_bw;\n\t\t\t float3 tmp_by = float3(tmp_bx, tmp_bx, tmp_bx);\n\t\t\t
\ float3 tmp_bz = tmp_bo * tmp_by;\n\t\t\t float3 tmp_ca = tmp_bz * uniform_e;\n\t\t\t
\ float3 tmp_cb = tmp_bn + tmp_ca;\n\t\t\t Force_1( /*inout */velocity,
mass, tmp_cb, (float)3, 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\n\t\t\tif (alive)\n\t\t\t{\n\t\t\t\tattributeBuffer.Store3((index
* 0x8 + 0x30D80) << 2,asuint(position));\n\t\t\t\tattributeBuffer.Store3((index
* 0x8 + 0x30D84) << 2,asuint(velocity));\n\t\t\t\tattributeBuffer.Store((index

* 0x8 + 0x30D83) << 2));\n\t\tbool alive = (attributeBuffer.Load((index * 0x8
+ 0x30D87) << 2));\n\t\t\n\n\t\t\n#if VFX_USE_OLDPOSITION_CURRENT\n\t\toldPosition
= position;\n#endif\n\t\t\n\t\t{\n\t\t float tmp_bf = SampleCurve(uniform_b,age);\n\t\t
\ float tmp_bh = max(tmp_bf, (float)0);\n\t\t float tmp_bj = min(tmp_bh,
(float)1);\n\t\t float3 tmp_bl = float3((float)0.5, tmp_bj, (float)2);\n\t\t
\ float3 tmp_bn = GeneratePerlinCurlNoise(position, tmp_bl.x, (int)3, tmp_bl.y,
tmp_bl.z);\n\t\t float tmp_bo = SampleCurve(uniform_c,age);\n\t\t float3
tmp_bp = float3(tmp_bo, tmp_bo, tmp_bo);\n\t\t float3 tmp_bq = tmp_bn * tmp_bp;\n\t\t
\ float3 tmp_br = uniform_d - position;\n\t\t float3 tmp_bs = tmp_br *
tmp_br;\n\t\t float tmp_bt = tmp_bs[2];\n\t\t float tmp_bu = tmp_bs[1];\n\t\t
\ float tmp_bv = tmp_bt + tmp_bu;\n\t\t float tmp_bw = tmp_bs[0];\n\t\t
\ float tmp_bx = tmp_bv + tmp_bw;\n\t\t float tmp_by = pow(tmp_bx, (float)0.5);\n\t\t
\ float tmp_bz = (float)1 / tmp_by;\n\t\t float3 tmp_ca = float3(tmp_bz,
tmp_bz, tmp_bz);\n\t\t float3 tmp_cb = tmp_br * tmp_ca;\n\t\t float3 tmp_cc
= tmp_cb * uniform_e;\n\t\t float3 tmp_cd = tmp_bq + tmp_cc;\n\t\t Force_1(
/*inout */velocity, mass, tmp_cd, (float)3, 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\n\t\tattributeBuffer.Store3((index * 0x8
+ 0x30D80) << 2,asuint(position));\n\t\tattributeBuffer.Store3((index * 0x8
+ 0x30D84) << 2,asuint(velocity));\n\t\tattributeBuffer.Store((index * 0x8 +
0x30D83) << 2,asuint(age));\n\t\tattributeBuffer.Store((index * 0x8 + 0x30D87)
<< 2,uint(alive));\n\t\t\n\n#if VFX_HAS_INDIRECT_DRAW\n uint indirectIndex
= indirectBuffer.IncrementCounter();\n\t\tindirectBuffer[indirectIndex] = index;\n#endif\n#endif\n\t}\n}\n"
\ float tmp_bg = saturate(tmp_bf);\n\t\t float3 tmp_bi = float3((float)0.5,
tmp_bg, (float)2);\n\t\t float3 tmp_bk = GeneratePerlinCurlNoise(position,
tmp_bi.x, (int)3, tmp_bi.y, tmp_bi.z);\n\t\t float tmp_bl = SampleCurve(uniform_c,age);\n\t\t
\ float3 tmp_bm = float3(tmp_bl, tmp_bl, tmp_bl);\n\t\t float3 tmp_bn =
tmp_bk * tmp_bm;\n\t\t float3 tmp_bo = uniform_d - position;\n\t\t float3
tmp_bq = tmp_bo * tmp_bo;\n\t\t float tmp_br = tmp_bq[2];\n\t\t float
tmp_bs = tmp_bq[1];\n\t\t float tmp_bt = tmp_br + tmp_bs;\n\t\t float
tmp_bu = tmp_bq[0];\n\t\t float tmp_bv = tmp_bt + tmp_bu;\n\t\t float
tmp_bw = pow(tmp_bv, (float)0.5);\n\t\t float tmp_bx = (float)1 / tmp_bw;\n\t\t
\ float3 tmp_by = float3(tmp_bx, tmp_bx, tmp_bx);\n\t\t float3 tmp_bz =
tmp_bo * tmp_by;\n\t\t float3 tmp_ca = tmp_bz * uniform_e;\n\t\t float3
tmp_cb = tmp_bn + tmp_ca;\n\t\t Force_1( /*inout */velocity, mass, tmp_cb,
(float)3, 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\n\t\tattributeBuffer.Store3((index * 0x8 + 0x30D80)
<< 2,asuint(position));\n\t\tattributeBuffer.Store3((index * 0x8 + 0x30D84)
<< 2,asuint(velocity));\n\t\tattributeBuffer.Store((index * 0x8 + 0x30D83) <<
2,asuint(age));\n\t\tattributeBuffer.Store((index * 0x8 + 0x30D87) << 2,uint(alive));\n\t\t\n\n#if
VFX_HAS_INDIRECT_DRAW\n uint indirectIndex = indirectBuffer.IncrementCounter();\n\t\tindirectBuffer[indirectIndex]
= index;\n#endif\n#endif\n\t}\n}\n"
- compute: 0
name: '[System 1]Lit Quad Output'
source: "Shader \"Hidden/VFX/System 1/Lit Quad Output\"\n{\n\tSubShader\n\t{\t\n\t\tCull

USE_ALPHA_TEST && defined(VFX_VARYING_ALPHATHRESHOLD)\n\t\t\t\t\t\tfloat alphaThreshold
= (float)0;\n\t\t\t\t\t\t{\n\t\t\t\t\t\t float tmp_bd = age / lifetime;\n\t\t\t\t\t\t
\ float tmp_be = SampleCurve(uniform_b,tmp_bd);\n\t\t\t\t\t\t float tmp_bf
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bh = max(tmp_bf, (float)0);\n\t\t\t\t\t\t
\ float tmp_bi = min(tmp_bh, (float)1);\n\t\t\t\t\t\t \n\t\t\t\t\t\t alphaThreshold
= tmp_bi;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bg = saturate(tmp_bf);\n\t\t\t\t\t\t
\ \n\t\t\t\t\t\t alphaThreshold = tmp_bg;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= alphaThreshold;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if USE_UV_SCALE_BIAS\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_UV.xy
= o.VFX_VARYING_UV.xy * uvScale + uvBias;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if
defined(VFX_VARYING_POSWS)\n\t\t\t\t\t\to.VFX_VARYING_POSWS = TransformPositionVFXToWorld(vPos);\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#if

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1078544746;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

USE_ALPHA_TEST && defined(VFX_VARYING_ALPHATHRESHOLD)\n\t\t\t\t\t\tfloat alphaThreshold
= (float)0;\n\t\t\t\t\t\t{\n\t\t\t\t\t\t float tmp_bd = age / lifetime;\n\t\t\t\t\t\t
\ float tmp_be = SampleCurve(uniform_b,tmp_bd);\n\t\t\t\t\t\t float tmp_bf
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bh = max(tmp_bf, (float)0);\n\t\t\t\t\t\t
\ float tmp_bi = min(tmp_bh, (float)1);\n\t\t\t\t\t\t \n\t\t\t\t\t\t alphaThreshold
= tmp_bi;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bg = saturate(tmp_bf);\n\t\t\t\t\t\t
\ \n\t\t\t\t\t\t alphaThreshold = tmp_bg;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= alphaThreshold;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if USE_UV_SCALE_BIAS\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_UV.xy
= o.VFX_VARYING_UV.xy * uvScale + uvBias;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if
defined(VFX_VARYING_POSWS)\n\t\t\t\t\t\to.VFX_VARYING_POSWS = TransformPositionVFXToWorld(vPos);\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#if

= specularColor;\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#elif HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\t\t\t\t\t\t#ifdef
VFX_VARYING_THICKNESS\n\t\t\t\t\t\t\t\t\tfloat thickness = (float)0;\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t
\ float tmp_bd = age / lifetime;\n\t\t\t\t\t\t\t\t\t float tmp_be = SampleCurve(uniform_b,tmp_bd);\n\t\t\t\t\t\t\t\t\t
\ float tmp_bf = (float)1 - tmp_be;\n\t\t\t\t\t\t\t\t\t float tmp_bh =
max(tmp_bf, (float)0);\n\t\t\t\t\t\t\t\t\t float tmp_bi = min(tmp_bh, (float)1);\n\t\t\t\t\t\t\t\t\t
\ \n\t\t\t\t\t\t\t\t\t thickness = tmp_bi;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\to.VFX_VARYING_THICKNESS
\ float tmp_bf = (float)1 - tmp_be;\n\t\t\t\t\t\t\t\t\t float tmp_bg =
saturate(tmp_bf);\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t thickness =
tmp_bg;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\to.VFX_VARYING_THICKNESS
= thickness;\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#if
USE_NORMAL_MAP\n\t\t\t\t\t\t\t\t\t#ifdef VFX_VARYING_NORMALSCALE\n\t\t\t\t\t\t\t\t\tfloat
normalScale = (float)0;\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1078544746;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

USE_ALPHA_TEST && defined(VFX_VARYING_ALPHATHRESHOLD)\n\t\t\t\t\t\tfloat alphaThreshold
= (float)0;\n\t\t\t\t\t\t{\n\t\t\t\t\t\t float tmp_bd = age / lifetime;\n\t\t\t\t\t\t
\ float tmp_be = SampleCurve(uniform_b,tmp_bd);\n\t\t\t\t\t\t float tmp_bf
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bh = max(tmp_bf, (float)0);\n\t\t\t\t\t\t
\ float tmp_bi = min(tmp_bh, (float)1);\n\t\t\t\t\t\t \n\t\t\t\t\t\t alphaThreshold
= tmp_bi;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bg = saturate(tmp_bf);\n\t\t\t\t\t\t
\ \n\t\t\t\t\t\t alphaThreshold = tmp_bg;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= alphaThreshold;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if USE_UV_SCALE_BIAS\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_UV.xy
= o.VFX_VARYING_UV.xy * uvScale + uvBias;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if
defined(VFX_VARYING_POSWS)\n\t\t\t\t\t\to.VFX_VARYING_POSWS = TransformPositionVFXToWorld(vPos);\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#if

= specularColor;\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#elif HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\t\t\t\t\t\t#ifdef
VFX_VARYING_THICKNESS\n\t\t\t\t\t\t\t\t\tfloat thickness = (float)0;\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t
\ float tmp_bd = age / lifetime;\n\t\t\t\t\t\t\t\t\t float tmp_be = SampleCurve(uniform_b,tmp_bd);\n\t\t\t\t\t\t\t\t\t
\ float tmp_bf = (float)1 - tmp_be;\n\t\t\t\t\t\t\t\t\t float tmp_bh =
max(tmp_bf, (float)0);\n\t\t\t\t\t\t\t\t\t float tmp_bi = min(tmp_bh, (float)1);\n\t\t\t\t\t\t\t\t\t
\ \n\t\t\t\t\t\t\t\t\t thickness = tmp_bi;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\to.VFX_VARYING_THICKNESS
\ float tmp_bf = (float)1 - tmp_be;\n\t\t\t\t\t\t\t\t\t float tmp_bg =
saturate(tmp_bf);\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t thickness =
tmp_bg;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\to.VFX_VARYING_THICKNESS
= thickness;\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#if
USE_NORMAL_MAP\n\t\t\t\t\t\t\t\t\t#ifdef VFX_VARYING_NORMALSCALE\n\t\t\t\t\t\t\t\t\tfloat
normalScale = (float)0;\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1078544746;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

ps_input\n\t\t#define VFX_VARYING_POSCS pos\n\t\t#define VFX_VARYING_ALPHA builtInInterpolants.z\n\t\t#define
VFX_VARYING_ALPHATHRESHOLD builtInInterpolants.x\n\t\t#define VFX_VARYING_FRAMEBLEND
builtInInterpolants.y\n\t\t#define VFX_VARYING_UV uv\n\t\t\n\t\t\n\t\t\n\t\t//
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t#define USE_LEGACY_UNITY_MATRIX_VARIABLES\n\t\t\t\t\n\t\t\t#if
Needed for HDRP\n\t\t#define SHADERPASS SHADERPASS_SHADOWS\n\t\t\t\t\n\t\t\t#if
!(defined(VFX_VARYING_PS_INPUTS) && defined(VFX_VARYING_POSCS))\n\t\t\t#error
VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS and VFX_VARYING_UV must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include

USE_ALPHA_TEST && defined(VFX_VARYING_ALPHATHRESHOLD)\n\t\t\t\t\t\tfloat alphaThreshold
= (float)0;\n\t\t\t\t\t\t{\n\t\t\t\t\t\t float tmp_bd = age / lifetime;\n\t\t\t\t\t\t
\ float tmp_be = SampleCurve(uniform_b,tmp_bd);\n\t\t\t\t\t\t float tmp_bf
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bh = max(tmp_bf, (float)0);\n\t\t\t\t\t\t
\ float tmp_bi = min(tmp_bh, (float)1);\n\t\t\t\t\t\t \n\t\t\t\t\t\t alphaThreshold
= tmp_bi;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= (float)1 - tmp_be;\n\t\t\t\t\t\t float tmp_bg = saturate(tmp_bf);\n\t\t\t\t\t\t
\ \n\t\t\t\t\t\t alphaThreshold = tmp_bg;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_ALPHATHRESHOLD
= alphaThreshold;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if USE_UV_SCALE_BIAS\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\to.VFX_VARYING_UV.xy
= o.VFX_VARYING_UV.xy * uvScale + uvBias;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t#if
defined(VFX_VARYING_POSWS)\n\t\t\t\t\t\to.VFX_VARYING_POSWS = TransformPositionVFXToWorld(vPos);\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t#if

data[1]: -1
data[2]: -1
data[3]: -1
- op: 50
- op: 1
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 1
- op: 50
valueIndex: 29
valueIndex: 32
valueIndex: 33
valueIndex: 33
valueIndex: 34
data[3]: 1
data[3]: 3
valueIndex: 34
valueIndex: 37
valueIndex: 35
valueIndex: 38
valueIndex: 38
valueIndex: 41
data[3]: 13
data[3]: 5
valueIndex: 39
valueIndex: 42
valueIndex: 40
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 3
- op: 1
data[3]: 5
data[3]: 13
data[0]: 14
data[0]: 13
- op: 50
- op: 1
data[0]: 12
data[0]: -1
data[3]: 2
- op: 1
valueIndex: 52
data[0]: -1
data[3]: 5
- op: 50
valueIndex: 49
data[0]: 17
data[3]: 1
data[3]: 2
data[3]: 5
data[3]: 1
- op: 1
valueIndex: 54
data[0]: -1

- op: 1
- op: 3
data[0]: 21
data[1]: 21
data[2]: 21
data[3]: -1
- op: 1
valueIndex: 58
valueIndex: 56
valueIndex: 59
- op: 3
valueIndex: 57
data[0]: 22
data[1]: 22
data[2]: 22
data[3]: -1
- op: 1
valueIndex: 60
data[0]: -1

data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 1
data[3]: 2
valueIndex: 62
valueIndex: 63
valueIndex: 64
valueIndex: 65
data[3]: 2
data[3]: 1
data[3]: 1
data[3]: 6
data[3]: 6
data[3]: 3
valueIndex: 68
valueIndex: 70
valueIndex: 69
valueIndex: 71
data[3]: 3
data[3]: 1
data[3]: 1
data[3]: 7
valueIndex: 73
valueIndex: 74
data[3]: 7
data[3]: 1
- op: 1
valueIndex: 75
data[0]: -1

m_PropertySheet:
m_Float:
m_Array:
- m_ExpressionIndex: 10
- m_ExpressionIndex: 9
m_Value: 0
- m_ExpressionIndex: 15
- m_ExpressionIndex: 20
- m_ExpressionIndex: 16
- m_ExpressionIndex: 22
- m_ExpressionIndex: 21
- m_ExpressionIndex: 23
- m_ExpressionIndex: 22
- m_ExpressionIndex: 25
m_Value: 0.03
m_Value: 0.03
- m_ExpressionIndex: 27
m_Value: 20000
- m_ExpressionIndex: 30
m_Value: 0.6666667
- m_ExpressionIndex: 29
m_Value: 0.6666667
- m_ExpressionIndex: 34
m_Value: 20000
- m_ExpressionIndex: 33
- m_ExpressionIndex: 36
- m_ExpressionIndex: 35
- m_ExpressionIndex: 37
- m_ExpressionIndex: 36
- m_ExpressionIndex: 37
m_Value: 0
- m_ExpressionIndex: 38
m_Value: 6.2831855
- m_ExpressionIndex: 39

- m_ExpressionIndex: 27
m_Value: {x: 4, y: 2}
m_Value: {x: 4, y: 2}
- m_ExpressionIndex: 29
- m_ExpressionIndex: 13
- m_ExpressionIndex: 12
- m_ExpressionIndex: 16
- m_ExpressionIndex: 14
- m_ExpressionIndex: 33
- m_ExpressionIndex: 31
m_Value: {x: 0.6603774, y: 0.6603774, z: 0.6603774}
- m_ExpressionIndex: 40
m_Value: {x: 12, y: 5, z: 12}

m_Array:
- m_ExpressionIndex: 3
m_Value: 3291711721
- m_ExpressionIndex: 31
m_Value: 0
- m_ExpressionIndex: 30
m_Value: 1078544746
- m_ExpressionIndex: 17
- m_ExpressionIndex: 15
- m_ExpressionIndex: 21
- m_ExpressionIndex: 19
m_Value: 3
m_Matrix4x4f:
m_Array: []

m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
- m_ExpressionIndex: 12
- m_ExpressionIndex: 13
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.0066275257
inSlope: 0.06340236
outSlope: 0.06340236
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1.1347798
value: 0.93919635
inSlope: 0.21172526
outSlope: 0.21172526
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 4.9878187
value: 0.9730119
inSlope: 0.00061591406
outSlope: 0.00061591406
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
- m_ExpressionIndex: 17
m_Value:
serializedVersion: 2
m_Curve:

m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
- m_ExpressionIndex: 14
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.0066275257
inSlope: 0.06340236
outSlope: 0.06340236
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1.1347798
value: 0.93919635
inSlope: 0.21172526
outSlope: 0.21172526
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 4.9878187
value: 0.9730119
inSlope: 0.00061591406
outSlope: 0.00061591406
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
- m_ExpressionIndex: 35
- m_ExpressionIndex: 34
m_Value: {fileID: 2800000, guid: f2777cd82e4fbb645b31e8f246b0e403, type: 3}
- m_ExpressionIndex: 43
m_Value: {fileID: 2800000, guid: 48842c897c59e254a80e25ba6ccf5ce8, type: 3}

- nameId: AttractForce
index: 22
index: 21
- nameId: AttractWorldPosition_position
index: 1
m_Buffers:

buffers: []
values:
- nameId: Rate
index: 27
index: 32
params: []
processor: {fileID: 0}
shaderSourceIndex: -1

index: 3
values:
- nameId: uniform_b
index: 9
index: 10
index: 25
index: 23
- nameId: deltaTime_a
index: 6
params: []

index: 0
values:
- nameId: uniform_b
index: 19
index: 20
index: 35
index: 34
- nameId: normalMap
index: 43
params:

preRefraction: 0
materialType: 2
onlyAmbientLighting: 0
diffusionProfileAsset: {fileID: 0}
diffusionProfileAsset: {fileID: 11400000, guid: d70a4a3f7cca7914299c768fe225c1a6,
type: 2}
multiplyThicknessWithAlpha: 1
useBaseColorMap: 2
useMaskMap: 0

2
Assets/Samples/VoxelizedTerrain/VoxelizedTerrain.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.1078002, g: 0.11919453, b: 0.14070527, a: 1}
m_IndirectSpecularColor: {r: 0.10742135, g: 0.11880454, b: 0.14035062, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

209
Assets/Samples/VoxelizedTerrain/VoxelizedTerrain.vfx


serializedVersion: 2
x: -1784
y: -190
width: 2876
height: 2688
width: 2868
height: 2686
--- !u!114 &114350483966674976
MonoBehaviour:
m_ObjectHideFlags: 1

= flipBookSize;\n\t\t\t\to.VFX_VARYING_INVFLIPBOOKSIZE = invFlipBookSize;\n\t\t\t\to.VFX_VARYING_TEXINDEX
= texIndex;\n\t\t\t\t#endif\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t#ifdef
VFX_VARYING_SMOOTHNESS\n\t\t\t\t\t\t\t\t\tfloat smoothness = (float)0;\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t
\ float tmp_ba = max(Smoothness, (float)0);\n\t\t\t\t\t\t\t\t\t float tmp_bc
= min(tmp_ba, (float)1);\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t smoothness
= tmp_bc;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\to.VFX_VARYING_SMOOTHNESS
\ float tmp_z = saturate(Smoothness);\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
\ smoothness = tmp_z;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\to.VFX_VARYING_SMOOTHNESS
= smoothness;\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#if HDRP_MATERIAL_TYPE_STANDARD\n\t\t\t\t\t\t\t\t\t#ifdef
VFX_VARYING_METALLIC\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\to.VFX_VARYING_METALLIC
= metallic;\n\t\t\t\t\t\t\t\t\t#endif\n\t\t\t\t\t\t\t\t\t#elif HDRP_MATERIAL_TYPE_SPECULAR\n\t\t\t\t\t\t\t\t\t#ifdef

out BSDFData bsdfData, out PreLightData preLightData, VFX_VARYING_PS_INPUTS
i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)\n\t\t\t{\t\n\t\t\t\t#if
HDRP_MATERIAL_TYPE_TRANSLUCENT\n\t\t\t\tuint diffusionProfileHash = (uint)0;\n\t\t\t\t{\n\t\t\t\t
\ \n\t\t\t\t diffusionProfileHash = (uint)0;\n\t\t\t\t}\n\t\t\t\t\n //
Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
\ \n\t\t\t\t diffusionProfileHash = (uint)1078544746;\n\t\t\t\t}\n\t\t\t\t\n
// Loads diffusion profile\n\t\t\t\t#else\n\t\t\t\tconst uint diffusionProfileHash
= 0;\n\t\t\t\t#endif\n\t\t\t\t\n\t\t\t\tfloat3 posRWS = VFXGetPositionRWS(i);\n\t\t\t\tfloat4
posSS = i.VFX_VARYING_POSCS;\n\t\t\t\tPositionInputs posInput = GetPositionInput(posSS.xy,
_ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);\n\t\t\t\t\n\t\t\t\tfloat

VFX_VARYING_ALPHA builtInInterpolants.x\n\t\t#define VFX_VARYING_ALPHATHRESHOLD
builtInInterpolants.y\n\t\t#endif\n\t\t#define VFX_VARYING_OFFSETS offsets\n\t\t#define
VFX_VARYING_FACEID faceID\n\t\t\n\t\t\n\t\t\n\t\t// Needed for HDRP\n\t\t#define
SHADERPASS SHADERPASS_SHADOWS\n\t\t#define USE_LEGACY_UNITY_MATRIX_VARIABLES\n\t\t\t\n\t\t\t#if
!(defined(VFX_VARYING_PS_INPUTS) && defined(VFX_VARYING_POSCS))\n\t\t\t#error
VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include
SHADERPASS SHADERPASS_SHADOWS\n\t\t\t\n\t\t\t#if !(defined(VFX_VARYING_PS_INPUTS)
&& defined(VFX_VARYING_POSCS))\n\t\t\t#error VFX_VARYING_PS_INPUTS, VFX_VARYING_POSCS
must be defined.\n\t\t\t#endif\n\t\t\t\n\t\t\t#include \"Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP/VFXCommon.cginc\"\n\t\t\t#include
\"Packages/com.unity.visualeffectgraph/Shaders/VFXCommon.cginc\"\n\t\t\t\n\n\t\t\tvoid
SetAttribute_3278B22F(inout float size, float Size) /*attribute:size Composition:Overwrite
Source:Slot Random:Off channels:XYZ */\n\t\t\t{\n\t\t\t size = Size;\n\t\t\t}\n\t\t\tvoid

data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 3
data[3]: 1
valueIndex: 52
valueIndex: 50
valueIndex: 53
valueIndex: 51
data[3]: 1
data[3]: 7
valueIndex: 54
valueIndex: 53
data[3]: 7
data[3]: 3
data[3]: 1
- op: 6
valueIndex: 57
data[3]: 3
- op: 1
valueIndex: 59
data[3]: -1
data[3]: 1
valueIndex: 58
valueIndex: 60
valueIndex: 59
valueIndex: 61
valueIndex: 62
valueIndex: 64
data[1]: 22
data[1]: 25
valueIndex: 65
valueIndex: 67
valueIndex: 66
valueIndex: 68
data[3]: 3
data[3]: 1
data[3]: 1
- op: 25
data[3]: 13
- op: 42
data[0]: 27
data[1]: 31
data[0]: 21
data[1]: 29
data[3]: 1
- op: 42
valueIndex: 71
data[0]: 21
data[1]: 32
data[3]: -1
- op: 6
valueIndex: 73
data[0]: -1
data[1]: -1
data[1]: 29
data[1]: 26
- op: 1
valueIndex: 77
data[0]: -1
data[1]: -1
data[2]: -1
data[3]: 13
valueIndex: 78
data[0]: 37
valueIndex: 77
data[0]: 33
- op: 30
valueIndex: 82
data[0]: 34
data[1]: 23
data[2]: -1
data[3]: 1
valueIndex: 83
valueIndex: 81
- op: 25
valueIndex: 82
data[0]: 35
data[1]: 32
data[2]: -1
data[3]: 1
valueIndex: 84
valueIndex: 83
valueIndex: 85
valueIndex: 84
valueIndex: 87
valueIndex: 86
valueIndex: 89
valueIndex: 88
- op: 29
valueIndex: 92
- op: 19
valueIndex: 91
data[1]: 17
data[1]: -1
valueIndex: 93
valueIndex: 92
valueIndex: 94
valueIndex: 93
valueIndex: 97
valueIndex: 96
valueIndex: 100
valueIndex: 99
valueIndex: 102
data[0]: 40
valueIndex: 101
data[0]: 38
valueIndex: 103
valueIndex: 102
data[0]: -1
data[1]: -1
data[2]: -1

m_Value: 0.4
- m_ExpressionIndex: 17
m_Value: 1
- m_ExpressionIndex: 22
m_Value: 0.9
- m_ExpressionIndex: 24
m_Value: 0.9
- m_ExpressionIndex: 26
- m_ExpressionIndex: 27
m_Value: 0.0078
- m_ExpressionIndex: 28
- m_ExpressionIndex: 28
m_Value: 0.0078
m_Value: 2.21
- m_ExpressionIndex: 32
- m_ExpressionIndex: 33
m_Value: 2.21
- m_ExpressionIndex: 41
- m_ExpressionIndex: 40
m_Value: 0.3256202
m_Vector2f:
m_Array:

m_Value: {x: -1, y: -1}
- m_ExpressionIndex: 20
m_Value: {x: 2, y: 2}
- m_ExpressionIndex: 41
m_Value: {x: 65536, y: 65536}
m_Value: {x: 65536, y: 65536}
- m_ExpressionIndex: 43
- m_ExpressionIndex: 49
- m_ExpressionIndex: 48
m_Value: {x: 0, y: 0}
m_Vector3f:
m_Array:

m_Value: {x: 2, y: 2, z: 2}
- m_ExpressionIndex: 16
m_Value: {x: 1, y: 1, z: 1}
- m_ExpressionIndex: 22
- m_ExpressionIndex: 25
- m_ExpressionIndex: 29
- m_ExpressionIndex: 26
- m_ExpressionIndex: 32
- m_ExpressionIndex: 29
- m_ExpressionIndex: 44
- m_ExpressionIndex: 43
- m_ExpressionIndex: 47
- m_ExpressionIndex: 46
- m_ExpressionIndex: 48
- m_ExpressionIndex: 47
m_Value: {x: 0, y: 0.5, z: 0}
m_Vector4f:
m_Array: []

m_Value: 65536
- m_ExpressionIndex: 1
m_Value: 256
- m_ExpressionIndex: 46
m_Value: 0
- m_ExpressionIndex: 45
m_Value: 1078544746
m_Int:
m_Array: []
m_Matrix4x4f:

- m_ExpressionIndex: 37
- m_ExpressionIndex: 33
m_Value:
serializedVersion: 2
m_Curve:

m_RotationOrder: 4
m_Gradient:
m_Array:
- m_ExpressionIndex: 40
- m_ExpressionIndex: 38
m_Value:
serializedVersion: 2
key0: {r: 0.12726949, g: 0.20325522, b: 0.41509432, a: 1}

m_NumAlphaKeys: 2
m_NamedObject:
m_Array:
- m_ExpressionIndex: 25
- m_ExpressionIndex: 24
- m_ExpressionIndex: 51
- m_ExpressionIndex: 50
index: 31
index: 32
index: 40
index: 38
index: 25
index: 24
index: 33
index: 31
- nameId: Position
index: 5
- nameId: Water Elevation

buffers: []
values:
- nameId: Count
index: 42
index: 41
index: 49
index: 48
params: []
processor: {fileID: 0}
shaderSourceIndex: -1

index: 1
values:
- nameId: bounds_center
index: 48
- nameId: bounds_size
- nameId: bounds_size
index: 46
tasks:
- type: 536870912
buffers:

- nameId: uniform_c
index: 30
- nameId: uniform_d
index: 35
index: 34
index: 48
index: 47
index: 47
index: 46
processor: {fileID: 0}
shaderSourceIndex: 0
- type: 805306368

- nameId: uniform_c
index: 14
- nameId: uniform_d
index: 33
index: 31
index: 45
index: 44
index: 25
index: 24
params: []
processor: {fileID: 0}
shaderSourceIndex: 1

index: 0
values:
- nameId: Color_d
index: 50
index: 49
index: 38
index: 37
index: 51
index: 50
params:
- nameId: sortPriority
index: 0

preRefraction: 0
materialType: 2
onlyAmbientLighting: 0
diffusionProfileAsset: {fileID: 0}
diffusionProfileAsset: {fileID: 11400000, guid: d70a4a3f7cca7914299c768fe225c1a6,
type: 2}
multiplyThicknessWithAlpha: 0
useBaseColorMap: 3
useMaskMap: 0

12
Packages/manifest.json


{
"dependencies": {
"com.unity.cinemachine": "2.3.3",
"com.unity.package-manager-ui": "2.1.1",
"com.unity.probuilder": "4.0.3",
"com.unity.render-pipelines.high-definition": "5.8.2-preview",
"com.unity.cinemachine": "2.3.4",
"com.unity.package-manager-ui": "2.1.2",
"com.unity.probuilder": "4.1.0",
"com.unity.render-pipelines.high-definition": "5.16.1-preview",
"com.unity.visualeffectgraph": "5.8.2-preview",
"com.unity.xr.legacyinputhelpers": "2.0.2",
"com.unity.visualeffectgraph": "5.16.1-preview",
"com.unity.xr.legacyinputhelpers": "2.0.4",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",

1
ProjectSettings/GraphicsSettings.asset


- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}

3
ProjectSettings/ProjectSettings.asset


disableDepthAndStencilBuffers: 0
androidStartInFullscreen: 1
androidRenderOutsideSafeArea: 0
androidBlitType: 0
androidBlitType: 1
defaultIsNativeResolution: 1
macRetinaSupport: 1
runInBackground: 1

usePlayerLog: 1
bakeCollisionMeshes: 0
forceSingleInstance: 0
useFlipModelSwapchain: 1
resizableWindow: 0
useMacAppStoreValidation: 0
macAppStoreCategory: public.app-category.games

4
ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2019.1.0b6
m_EditorVersionWithRevision: 2019.1.0b6 (e3cf6cb42b7c)
m_EditorVersion: 2019.1.11f1
m_EditorVersionWithRevision: 2019.1.11f1 (9b001d489a54)

11
ProjectSettings/Packages/com.unity.probuilder/Settings.json


{
"m_Name": "Settings",
"m_Path": "ProjectSettings/Packages/com.unity.probuilder/Settings.json",
"value": "{\"m_Value\":{\"m_Major\":4,\"m_Minor\":0,\"m_Patch\":3,\"m_Build\":-1,\"m_Type\":\"\",\"m_Metadata\":\"\",\"m_Date\":\"2019/01/25\"}}"
"value": "{\"m_Value\":{\"m_Major\":4,\"m_Minor\":1,\"m_Patch\":0,\"m_Build\":-1,\"m_Type\":\"\",\"m_Metadata\":\"\",\"m_Date\":\"2019/07/03\"}}"
"value": "{\"m_Value\":{\"m_Major\":4,\"m_Minor\":0,\"m_Patch\":3,\"m_Build\":-1,\"m_Type\":\"\",\"m_Metadata\":\"\",\"m_Date\":\"2019/01/25\"}}"
"value": "{\"m_Value\":{\"m_Major\":4,\"m_Minor\":1,\"m_Patch\":0,\"m_Build\":-1,\"m_Type\":\"\",\"m_Metadata\":\"\",\"m_Date\":\"2019/07/03\"}}"
},
{
"type": "UnityEngine.ProBuilder.LogLevel, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",

"type": "UnityEngine.ProBuilder.RectSelectMode, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"key": "editor.dragSelectRectMode",
"value": "{\"m_Value\":0}"
},
{
"type": "UnityEngine.ProBuilder.Shortcut[], Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"key": "editor.sceneViewShortcuts",
"value": "{}"
},
{
"type": "UnityEngine.ProBuilder.SelectMode, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",

26
Assets/Samples/Butterflies/ButterflyWing-DiffusionProfile.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: ButterflyWing-DiffusionProfile
m_EditorClassIdentifier:
profile:
name: Butterfly Wing - Diffusion Profile
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1076631242
m_Version: 1
profiles: []

8
Assets/Samples/Butterflies/ButterflyWing-DiffusionProfile.asset.meta


fileFormatVersion: 2
guid: a6e49c92568d36640bf75bae8006ad8f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

7
ProjectSettings/Packages/com.unity.settings-manager/Settings.json


{
"m_Name": "Settings",
"m_Path": "ProjectSettings/Packages/com.unity.settings-manager/Settings.json",
"m_Dictionary": {
"m_DictionaryValues": []
}
}

/ProjectSettings/ProBuilderSettings.json → /ProjectSettings/Packages/com.unity.probuilder/Settings.json

正在加载...
取消
保存