浏览代码

More work

/feature-new-clouds
Andrem 4 年前
当前提交
036f8f82
共有 14 个文件被更改,包括 5528 次插入1777 次删除
  1. 98
      Assets/Data/UniversalRP/BoatDemoRenderer.asset
  2. 56
      Assets/Data/UniversalRP/PlanarReflectionRenderer.asset
  3. 3
      Assets/Objects/environment/Clouds/CloudLayer.mat
  4. 694
      Assets/Objects/environment/Clouds/CloudLayers.shadergraph
  5. 589
      Assets/Objects/environment/Clouds/Clouds.shadergraph
  6. 995
      Assets/Shaders/UtilityGraphs/DitherCrossfade.shadersubgraph
  7. 995
      Assets/Shaders/UtilityGraphs/SmoothCurve.shadersubgraph
  8. 995
      Assets/Shaders/UtilityGraphs/SmoothTriangleWave.shadersubgraph
  9. 689
      Assets/Shaders/UtilityGraphs/TriangleWave.shadersubgraph
  10. 553
      Assets/Shaders/Vegetation/Vegetation.shadergraph
  11. 624
      Assets/Shaders/Vegetation/VegetationDeformation.shadersubgraph
  12. 3
      Packages/com.verasl.water-system/Scripts/Rendering/PlanarReflections.cs
  13. 1001
      Assets/Shaders/UtilityGraphs/GetMainLight.shadersubgraph
  14. 10
      Assets/Shaders/UtilityGraphs/GetMainLight.shadersubgraph.meta

98
Assets/Data/UniversalRP/BoatDemoRenderer.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-8193634041390225171
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: 6b3d386ba5cd94485973aee1479b272e, type: 3}
m_Name: 3D Skybox Transparent
m_EditorClassIdentifier:
m_Active: 1
settings:
passTag: 3D Skybox Transparent
Event: 400
filterSettings:
RenderQueueType: 1
LayerMask:
serializedVersion: 2
m_Bits: 256
PassNames: []
overrideMaterial: {fileID: 0}
overrideMaterialPassIndex: 0
overrideDepthState: 1
depthCompareFunction: 4
enableWrite: 0
stencilSettings:
overrideStencilState: 1
stencilReference: 0
stencilCompareFunction: 3
passOperation: 0
failOperation: 0
zFailOperation: 0
cameraSettings:
overrideCamera: 0
restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60
--- !u!114 &-509393295192694670
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: f62c9c65cf3354c93be831c8bc075510, type: 3}
m_Name: NewScreenSpaceAmbientOcclusion
m_EditorClassIdentifier:
m_Active: 1
m_Shader: {fileID: 4800000, guid: 0849e84e3d62649e8882e9d6f056a017, type: 3}
m_Settings:
Downsample: 0
Source: 0
NormalSamples: 1
Intensity: 1
DirectLightingStrength: 0.25
Radius: 4.2
SampleCount: 6
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0

m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 770174969183694509}
- {fileID: 7959035961846237700}
m_RendererFeatureMap: ad6e17cd0d36b00a048a67dc092d746e
- {fileID: -8193634041390225171}
- {fileID: -509393295192694670}
m_RendererFeatureMap: ad6e17cd0d36b00aed286347405d4a8e72e012357f45eef8
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2}
shaders:

type: 3}
samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
tileDepthInfoPS: {fileID: 4800000, guid: f451c6bec16aa51408bdfd37f70aed12, type: 3}
tileDeferredPS: {fileID: 4800000, guid: 344787727e03649488a1022c09fa74b5, type: 3}
tileDepthInfoPS: {fileID: 0}
tileDeferredPS: {fileID: 0}
m_Bits: 130871
m_Bits: 2147614263
m_Bits: 4294967295
m_Bits: 2147614263
overrideStencilState: 0
overrideStencilState: 1
failOperation: 2
failOperation: 1
m_ShadowTransparentReceive: 0
m_ShadowTransparentReceive: 1
m_RenderingMode: 0
m_AccurateGbufferNormals: 0
--- !u!114 &770174969183694509

