add Lit Decal shader graph

This commit is contained in:
Kirill Chikalin
2024-11-19 11:53:52 +03:00
parent c09c438cd9
commit 8fce45ede5
17 changed files with 5982 additions and 8546 deletions

File diff suppressed because one or more lines are too long

View File

@@ -50,9 +50,9 @@ Material:
m_Ints: []
m_Floats:
- _Ambient: 0.5
- _Bevel: 0.5
- _Bevel: 0.645
- _BevelClamp: 0
- _BevelOffset: 0
- _BevelOffset: -0.051
- _BevelRoundness: 0
- _BevelWidth: 0
- _BumpFace: 0.5
@@ -65,10 +65,10 @@ Material:
- _FaceShininess: 0
- _FaceUVSpeedX: 0
- _FaceUVSpeedY: 0
- _GlowInner: 0.05
- _GlowOffset: 0
- _GlowInner: 0
- _GlowOffset: 0.302
- _GlowOuter: 0.05
- _GlowPower: 0.75
- _GlowPower: 1
- _GradientScale: 10
- _LightAngle: 3.1416
- _MaskEdgeSoftness: 0.01
@@ -83,13 +83,13 @@ Material:
- _OutlineWidth: 0
- _Padding: 0
- _PerspectiveFilter: 0.875
- _Reflectivity: 10
- _Reflectivity: 9.84
- _ScaleRatioA: 0.9
- _ScaleRatioB: 0.73125
- _ScaleRatioC: 0.73125
- _ScaleX: 1
- _ScaleY: 1
- _ShaderFlags: 0
- _ShaderFlags: 1
- _Sharpness: 0
- _SpecularPower: 2
- _Stencil: 0

View File

@@ -1753,6 +1753,7 @@
"m_OutputNode": {
"m_Id": ""
},
"m_SubDatas": [],
"m_ActiveTargets": [
{
"m_Id": "94300469581b4924ac7dda496811d45d"
@@ -1802,8 +1803,8 @@
"m_ObjectId": "013228b0fdf1424097798f0973a9a4fb",
"m_Title": "Face Texture",
"m_Position": {
"x": -4813.0,
"y": -2949.0
"x": -4803.0,
"y": -2948.5
}
}
@@ -2527,7 +2528,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -2763,7 +2764,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -2957,7 +2958,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -3194,10 +3195,10 @@
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_Labels": []
}
@@ -3311,6 +3312,7 @@
"m_SourceType": 0,
"m_FunctionName": "Composite",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -3849,7 +3851,7 @@
"m_StageCapability": 3,
"m_BareResource": true,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -4383,8 +4385,8 @@
"m_ObjectId": "42cadae0923e4969b50bbc3f78185934",
"m_Title": "Face + 3 Outlines + Underlay",
"m_Position": {
"x": -5468.0,
"y": -3558.0
"x": -5468.00048828125,
"y": -3557.5
}
}
@@ -4453,6 +4455,7 @@
"m_SourceType": 0,
"m_FunctionName": "Layer1",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -4594,7 +4597,7 @@
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"isMainTexture": false,
@@ -4667,8 +4670,8 @@
"m_ObjectId": "484b51c50485473b819c4f05087b32d7",
"m_Title": "Underlay",
"m_Position": {
"x": -5253.0,
"y": -4542.0
"x": -4959.00048828125,
"y": -4541.5
}
}
@@ -4800,10 +4803,10 @@
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_Labels": []
}
@@ -4958,7 +4961,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":-2362172177983852347,\"guid\":\"dda5bcb0d1e9515498f6e4e038bbefe6\",\"type\":2}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -5012,7 +5015,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":-2362172177983852347,\"guid\":\"dda5bcb0d1e9515498f6e4e038bbefe6\",\"type\":2}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -5067,6 +5070,7 @@
"m_SourceType": 0,
"m_FunctionName": "GetSurfaceNormal",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -6209,7 +6213,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -7220,6 +7224,7 @@
"m_SourceType": 0,
"m_FunctionName": "ScreenSpaceRatio",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -7567,6 +7572,7 @@
"m_SourceType": 0,
"m_FunctionName": "ComputeSDF",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -7942,6 +7948,7 @@
"m_AlphaClip": true,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_DisableTint": false,
"m_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
@@ -8068,8 +8075,8 @@
"m_ObjectId": "98934a69591249d5b8b92b39045359a3",
"m_Title": "Outline1 Texture",
"m_Position": {
"x": -4670.00048828125,
"y": -2474.000244140625
"x": -4660.0,
"y": -2473.5
}
}
@@ -8522,6 +8529,7 @@
"m_SourceType": 0,
"m_FunctionName": "GenerateUV",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -8806,6 +8814,7 @@
"m_SourceType": 0,
"m_FunctionName": "EvaluateLight",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -9056,7 +9065,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -9256,7 +9265,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":-2362172177983852347,\"guid\":\"dda5bcb0d1e9515498f6e4e038bbefe6\",\"type\":2}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -9341,7 +9350,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":-2362172177983852347,\"guid\":\"dda5bcb0d1e9515498f6e4e038bbefe6\",\"type\":2}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
@@ -9627,6 +9636,7 @@
"m_SourceType": 0,
"m_FunctionName": "GenerateUV",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -9881,7 +9891,7 @@
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"isMainTexture": false,
@@ -10154,8 +10164,8 @@
"m_ObjectId": "d0a791a544614667962a9a9a9ce0c68a",
"m_Title": "Screen Space Ratio",
"m_Position": {
"x": -6179.99951171875,
"y": -3422.0
"x": -6180.00048828125,
"y": -3421.5
}
}
@@ -10253,8 +10263,8 @@
"m_ObjectId": "d258902c6ec74942afdb9ebf8c1d07f8",
"m_Title": "Generate Normal",
"m_Position": {
"x": -4511.33349609375,
"y": -3999.3330078125
"x": -4511.0,
"y": -3998.5
}
}
@@ -10532,8 +10542,8 @@
"m_ObjectId": "daaf032a109749a88c9b8ff8e1f8b541",
"m_Title": "Offset Scale",
"m_Position": {
"x": -5747.99951171875,
"y": -3961.0
"x": -5748.00048828125,
"y": -3960.5
}
}
@@ -10918,6 +10928,7 @@
"m_SourceType": 0,
"m_FunctionName": "ComputeSDF44",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -11087,7 +11098,7 @@
"m_Title": "Vertex Color",
"m_Position": {
"x": -3448.000244140625,
"y": -3579.0
"y": -3578.5
}
}
@@ -11276,6 +11287,7 @@
"m_SourceType": 0,
"m_FunctionName": "Layer4",
"m_FunctionSource": "96de908384869cd409c75efa351d5edf",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
@@ -11753,7 +11765,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0