Files
2026-07-13 13:13:17 +08:00

398 lines
9.0 KiB
Plaintext

{
"FormatVersion": 3,
"Id": "c08a6847-e7c4-46e6-a8fb-24bb62a64b96"/*DrawMeshWithShadow*/,
"Description": "Is used together with [SetShadow] and a [SetPointLight] to render incoming geometry with a shadow map.\nSee [SetShadowExample]",
"SymbolTags": "1",
"InputUis": [
{
"InputId": "0a01af5b-3f25-43e2-9157-1aa961b2ffcf"/*ShadowColor*/,
"Position": {
"X": 1409.222,
"Y": 3758.8037
},
"GroupTitle": "Shadow Settings",
"Min": 0.0,
"Max": 1.0,
"ClampMin": true,
"ClampMax": true
},
{
"InputId": "2c7cb3a7-ba47-42e9-bc39-597e5fd45457"/*FillMode*/,
"Position": {
"X": 2201.7131,
"Y": 4214.662
},
"GroupTitle": "Draw Style"
},
{
"InputId": "5c4def3d-9261-4100-8136-abc552e9f547"/*Color*/,
"Position": {
"X": 1269.222,
"Y": 3618.8037
},
"GroupTitle": "Draw Mesh Options"
},
{
"InputId": "734e5d0f-d319-43a9-84ab-8aee82acbb7f"/*AlphaCutOff*/,
"Position": {
"X": 1549.222,
"Y": 3968.8037
}
},
{
"InputId": "80071837-3b7c-440f-b0da-ec3c7fa31590"/*BlendMode*/,
"Position": {
"X": 2201.7131,
"Y": 4268.7285
}
},
{
"InputId": "830f6fea-926b-4597-8fad-075b6d52db4d"/*Mesh*/,
"Relevancy": "Required",
"Position": {
"X": 1408.6417,
"Y": 4445.741
}
},
{
"InputId": "848e10b4-5511-4495-bf63-eb76a1b63fb4"/*ShadowBias*/,
"Position": {
"X": 1549.222,
"Y": 3898.8037
},
"AddPadding": "True"
},
{
"InputId": "8cea9257-8bde-46ac-9c32-8a63fea405d6"/*Culling*/,
"Position": {
"X": 2201.7131,
"Y": 4179.662
}
},
{
"InputId": "bec607ca-e53f-43c8-a052-224506596016"/*ShadowOffset*/,
"Position": {
"X": 1549.222,
"Y": 3933.8037
}
},
{
"InputId": "d81604c9-5a34-44e7-a301-284c1a99afc0"/*EnableZWrite*/,
"Position": {
"X": 2201.7131,
"Y": 4338.7285
}
},
{
"InputId": "f3f574a3-6e2f-45b9-9335-c8fc17111e05"/*EnableZTest*/,
"Position": {
"X": 2201.7131,
"Y": 4303.7285
},
"AddPadding": "True"
}
],
"SymbolChildUis": [
{
"ChildId": "00aaf1b1-002d-458d-af18-5d13b09b0287"/*_MeshBufferComponents*/,
"Position": {
"X": 1558.6417,
"Y": 4445.741
}
},
{
"ChildId": "021e0558-4f8c-4e4b-bc0c-33e47f153e33"/*VertexShader*/,
"Position": {
"X": 2453.3958,
"Y": 3484.6375
}
},
{
"ChildId": "0487f8aa-63e0-41e5-a700-eea2a79ee505"/*GetSRVProperties*/,
"Position": {
"X": 1879.3281,
"Y": 4579.8354
}
},
{
"ChildId": "0a4e8fa0-24d3-4a00-8b7a-01806a4f8e14"/*RasterizerState*/,
"Position": {
"X": 2341.7131,
"Y": 4179.662
}
},
{
"ChildId": "0b2f7ef0-114b-4754-9722-366180cd66dc"/*GetForegroundColor*/,
"Position": {
"X": 1269.222,
"Y": 3653.8037
}
},
{
"ChildId": "13224497-47d2-42fe-a59b-7f3a7a640626"/*ContextCBuffers*/,
"Position": {
"X": 2453.3958,
"Y": 3624.6375
}
},
{
"ChildId": "172b5ac1-114b-44ca-82a8-efdbfd468f44"/*GetBufferComponents*/,
"Position": {
"X": 1708.6417,
"Y": 4445.741
}
},
{
"ChildId": "2769cd74-2dcd-4d90-af54-84589f47f3f7"/*FloatsToBuffer*/,
"Style": "Resizable",
"Size": {
"X": 157.06432,
"Y": 466.7025
},
"Position": {
"X": 1689.222,
"Y": 3583.8037
}
},
{
"ChildId": "28a4d21e-db74-4460-ba8b-bb00e5166954"/*LogMessage*/,
"SectionId": "048d3245-6237-408e-af00-ab21abe97dde",
"Position": {
"X": 3052.1658,
"Y": 4191.5845
}
},
{
"ChildId": "3561b768-8d7e-4535-8f7b-a18d04f4b385"/*Draw*/,
"Position": {
"X": 2179.3281,
"Y": 4579.8354
}
},
{
"ChildId": "39e1a1e9-9705-4030-99b0-844c2de1d577"/*Vector4Components*/,
"Style": "Resizable",
"Size": {
"X": 111.079544,
"Y": 59.905018
},
"Position": {
"X": 1549.222,
"Y": 3618.8037
}
},
{
"ChildId": "4f2ff03e-19e9-4492-bb8d-38a0d65f14cf"/*Execute*/,
"Style": "Resizable",
"Size": {
"X": 81.28825,
"Y": 890.9817
},
"Position": {
"X": 2829.9883,
"Y": 3474.5918
}
},
{
"ChildId": "50aaa25e-598d-4ea4-a33f-b4329f13cdbe"/*DepthStencilState*/,
"Position": {
"X": 2341.7131,
"Y": 4303.7285
}
},
{
"ChildId": "5799ef0f-5279-4f00-bafe-fbc688bfef23"/*GetIntVar*/,
"SectionId": "048d3245-6237-408e-af00-ab21abe97dde",
"Position": {
"X": 3052.1658,
"Y": 4247.5845
}
},
{
"ChildId": "62b71885-f2f7-4dd8-a1e7-d83895d7466b"/*GetBufferComponents*/,
"Position": {
"X": 1708.6417,
"Y": 4501.741
}
},
{
"ChildId": "668bd214-ffa2-4b14-a3d3-d12cb401cece"/*PickBlendMode*/,
"Position": {
"X": 2341.7131,
"Y": 4268.7285
}
},
{
"ChildId": "682dc49b-5b23-4b8d-95cc-fce980de5087"/*LogMessage*/,
"Position": {
"X": 3055.061,
"Y": 4047.1191
}
},
{
"ChildId": "6c899a55-a519-4aea-a287-f935a1773ad6"/*Clamped Sampler*/,
"Position": {
"X": 2453.3958,
"Y": 4079.6377
}
},
{
"ChildId": "7319aa2a-3ade-4a48-9621-037c5f07f988"/*GetShadowMap*/,
"Position": {
"X": 2313.3955,
"Y": 4009.6375
}
},
{
"ChildId": "856cfa99-1356-4bc4-8dfd-0766b0ef1fb4"/*BlendColors*/,
"Position": {
"X": 1409.222,
"Y": 3618.8037
}
},
{
"ChildId": "8d5ce753-2f57-4f77-88ca-f6466f846f75"/*Switch*/,
"Position": {
"X": 3205.061,
"Y": 4047.1191
}
},
{
"ChildId": "9332c25c-370c-4887-b7ae-6b3bdd478063"/*Rasterizer*/,
"Position": {
"X": 2481.7131,
"Y": 4179.662
}
},
{
"ChildId": "9a5fe69f-379c-4b50-bdfa-8a9671c4a9ab"/*SrvFromTexture2d*/,
"Position": {
"X": 2453.3958,
"Y": 4009.6375
}
},
{
"ChildId": "adae8912-78fb-4631-9b69-1425f40ab24b"/*InputAssemblerStage*/,
"Position": {
"X": 2593.3958,
"Y": 3441.6375
}
},
{
"ChildId": "ba3dded7-afde-4d0b-a754-fc66f508cb3b"/*Default Linear Sampler*/,
"Position": {
"X": 2453.3958,
"Y": 4044.6375
}
},
{
"ChildId": "be416487-fa58-4c21-8070-7dc73592c5f8"/*SetPixelAndVertexShaderStage*/,
"Style": "Resizable",
"Size": {
"X": 108.7013,
"Y": 438.858
},
"Position": {
"X": 2593.3958,
"Y": 3484.6375
}
},
{
"ChildId": "cb9c2c80-1872-4ac4-aff3-e7d090197e6d"/*SrvFromTexture2d*/,
"Position": {
"X": 2130.888,
"Y": 3966.112
}
},
{
"ChildId": "ce21e25d-2ca2-4f3e-8238-93e27ab52b91"/*PixelShader*/,
"Position": {
"X": 2453.3958,
"Y": 3519.6375
}
},
{
"ChildId": "d06bef6a-8edd-4c47-bf64-8945d05f2c04"/*_TransformsCBuffer*/,
"Style": "Expanded",
"Size": {
"X": 110.0,
"Y": 23.0
},
"Position": {
"X": 2453.3958,
"Y": 3554.6375
}
},
{
"ChildId": "db410c3c-0241-4da2-a5f2-360ecf734b53"/*GetPbrParameters*/,
"Position": {
"X": 2075.5154,
"Y": 3725.1445
}
},
{
"ChildId": "ea3580f9-a737-45ca-a006-75e404ab730d"/*OutputMergerStage*/,
"Position": {
"X": 2481.7131,
"Y": 4268.7285
}
},
{
"ChildId": "eaa0aeb6-87c1-45e2-8342-c885e8eae3cb"/*Vector4Components*/,
"Position": {
"X": 1549.222,
"Y": 3758.8037
}
},
{
"ChildId": "eaa1abf0-e0d0-427c-b382-b2f3f2755581"/*GetMatrixVar*/,
"Position": {
"X": 1549.222,
"Y": 3583.8037
}
},
{
"ChildId": "f7619775-7db6-48dc-a0ec-9edddf8421b9"/*MultiplyInt*/,
"Position": {
"X": 2029.3281,
"Y": 4579.8354
}
},
{
"ChildId": "ff413bac-fcb9-4a04-a051-0f1f9234b648"/*GetPrefilteredSpecular*/,
"Position": {
"X": 1990.8877,
"Y": 3966.112
}
}
],
"OutputUis": [
{
"OutputId": "41608df0-8589-4144-80a0-438b73ced439"/*Output*/,
"Position": {
"X": 3355.061,
"Y": 4047.1191
}
}
],
"Sections": [
{
"Id": "048d3245-6237-408e-af00-ab21abe97dde",
"Title": "Eventually it would be great to have a dedicated shadow pass shader for faster rendering.\n",
"Color": {
"X": 0.6,
"Y": 0.6,
"Z": 0.6,
"W": 1.0
},
"Position": {
"X": 2998.3184,
"Y": 4148.9097
},
"Size": {
"X": 230.0,
"Y": 199.0
}
}
]
}