debug: 0
causticShader: {fileID: 4800000, guid: 90939d2e4b62841d29c136c866715501, type: 3}
causticTexture: {fileID: 2800000, guid: f395b7d64f44848c6a3cba1f1173fe90, type: 3}
--- !u!114 &7959035961846237700
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: 73a60ff029db77a498e020817f4aa301, type: 3}
m_Name: NewSkyboxFeature
m_EditorClassIdentifier:
m_Active: 0
injectionPoint: 400
mask:
serializedVersion: 2
m_Bits: 256
ratioScale: 100

56
Assets/Data/UniversalRP/PlanarReflectionRenderer.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2662332348134217677
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: 6b3d386ba5cd94485973aee1479b272e, type: 3}
m_Name: NewRenderObjects
m_EditorClassIdentifier:
m_Active: 1
settings:
passTag: NewRenderObjects
Event: 300
filterSettings:
RenderQueueType: 1
LayerMask:
serializedVersion: 2
m_Bits: 256
PassNames: []
overrideMaterial: {fileID: 0}
overrideMaterialPassIndex: 0
overrideDepthState: 0
depthCompareFunction: 4
enableWrite: 1
stencilSettings:
overrideStencilState: 1
stencilReference: 0
stencilCompareFunction: 3
passOperation: 0
failOperation: 0
zFailOperation: 0
cameraSettings:
overrideCamera: 0
restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0

m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 2592635787774994150}
m_RendererFeatureMap: e6264b3a83e4fa23
- {fileID: -2662332348134217677}
m_RendererFeatureMap: e6264b3a83e4fa2333a86dc3d57e0ddb
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2}
shaders:

type: 3}
samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
tileDepthInfoPS: {fileID: 4800000, guid: f451c6bec16aa51408bdfd37f70aed12, type: 3}
tileDeferredPS: {fileID: 4800000, guid: 344787727e03649488a1022c09fa74b5, type: 3}
tileDepthInfoPS: {fileID: 0}
tileDeferredPS: {fileID: 0}
m_Bits: 4294967295
m_Bits: 2147613751
m_Bits: 4294967295
m_Bits: 2147613751
overrideStencilState: 0
overrideStencilState: 1
failOperation: 0
failOperation: 1
m_RenderingMode: 0
m_AccurateGbufferNormals: 0
--- !u!114 &2592635787774994150
MonoBehaviour:
m_ObjectHideFlags: 0

3
Assets/Objects/environment/Clouds/CloudLayer.mat


m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
- Vector1_5938df77fca14c0db6439fcfee84628c: 0
- Vector1_5938df77fca14c0db6439fcfee84628c: 0.318
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1

694
Assets/Objects/environment/Clouds/CloudLayers.shadergraph
文件差异内容过多而无法显示
查看文件

589
Assets/Objects/environment/Clouds/Clouds.shadergraph


"m_Id": "8684a681837240098a2a06a04687e43c"
},
{
"m_Id": "42093a7053e94fa59d1e5116f644e959"
},
{
"m_Id": "268ade525169423192cd7e65f4be3411"
},
{
"m_Id": "910f16d2355f41e99a2f23ec8975a838"
},
{

},
{
"m_Id": "efe9d23351f24cfea9484a377a62eaf6"
},
{
"m_Id": "1ece9407584e4056b9346816ccf0ea19"
}
],
"m_GroupDatas": [

{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1ece9407584e4056b9346816ccf0ea19"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4ecad25e3a0346509b51bd1e9195f870"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1fa76ffb8bc345af94de5fffde1758c2"
},
"m_SlotId": 2

{
"m_OutputSlot": {
"m_Node": {
"m_Id": "268ade525169423192cd7e65f4be3411"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42093a7053e94fa59d1e5116f644e959"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "26a692efd7874054a9d512d9781fc359"
},
"m_SlotId": 1

"m_Id": "7219b65598c140019eefe817c3486cdf"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42093a7053e94fa59d1e5116f644e959"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4ecad25e3a0346509b51bd1e9195f870"
},
"m_SlotId": 1
}
},
{

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "058c245195c046d190b94f09825b546c",
"m_Id": 0,
"m_DisplayName": "WorldPos",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "WorldPos",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "05dbaae2f2a54e90ad88a15d4f39585f",
"m_Id": 2,

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "108457196f454e168e49ba7e4303793e",
"m_Id": 4,
"m_DisplayName": "Shadow_Attenuation",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Shadow_Attenuation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "10c4bdc873bc44469005c0af564817eb",
"m_Id": 2,

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "17b4c6027217490d87ec4618d1f182ec",
"m_Id": 2,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SaturateNode",
"m_ObjectId": "17f2c4e768d84dc287f55ce539d916d6",
"m_Group": {

"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": 1141.0,
"y": 1225.0,
"width": 144.99998474121095,
"height": 112.99999237060547
"x": 1442.9998779296875,
"y": 957.0,
"width": 145.0,
"height": 113.0
}
},
"m_Slots": [

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "1ece9407584e4056b9346816ccf0ea19",
"m_Group": {
"m_Id": "499e7aac7f084f3781e50f49b1e68faf"
},
"m_Name": "GetMainLight",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -1532.0,
"y": -1534.0,
"width": 123.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "c23ba36aabcd45c8a5ffdafb2bc45c37"
},
{
"m_Id": "b5debfe2184f46afa36b04ce4bec54b8"
},
{
"m_Id": "904eb2a338da4f008e7485a288da7da3"
},
{
"m_Id": "17b4c6027217490d87ec4618d1f182ec"
},
{
"m_Id": "64f6dbc3a92a48d58801756fb97b7b83"
},
{
"m_Id": "108457196f454e168e49ba7e4303793e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"2ff6b2f9d6ff940dfa76d3c0d3f9c2ae\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"25585bcd-6188-4bd2-bdb7-d335def9b6bc",
"8c3f3090-52e0-408a-995e-01c1ff201b10"
],
"m_PropertyIds": [
-1747971933,
-539004918
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1f7eb06cc8a3493b8aa87fa66c6e0d38",
"m_Id": 0,

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1064.0,
"y": 776.0000610351563,
"width": 128.0,
"height": 94.00000762939453
"x": 1365.9998779296875,
"y": 508.0,
"width": 127.99999237060547,
"height": 93.99999237060547
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 816.9999389648438,
"y": 1192.9998779296875,
"width": 128.0,
"height": 94.0
"x": 1119.0,
"y": 925.0,
"width": 127.99999237060547,
"height": 93.99999237060547
}
},
"m_Slots": [

}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "268ade525169423192cd7e65f4be3411",
"m_Group": {
"m_Id": "499e7aac7f084f3781e50f49b1e68faf"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -2036.9998779296875,
"y": -1548.9998779296875,
"width": 206.0,
"height": 131.99998474121095
}
},
"m_Slots": [
{
"m_Id": "3f978d7a608e46558ea91316e6b4d194"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "268bf8da51764939ae0045f27d5c59a5",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.RedirectNodeData",
"m_ObjectId": "26a692efd7874054a9d512d9781fc359",

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1266.0001220703125,
"y": 906.0000610351563,
"width": 126.00000762939453,
"height": 118.00000762939453
"x": 1567.9998779296875,
"y": 637.9999389648438,
"width": 125.99999237060547,
"height": 117.99999237060547
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1865.0001220703125,
"y": 776.0000610351563,
"width": 128.0,
"height": 94.00000762939453
"x": 2166.999755859375,
"y": 508.0,
"width": 127.99999237060547,
"height": 93.99999237060547
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1493.0,
"y": 1608.0,
"width": 136.0,
"height": 34.0
"x": 1794.9998779296875,
"y": 1339.9998779296875,
"width": 135.99998474121095,
"height": 33.999996185302737
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1465.0001220703125,
"y": 776.0000610351563,
"width": 153.0,
"x": 1767.0,
"y": 508.0,
"width": 152.99998474121095,
"height": 142.0
}
},

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "3f978d7a608e46558ea91316e6b4d194",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "4015a537a3ac4b64959251f6e1346296",
"m_Id": 0,

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1651.9998779296875,
"y": 1447.0,
"x": 1954.0,
"y": 1179.0,
"height": 118.0
"height": 117.99999237060547
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 761.0,
"y": 1465.0,
"width": 144.99998474121095,
"height": 130.0
"x": 1063.0,
"y": 1196.9998779296875,
"width": 145.0,
"height": 129.99998474121095
}
},
"m_Slots": [

}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "42093a7053e94fa59d1e5116f644e959",
"m_Group": {
"m_Id": "499e7aac7f084f3781e50f49b1e68faf"
},
"m_Name": "MainLight (Custom Function)",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -1565.9998779296875,
"y": -1551.9998779296875,
"width": 208.99998474121095,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "058c245195c046d190b94f09825b546c"
},
{
"m_Id": "268bf8da51764939ae0045f27d5c59a5"
},
{
"m_Id": "be3db327c83a4d159ae2f9964cc6234e"
},
{
"m_Id": "b9237ace20494bee9458a3f99abdb445"
},
{
"m_Id": "84a93273879b42bbb37d13f83816c901"
}
],
"synonyms": [],
"m_Precision": 2,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "MainLight",
"m_FunctionSource": "fdb0eccffb306416bb7f5ccf0d0bf83c",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "42485aa803a84ef098edcbb6c5125117",

"m_ObjectId": "499e7aac7f084f3781e50f49b1e68faf",
"m_Title": "Main Light Direction in Tangent Space",
"m_Position": {
"x": -2062.390625,
"y": -1856.3310546875
"x": -2062.0,
"y": -1856.0
}
}

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 972.9999389648438,
"y": 1286.9998779296875,
"x": 1275.0,
"y": 1019.0,
"height": 118.0
"height": 117.99999237060547
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 2031.0,
"y": 1141.9998779296875,
"x": 2332.999755859375,
"y": 873.9999389648438,
"height": 118.0
"height": 117.99999237060547
}
},
"m_Slots": [

"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "64f6dbc3a92a48d58801756fb97b7b83",
"m_Id": 3,
"m_DisplayName": "Distance_Attenuation",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Distance_Attenuation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{

"m_ObjectId": "6ea2d93ff33d48a2b19d2aafb34a978a",
"m_Title": "Alpha Fade",
"m_Position": {
"x": 744.0,
"y": 692.9999389648438
"x": 1037.703369140625,
"y": 449.48968505859377
}
}

"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": 942.0,
"y": 1466.9998779296875,
"x": 1244.0,
"y": 1199.0,
"height": 77.0
"height": 76.99999237060547
}
},
"m_Slots": [

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "84a93273879b42bbb37d13f83816c901",
"m_Id": 4,
"m_DisplayName": "ShadowAtten",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "ShadowAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "84a95fe48bf346f4944b1ae419a27af8",
"m_Id": 1,

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1120.0,
"y": 1471.9998779296875,
"x": 1422.0,
"y": 1203.9998779296875,
"height": 118.0
"height": 117.99999237060547
}
},
"m_Slots": [

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "904eb2a338da4f008e7485a288da7da3",
"m_Id": 1,
"m_DisplayName": "Direction",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Direction",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "9084565243de4e9faff63d7a3e778d9d",
"m_Id": 1,

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1709.0001220703125,
"y": 776.0000610351563,
"width": 126.00000762939453,
"height": 118.00000762939453
"x": 2010.999755859375,
"y": 508.0,
"width": 125.99999237060547,
"height": 117.99999237060547
}
},
"m_Slots": [

"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": 1180.0,
"y": 1357.9998779296875,
"width": 100.99999237060547,
"height": 77.0
"x": 1481.9998779296875,
"y": 1090.0,
"width": 101.0,
"height": 76.99999237060547
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1339.0,
"y": 1299.0,
"x": 1641.0,
"y": 1031.0,
"height": 118.0
"height": 117.99999237060547
}
},
"m_Slots": [

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "b5debfe2184f46afa36b04ce4bec54b8",
"m_Id": -539004918,
"m_DisplayName": "Shadows",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Shadows",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b606567acb6f425297327d257b833592",
"m_Id": 1,

"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b9237ace20494bee9458a3f99abdb445",
"m_Id": 3,
"m_DisplayName": "DistanceAtten",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "DistanceAtten",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{

{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "be3db327c83a4d159ae2f9964cc6234e",
"m_Id": 2,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SplitNode",
"m_ObjectId": "be91c854450d4679b25500ca44cc7287",
"m_Group": {

}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c23ba36aabcd45c8a5ffdafb2bc45c37",
"m_Id": -1747971933,
"m_DisplayName": "PosisionWS(shadows)",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "PosisionWS_shadows",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "c391cf9769724e92ab5c312f388b7fee",

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 806.0000610351563,
"y": 853.0,
"x": 1256.0,
"y": 650.0,
"width": 135.0,
"height": 34.0
}

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 2333.0,
"y": 776.0,
"width": 208.0,
"x": 2634.999755859375,
"y": 508.0,
"width": 207.99998474121095,
"height": 278.0
}
},

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1495.0,
"y": 1447.0,
"x": 1797.0,
"y": 1179.0,
"height": 118.0
"height": 117.99999237060547
}
},
"m_Slots": [

"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1828.9998779296875,
"y": 1447.0,
"width": 128.0,
"height": 94.0
"x": 2131.0,
"y": 1179.0,
"width": 127.99999237060547,
"height": 93.99999237060547
}
},
"m_Slots": [

995
Assets/Shaders/UtilityGraphs/DitherCrossfade.shadersubgraph
文件差异内容过多而无法显示
查看文件

995
Assets/Shaders/UtilityGraphs/SmoothCurve.shadersubgraph
文件差异内容过多而无法显示
查看文件

995
Assets/Shaders/UtilityGraphs/SmoothTriangleWave.shadersubgraph
文件差异内容过多而无法显示
查看文件

689
Assets/Shaders/UtilityGraphs/TriangleWave.shadersubgraph


{
"m_SerializedProperties": [
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "78748dd0abf04550b857475fcfc5434d",
"m_Properties": [
"typeInfo": {
"fullName": "UnityEditor.ShaderGraph.Vector4ShaderProperty"
},
"JSONnodeData": "{\n \"m_Guid\": {\n \"m_GuidSerialized\": \"8b831748-4bb9-4509-910e-75ffcafdc02e\"\n },\n \"m_Name\": \"Input\",\n \"m_DefaultReferenceName\": \"Vector4_DF96E5E4\",\n \"m_OverrideReferenceName\": \"\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Precision\": 2,\n \"m_Hidden\": false,\n \"m_Value\": {\n \"x\": 0.0,\n \"y\": 0.0,\n \"z\": 0.0,\n \"w\": 0.0\n }\n}"
"m_Id": "ca6e01db41d47e83863c2684ab0f8c98"
"m_SerializableNodes": [
"m_Keywords": [],
"m_Nodes": [
"typeInfo": {
"fullName": "UnityEditor.ShaderGraph.SubGraphOutputNode"
},
"JSONnodeData": "{\n \"m_GuidSerialized\": \"bd1d0cde-2039-4f38-8536-df392ed3e2b0\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Output\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 342.0,\n \"y\": 4.0,\n \"width\": 99.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector4MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Output\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Output\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
"m_Id": "f9d76de66eb56e879af759847d8710e9"
"typeInfo": {
"fullName": "UnityEditor.ShaderGraph.AddNode"
},
"JSONnodeData": "{\n \"m_GuidSerialized\": \"8b4397e5-ff1a-4df7-aebf-163ca70a9956\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Add\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -331.0,\n \"y\": -97.0,\n \"width\": 122.0,\n \"height\": 118.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.5,\\n \\\"y\\\": 0.5,\\n \\\"z\\\": 0.5,\\n \\\"w\\\": 0.5\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
"m_Id": "679b68d8cab68489a385dd36b6166a25"
"typeInfo": {
"fullName": "UnityEditor.ShaderGraph.FractionNode"
},
"JSONnodeData": "{\n \"m_GuidSerialized\": \"2fde29de-5478-4c72-8e4b-5f780895902d\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Fraction\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -181.0,\n \"y\": -98.0,\n \"width\": 123.0,\n \"height\": 94.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"In\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"In\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
"m_Id": "41d272524279598f99182ec8e93696b5"
"typeInfo": {
"fullName": "UnityEditor.ShaderGraph.RemapNode"
},
"JSONnodeData": "{\n \"m_GuidSerialized\": \"e45dae3c-2ec7-4d59-a9e4-e05264c5d486\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Remap\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -19.25,\n \"y\": -62.0,\n \"width\": 177.0,\n \"height\": 142.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"In\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"In\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": -1.0,\\n \\\"y\\\": -1.0,\\n \\\"z\\\": -1.0,\\n \\\"w\\\": -1.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector2MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"In Min Max\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"InMinMax\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 1.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector2MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out Min Max\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"OutMinMax\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": -1.0,\\n \\\"y\\\": 1.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
"m_Id": "65a0ac8ba9d23b88ba7ebf0cba9a001f"
"typeInfo": {
"fullName": "UnityEditor.ShaderGraph.AbsoluteNode"
},
"JSONnodeData": "{\n \"m_GuidSerialized\": \"266b3944-3797-4640-9912-ed30afc3ab08\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Absolute\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 184.75,\n \"y\": 2.0,\n \"width\": 123.0,\n \"height\": 94.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"In\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"In\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 0,\n \"m_PreviewExpanded\": false,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n }\n}"
"m_Id": "e192b7fd9505818cb354773677f0edf1"
"typeInfo": {
"fullName": "UnityEditor.ShaderGraph.PropertyNode"
},
"JSONnodeData": "{\n \"m_GuidSerialized\": \"4f95ab4d-6909-4241-8654-1d839b855d2c\",\n \"m_GroupGuidSerialized\": \"00000000-0000-0000-0000-000000000000\",\n \"m_Name\": \"Property\",\n \"m_NodeVersion\": 0,\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -462.0,\n \"y\": -123.0,\n \"width\": 99.0,\n \"height\": 34.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector4MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Input\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_Precision\": 2,\n \"m_PreviewExpanded\": true,\n \"m_CustomColors\": {\n \"m_SerializableColors\": []\n },\n \"m_PropertyGuidSerialized\": \"8b831748-4bb9-4509-910e-75ffcafdc02e\"\n}"
"m_Id": "00a5519be6a37d81a6cb9ac9f6aa3c2b"
"m_Groups": [],
"m_StickyNotes": [],
"m_SerializableEdges": [
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
"typeInfo": {
"fullName": "UnityEditor.Graphing.Edge"
"m_OutputSlot": {
"m_Node": {
"m_Id": "00a5519be6a37d81a6cb9ac9f6aa3c2b"
},
"m_SlotId": 0
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"8b4397e5-ff1a-4df7-aebf-163ca70a9956\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"2fde29de-5478-4c72-8e4b-5f780895902d\"\n }\n}"
"m_InputSlot": {
"m_Node": {
"m_Id": "679b68d8cab68489a385dd36b6166a25"
},
"m_SlotId": 0
}
"typeInfo": {
"fullName": "UnityEditor.Graphing.Edge"
"m_OutputSlot": {
"m_Node": {
"m_Id": "41d272524279598f99182ec8e93696b5"
},
"m_SlotId": 1
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"2fde29de-5478-4c72-8e4b-5f780895902d\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"e45dae3c-2ec7-4d59-a9e4-e05264c5d486\"\n }\n}"
"m_InputSlot": {
"m_Node": {
"m_Id": "65a0ac8ba9d23b88ba7ebf0cba9a001f"
},
"m_SlotId": 0
}
"typeInfo": {
"fullName": "UnityEditor.Graphing.Edge"
"m_OutputSlot": {
"m_Node": {
"m_Id": "65a0ac8ba9d23b88ba7ebf0cba9a001f"
},
"m_SlotId": 3
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 3,\n \"m_NodeGUIDSerialized\": \"e45dae3c-2ec7-4d59-a9e4-e05264c5d486\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"266b3944-3797-4640-9912-ed30afc3ab08\"\n }\n}"
"m_InputSlot": {
"m_Node": {
"m_Id": "e192b7fd9505818cb354773677f0edf1"
},
"m_SlotId": 0
}
"typeInfo": {
"fullName": "UnityEditor.Graphing.Edge"
"m_OutputSlot": {
"m_Node": {
"m_Id": "679b68d8cab68489a385dd36b6166a25"
},
"m_SlotId": 2
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"4f95ab4d-6909-4241-8654-1d839b855d2c\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"8b4397e5-ff1a-4df7-aebf-163ca70a9956\"\n }\n}"
"m_InputSlot": {
"m_Node": {
"m_Id": "41d272524279598f99182ec8e93696b5"
},
"m_SlotId": 0
}
"typeInfo": {
"fullName": "UnityEditor.Graphing.Edge"
"m_OutputSlot": {
"m_Node": {
"m_Id": "e192b7fd9505818cb354773677f0edf1"
},
"m_SlotId": 1
"JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"266b3944-3797-4640-9912-ed30afc3ab08\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"bd1d0cde-2039-4f38-8536-df392ed3e2b0\"\n }\n}"
"m_InputSlot": {
"m_Node": {
"m_Id": "f9d76de66eb56e879af759847d8710e9"
},
"m_SlotId": 0
}
"m_VertexContext": {
"m_Position": {
"x": 342.0,
"y": 4.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 342.0,
"y": 204.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",

"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_ActiveOutputNodeGuidSerialized": ""
}
"m_OutputNode": {
"m_Id": "f9d76de66eb56e879af759847d8710e9"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "00a5519be6a37d81a6cb9ac9f6aa3c2b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -462.0,
"y": -123.0,
"width": 99.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "8aa9efd2d32da38fb4755d9854fa6e8b"
}
],
"synonyms": [],
"m_Precision": 2,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "ca6e01db41d47e83863c2684ab0f8c98"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "14231841c1472f81abb461c8f966680e",
"m_Id": 1,
"m_DisplayName": "In Min Max",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "InMinMax",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1a17138a363144888a3ce2ff166dd298",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2ce445065d099e849c84af46403e8b14",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.FractionNode",
"m_ObjectId": "41d272524279598f99182ec8e93696b5",
"m_Group": {
"m_Id": ""
},
"m_Name": "Fraction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -181.0,
"y": -98.0,
"width": 132.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "2ce445065d099e849c84af46403e8b14"
},
{
"m_Id": "809281568a55b58892f69633aeb7c792"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5d1024e3d6468f8fb3e99838bbfec94c",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "64ea3dac48a7cc84992d741b3ba5ca5a",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.RemapNode",
"m_ObjectId": "65a0ac8ba9d23b88ba7ebf0cba9a001f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Remap",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -21.0,
"y": -61.0,
"width": 188.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "af1af34c254b858b97bb95a54f5b6262"
},
{
"m_Id": "14231841c1472f81abb461c8f966680e"
},
{
"m_Id": "6ba49abbe602e286a5ff4b660756d378"
},
{
"m_Id": "90d98155e68e168f943b0396e979f5b2"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AddNode",
"m_ObjectId": "679b68d8cab68489a385dd36b6166a25",
"m_Group": {
"m_Id": ""
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -331.0,
"y": -98.0,
"width": 130.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "5d1024e3d6468f8fb3e99838bbfec94c"
},
{
"m_Id": "bb69a3689181e18791960257f965a393"
},
{
"m_Id": "64ea3dac48a7cc84992d741b3ba5ca5a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "6ba49abbe602e286a5ff4b660756d378",
"m_Id": 2,
"m_DisplayName": "Out Min Max",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "OutMinMax",
"m_StageCapability": 3,
"m_Value": {
"x": -1.0,
"y": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "7fcc63e96fe6838593a17f9599e911f4",
"m_Id": 0,
"m_DisplayName": "Output",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Output",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "809281568a55b58892f69633aeb7c792",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "8aa9efd2d32da38fb4755d9854fa6e8b",
"m_Id": 0,
"m_DisplayName": "Input",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "90d98155e68e168f943b0396e979f5b2",
"m_Id": 3,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "af1af34c254b858b97bb95a54f5b6262",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": -1.0,
"y": -1.0,
"z": -1.0,
"w": -1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b1523ef4190b578a9074a1e8102be073",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "bb69a3689181e18791960257f965a393",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5,
"w": 0.5
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "ca6e01db41d47e83863c2684ab0f8c98",
"m_Guid": {
"m_GuidSerialized": "8b831748-4bb9-4509-910e-75ffcafdc02e"
},
"m_Name": "Input",
"m_DefaultReferenceName": "Vector4_DF96E5E4",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 2,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AbsoluteNode",
"m_ObjectId": "e192b7fd9505818cb354773677f0edf1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Absolute",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 193.0,
"y": -61.0,
"width": 132.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "b1523ef4190b578a9074a1e8102be073"
},
{
"m_Id": "1a17138a363144888a3ce2ff166dd298"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "f9d76de66eb56e879af759847d8710e9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 355.0,
"y": -61.0,
"width": 91.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "7fcc63e96fe6838593a17f9599e911f4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}

553
Assets/Shaders/Vegetation/Vegetation.shadergraph
文件差异内容过多而无法显示
查看文件

624
Assets/Shaders/Vegetation/VegetationDeformation.shadersubgraph
文件差异内容过多而无法显示
查看文件

3
Packages/com.verasl.water-system/Scripts/Rendering/PlanarReflections.cs


var data = new PlanarReflectionSettingData(); // save quality settings and lower them for the planar reflections
data.Set(); // set quality settings
Shader.EnableKeyword("_PLANAR_REFLECTION_CAMERA");
BeginPlanarReflections?.Invoke(context, _reflectionCamera); // callback Action for PlanarReflection
UniversalRenderPipeline.RenderSingleCamera(context, _reflectionCamera); // render planar reflections

Shader.DisableKeyword("_PLANAR_REFLECTION_CAMERA");
}
class PlanarReflectionSettingData

1001
Assets/Shaders/UtilityGraphs/GetMainLight.shadersubgraph
文件差异内容过多而无法显示
查看文件

10
Assets/Shaders/UtilityGraphs/GetMainLight.shadersubgraph.meta


fileFormatVersion: 2
guid: 2ff6b2f9d6ff940dfa76d3c0d3f9c2ae
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
正在加载...
取消
保存