Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BranchOnRP.shadergraph 35KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "a4fdd018984a43c38cd97dc14bb1919b",
  5. "m_Properties": [
  6. {
  7. "m_Id": "20d5cbae90bc4e059310b92aba3c5752"
  8. },
  9. {
  10. "m_Id": "b06befb688be4bbc9dca73fe6f9aa1ca"
  11. },
  12. {
  13. "m_Id": "d1551d72b19049ae889a1250bfd2ed63"
  14. }
  15. ],
  16. "m_Keywords": [],
  17. "m_Dropdowns": [],
  18. "m_CategoryData": [
  19. {
  20. "m_Id": "c31659fc6b4641b8899b6944c4699543"
  21. }
  22. ],
  23. "m_Nodes": [
  24. {
  25. "m_Id": "d8fca6616a0a4df18dd4da510e9fa4bb"
  26. },
  27. {
  28. "m_Id": "318f7d482e9d47f3b07f2d33165e706b"
  29. },
  30. {
  31. "m_Id": "da9c3ed0f9124e3c8dcc4eacd89b29bd"
  32. },
  33. {
  34. "m_Id": "24512b6b55274f8793f47608cb70c433"
  35. },
  36. {
  37. "m_Id": "047f5c93456d4d8e9958d1958a1ae88f"
  38. },
  39. {
  40. "m_Id": "b8b04eed67b341a68751e7c5296bb059"
  41. },
  42. {
  43. "m_Id": "2992dff7b17e47e6b584f66949cc2644"
  44. },
  45. {
  46. "m_Id": "7029286877204f439c0bda992279534d"
  47. },
  48. {
  49. "m_Id": "98d152034592443684f55ca7208e55d2"
  50. },
  51. {
  52. "m_Id": "85cc8f4215dc4b8d857e898944e16441"
  53. },
  54. {
  55. "m_Id": "a46d503dff254b498add8f9d546e3d8e"
  56. },
  57. {
  58. "m_Id": "66ddaeb75a5944c190738f5534ce02a8"
  59. },
  60. {
  61. "m_Id": "3b794ecd390a4a6fbf6bc22b18c1d55a"
  62. },
  63. {
  64. "m_Id": "bf36a6403ed84eaaa2817280653d3778"
  65. },
  66. {
  67. "m_Id": "f0d59b5c08514563a3677064c73c737e"
  68. }
  69. ],
  70. "m_GroupDatas": [],
  71. "m_StickyNoteDatas": [
  72. {
  73. "m_Id": "4f4648de17eb4b86b2cf471c6904daff"
  74. },
  75. {
  76. "m_Id": "623346622ae4416d83e137c376f08118"
  77. }
  78. ],
  79. "m_Edges": [
  80. {
  81. "m_OutputSlot": {
  82. "m_Node": {
  83. "m_Id": "047f5c93456d4d8e9958d1958a1ae88f"
  84. },
  85. "m_SlotId": 0
  86. },
  87. "m_InputSlot": {
  88. "m_Node": {
  89. "m_Id": "f0d59b5c08514563a3677064c73c737e"
  90. },
  91. "m_SlotId": 788036408
  92. }
  93. },
  94. {
  95. "m_OutputSlot": {
  96. "m_Node": {
  97. "m_Id": "2992dff7b17e47e6b584f66949cc2644"
  98. },
  99. "m_SlotId": 0
  100. },
  101. "m_InputSlot": {
  102. "m_Node": {
  103. "m_Id": "f0d59b5c08514563a3677064c73c737e"
  104. },
  105. "m_SlotId": 1798337600
  106. }
  107. },
  108. {
  109. "m_OutputSlot": {
  110. "m_Node": {
  111. "m_Id": "b8b04eed67b341a68751e7c5296bb059"
  112. },
  113. "m_SlotId": 0
  114. },
  115. "m_InputSlot": {
  116. "m_Node": {
  117. "m_Id": "f0d59b5c08514563a3677064c73c737e"
  118. },
  119. "m_SlotId": -427767828
  120. }
  121. },
  122. {
  123. "m_OutputSlot": {
  124. "m_Node": {
  125. "m_Id": "f0d59b5c08514563a3677064c73c737e"
  126. },
  127. "m_SlotId": 1
  128. },
  129. "m_InputSlot": {
  130. "m_Node": {
  131. "m_Id": "24512b6b55274f8793f47608cb70c433"
  132. },
  133. "m_SlotId": 0
  134. }
  135. }
  136. ],
  137. "m_VertexContext": {
  138. "m_Position": {
  139. "x": 0.0,
  140. "y": 0.0
  141. },
  142. "m_Blocks": [
  143. {
  144. "m_Id": "d8fca6616a0a4df18dd4da510e9fa4bb"
  145. },
  146. {
  147. "m_Id": "318f7d482e9d47f3b07f2d33165e706b"
  148. },
  149. {
  150. "m_Id": "da9c3ed0f9124e3c8dcc4eacd89b29bd"
  151. }
  152. ]
  153. },
  154. "m_FragmentContext": {
  155. "m_Position": {
  156. "x": 0.0,
  157. "y": 200.0
  158. },
  159. "m_Blocks": [
  160. {
  161. "m_Id": "24512b6b55274f8793f47608cb70c433"
  162. },
  163. {
  164. "m_Id": "7029286877204f439c0bda992279534d"
  165. },
  166. {
  167. "m_Id": "98d152034592443684f55ca7208e55d2"
  168. },
  169. {
  170. "m_Id": "85cc8f4215dc4b8d857e898944e16441"
  171. },
  172. {
  173. "m_Id": "a46d503dff254b498add8f9d546e3d8e"
  174. },
  175. {
  176. "m_Id": "66ddaeb75a5944c190738f5534ce02a8"
  177. },
  178. {
  179. "m_Id": "3b794ecd390a4a6fbf6bc22b18c1d55a"
  180. },
  181. {
  182. "m_Id": "bf36a6403ed84eaaa2817280653d3778"
  183. }
  184. ]
  185. },
  186. "m_PreviewData": {
  187. "serializedMesh": {
  188. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  189. "m_Guid": ""
  190. },
  191. "preventRotation": false
  192. },
  193. "m_Path": "Shader Graphs",
  194. "m_GraphPrecision": 1,
  195. "m_PreviewMode": 2,
  196. "m_OutputNode": {
  197. "m_Id": ""
  198. },
  199. "m_SubDatas": [],
  200. "m_ActiveTargets": [
  201. {
  202. "m_Id": "4402622338b944aebf4428b4ad0cf738"
  203. },
  204. {
  205. "m_Id": "ce5cc92dacd242838841b23f28baec57"
  206. },
  207. {
  208. "m_Id": "625062f36d9847d88e3ed04403868ae4"
  209. }
  210. ]
  211. }
  212. {
  213. "m_SGVersion": 0,
  214. "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
  215. "m_ObjectId": "047f5c93456d4d8e9958d1958a1ae88f",
  216. "m_Group": {
  217. "m_Id": ""
  218. },
  219. "m_Name": "Property",
  220. "m_DrawState": {
  221. "m_Expanded": true,
  222. "m_Position": {
  223. "serializedVersion": "2",
  224. "x": -579.0,
  225. "y": 230.0,
  226. "width": 100.0,
  227. "height": 34.0
  228. }
  229. },
  230. "m_Slots": [
  231. {
  232. "m_Id": "ceacd05c15df4630b33155652f3621ff"
  233. }
  234. ],
  235. "synonyms": [],
  236. "m_Precision": 0,
  237. "m_PreviewExpanded": true,
  238. "m_DismissedVersion": 0,
  239. "m_PreviewMode": 0,
  240. "m_CustomColors": {
  241. "m_SerializableColors": []
  242. },
  243. "m_Property": {
  244. "m_Id": "20d5cbae90bc4e059310b92aba3c5752"
  245. }
  246. }
  247. {
  248. "m_SGVersion": 0,
  249. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  250. "m_ObjectId": "1cc0845a1ed54f339578e4bc0a48edb6",
  251. "m_Id": 0,
  252. "m_DisplayName": "Normal",
  253. "m_SlotType": 0,
  254. "m_Hidden": false,
  255. "m_ShaderOutputName": "Normal",
  256. "m_StageCapability": 1,
  257. "m_Value": {
  258. "x": 0.0,
  259. "y": 0.0,
  260. "z": 0.0
  261. },
  262. "m_DefaultValue": {
  263. "x": 0.0,
  264. "y": 0.0,
  265. "z": 0.0
  266. },
  267. "m_Labels": [],
  268. "m_Space": 0
  269. }
  270. {
  271. "m_SGVersion": 0,
  272. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  273. "m_ObjectId": "1cdcb4aa3e804e3bb3070d9a93ced4c6",
  274. "m_Id": -427767828,
  275. "m_DisplayName": "HDRP",
  276. "m_SlotType": 0,
  277. "m_Hidden": false,
  278. "m_ShaderOutputName": "_HDRP",
  279. "m_StageCapability": 3,
  280. "m_Value": {
  281. "x": 0.0,
  282. "y": 0.0,
  283. "z": 0.0,
  284. "w": 0.0
  285. },
  286. "m_DefaultValue": {
  287. "x": 0.0,
  288. "y": 0.0,
  289. "z": 0.0,
  290. "w": 0.0
  291. },
  292. "m_Labels": []
  293. }
  294. {
  295. "m_SGVersion": 2,
  296. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  297. "m_ObjectId": "1d819c4c6cd54ec7bfd77c3049d81535"
  298. }
  299. {
  300. "m_SGVersion": 3,
  301. "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
  302. "m_ObjectId": "20d5cbae90bc4e059310b92aba3c5752",
  303. "m_Guid": {
  304. "m_GuidSerialized": "9740cd55-6dc7-467d-8306-730845c1a32b"
  305. },
  306. "m_Name": "URP",
  307. "m_DefaultRefNameVersion": 1,
  308. "m_RefNameGeneratedByDisplayName": "URP",
  309. "m_DefaultReferenceName": "_URP",
  310. "m_OverrideReferenceName": "",
  311. "m_GeneratePropertyBlock": true,
  312. "m_UseCustomSlotLabel": false,
  313. "m_CustomSlotLabel": "",
  314. "m_DismissedVersion": 0,
  315. "m_Precision": 0,
  316. "overrideHLSLDeclaration": false,
  317. "hlslDeclarationOverride": 0,
  318. "m_Hidden": false,
  319. "m_Value": {
  320. "r": 0.0,
  321. "g": 1.0,
  322. "b": 0.06817293167114258,
  323. "a": 0.0
  324. },
  325. "isMainColor": false,
  326. "m_ColorMode": 0
  327. }
  328. {
  329. "m_SGVersion": 0,
  330. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  331. "m_ObjectId": "24512b6b55274f8793f47608cb70c433",
  332. "m_Group": {
  333. "m_Id": ""
  334. },
  335. "m_Name": "SurfaceDescription.BaseColor",
  336. "m_DrawState": {
  337. "m_Expanded": true,
  338. "m_Position": {
  339. "serializedVersion": "2",
  340. "x": 0.0,
  341. "y": 0.0,
  342. "width": 0.0,
  343. "height": 0.0
  344. }
  345. },
  346. "m_Slots": [
  347. {
  348. "m_Id": "92370f6b217d43d390ff4be969516a7d"
  349. }
  350. ],
  351. "synonyms": [],
  352. "m_Precision": 0,
  353. "m_PreviewExpanded": true,
  354. "m_DismissedVersion": 0,
  355. "m_PreviewMode": 0,
  356. "m_CustomColors": {
  357. "m_SerializableColors": []
  358. },
  359. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  360. }
  361. {
  362. "m_SGVersion": 0,
  363. "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
  364. "m_ObjectId": "2992dff7b17e47e6b584f66949cc2644",
  365. "m_Group": {
  366. "m_Id": ""
  367. },
  368. "m_Name": "Property",
  369. "m_DrawState": {
  370. "m_Expanded": true,
  371. "m_Position": {
  372. "serializedVersion": "2",
  373. "x": -580.0,
  374. "y": 298.0,
  375. "width": 101.0,
  376. "height": 34.0
  377. }
  378. },
  379. "m_Slots": [
  380. {
  381. "m_Id": "ebb1eb5592804fba952ce140ebd8d783"
  382. }
  383. ],
  384. "synonyms": [],
  385. "m_Precision": 0,
  386. "m_PreviewExpanded": true,
  387. "m_DismissedVersion": 0,
  388. "m_PreviewMode": 0,
  389. "m_CustomColors": {
  390. "m_SerializableColors": []
  391. },
  392. "m_Property": {
  393. "m_Id": "d1551d72b19049ae889a1250bfd2ed63"
  394. }
  395. }
  396. {
  397. "m_SGVersion": 0,
  398. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  399. "m_ObjectId": "2d88d648d90f40bf91921db65cff662a",
  400. "m_Id": 0,
  401. "m_DisplayName": "Tangent",
  402. "m_SlotType": 0,
  403. "m_Hidden": false,
  404. "m_ShaderOutputName": "Tangent",
  405. "m_StageCapability": 1,
  406. "m_Value": {
  407. "x": 0.0,
  408. "y": 0.0,
  409. "z": 0.0
  410. },
  411. "m_DefaultValue": {
  412. "x": 0.0,
  413. "y": 0.0,
  414. "z": 0.0
  415. },
  416. "m_Labels": [],
  417. "m_Space": 0
  418. }
  419. {
  420. "m_SGVersion": 0,
  421. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  422. "m_ObjectId": "318f7d482e9d47f3b07f2d33165e706b",
  423. "m_Group": {
  424. "m_Id": ""
  425. },
  426. "m_Name": "VertexDescription.Normal",
  427. "m_DrawState": {
  428. "m_Expanded": true,
  429. "m_Position": {
  430. "serializedVersion": "2",
  431. "x": 0.0,
  432. "y": 0.0,
  433. "width": 0.0,
  434. "height": 0.0
  435. }
  436. },
  437. "m_Slots": [
  438. {
  439. "m_Id": "1cc0845a1ed54f339578e4bc0a48edb6"
  440. }
  441. ],
  442. "synonyms": [],
  443. "m_Precision": 0,
  444. "m_PreviewExpanded": true,
  445. "m_DismissedVersion": 0,
  446. "m_PreviewMode": 0,
  447. "m_CustomColors": {
  448. "m_SerializableColors": []
  449. },
  450. "m_SerializedDescriptor": "VertexDescription.Normal"
  451. }
  452. {
  453. "m_SGVersion": 0,
  454. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  455. "m_ObjectId": "3b794ecd390a4a6fbf6bc22b18c1d55a",
  456. "m_Group": {
  457. "m_Id": ""
  458. },
  459. "m_Name": "SurfaceDescription.NormalTS",
  460. "m_DrawState": {
  461. "m_Expanded": true,
  462. "m_Position": {
  463. "serializedVersion": "2",
  464. "x": 0.0,
  465. "y": 0.0,
  466. "width": 0.0,
  467. "height": 0.0
  468. }
  469. },
  470. "m_Slots": [
  471. {
  472. "m_Id": "5d58000995f64df69597095dd9dfdf5f"
  473. }
  474. ],
  475. "synonyms": [],
  476. "m_Precision": 0,
  477. "m_PreviewExpanded": true,
  478. "m_DismissedVersion": 0,
  479. "m_PreviewMode": 0,
  480. "m_CustomColors": {
  481. "m_SerializableColors": []
  482. },
  483. "m_SerializedDescriptor": "SurfaceDescription.NormalTS"
  484. }
  485. {
  486. "m_SGVersion": 0,
  487. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  488. "m_ObjectId": "415c989992c54ce29e04c80521b5cd33",
  489. "m_Id": 0,
  490. "m_DisplayName": "Smoothness",
  491. "m_SlotType": 0,
  492. "m_Hidden": false,
  493. "m_ShaderOutputName": "Smoothness",
  494. "m_StageCapability": 2,
  495. "m_Value": 0.5,
  496. "m_DefaultValue": 0.5,
  497. "m_Labels": []
  498. }
  499. {
  500. "m_SGVersion": 2,
  501. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  502. "m_ObjectId": "4402622338b944aebf4428b4ad0cf738",
  503. "m_Datas": [],
  504. "m_ActiveSubTarget": {
  505. "m_Id": "d81d0d917bee4b469a1fe514ce59f6d1"
  506. },
  507. "m_AllowMaterialOverride": false,
  508. "m_SurfaceType": 0,
  509. "m_ZWriteControl": 0,
  510. "m_ZTestMode": 4,
  511. "m_AlphaMode": 0,
  512. "m_RenderFace": 2,
  513. "m_AlphaClip": false,
  514. "m_CustomEditorGUI": ""
  515. }
  516. {
  517. "m_SGVersion": 0,
  518. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDLitData",
  519. "m_ObjectId": "4a80b1003f274f94b06e370df44d29d9",
  520. "m_RayTracing": false,
  521. "m_MaterialType": 0,
  522. "m_MaterialTypeMask": 2,
  523. "m_RefractionModel": 0,
  524. "m_SSSTransmission": true,
  525. "m_EnergyConservingSpecular": true,
  526. "m_ClearCoat": false
  527. }
  528. {
  529. "m_SGVersion": 0,
  530. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  531. "m_ObjectId": "4b26ccfd2d9948bdb96a4f5033d999be",
  532. "m_Id": 0,
  533. "m_DisplayName": "Metallic",
  534. "m_SlotType": 0,
  535. "m_Hidden": false,
  536. "m_ShaderOutputName": "Metallic",
  537. "m_StageCapability": 2,
  538. "m_Value": 0.0,
  539. "m_DefaultValue": 0.0,
  540. "m_Labels": []
  541. }
  542. {
  543. "m_SGVersion": 0,
  544. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  545. "m_ObjectId": "4f4648de17eb4b86b2cf471c6904daff",
  546. "m_Title": "Get the active RP",
  547. "m_Content": "In the custom function node, we check for render-pipeline-specific keywords to determine the currently active pipeline.",
  548. "m_TextSize": 0,
  549. "m_Theme": 0,
  550. "m_Position": {
  551. "serializedVersion": "2",
  552. "x": -501.0,
  553. "y": 101.0,
  554. "width": 224.0,
  555. "height": 100.0
  556. },
  557. "m_Group": {
  558. "m_Id": ""
  559. }
  560. }
  561. {
  562. "m_SGVersion": 0,
  563. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  564. "m_ObjectId": "5d58000995f64df69597095dd9dfdf5f",
  565. "m_Id": 0,
  566. "m_DisplayName": "Normal (Tangent Space)",
  567. "m_SlotType": 0,
  568. "m_Hidden": false,
  569. "m_ShaderOutputName": "NormalTS",
  570. "m_StageCapability": 2,
  571. "m_Value": {
  572. "x": 0.0,
  573. "y": 0.0,
  574. "z": 0.0
  575. },
  576. "m_DefaultValue": {
  577. "x": 0.0,
  578. "y": 0.0,
  579. "z": 0.0
  580. },
  581. "m_Labels": [],
  582. "m_Space": 3
  583. }
  584. {
  585. "m_SGVersion": 0,
  586. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  587. "m_ObjectId": "623346622ae4416d83e137c376f08118",
  588. "m_Title": "Branch on Different RP",
  589. "m_Content": "In some cases, we might want a shader graph to behave differently in different render pipelines.\nThis graph shows a way to determine the currently active render pipeline, using branch nodes that result in a green output when the project is in URP, blue in HDRP, and yellow in BiRP.",
  590. "m_TextSize": 0,
  591. "m_Theme": 0,
  592. "m_Position": {
  593. "serializedVersion": "2",
  594. "x": -984.0,
  595. "y": -78.0,
  596. "width": 240.66668701171876,
  597. "height": 149.3333282470703
  598. },
  599. "m_Group": {
  600. "m_Id": ""
  601. }
  602. }
  603. {
  604. "m_SGVersion": 1,
  605. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  606. "m_ObjectId": "625062f36d9847d88e3ed04403868ae4",
  607. "m_Datas": [],
  608. "m_ActiveSubTarget": {
  609. "m_Id": "1d819c4c6cd54ec7bfd77c3049d81535"
  610. },
  611. "m_AllowMaterialOverride": false,
  612. "m_SurfaceType": 0,
  613. "m_ZTestMode": 4,
  614. "m_ZWriteControl": 0,
  615. "m_AlphaMode": 0,
  616. "m_RenderFace": 2,
  617. "m_AlphaClip": false,
  618. "m_CastShadows": true,
  619. "m_ReceiveShadows": true,
  620. "m_DisableTint": false,
  621. "m_AdditionalMotionVectorMode": 0,
  622. "m_AlembicMotionVectors": false,
  623. "m_SupportsLODCrossFade": false,
  624. "m_CustomEditorGUI": "",
  625. "m_SupportVFX": false
  626. }
  627. {
  628. "m_SGVersion": 0,
  629. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  630. "m_ObjectId": "66ddaeb75a5944c190738f5534ce02a8",
  631. "m_Group": {
  632. "m_Id": ""
  633. },
  634. "m_Name": "SurfaceDescription.Occlusion",
  635. "m_DrawState": {
  636. "m_Expanded": true,
  637. "m_Position": {
  638. "serializedVersion": "2",
  639. "x": 0.0,
  640. "y": 0.0,
  641. "width": 0.0,
  642. "height": 0.0
  643. }
  644. },
  645. "m_Slots": [
  646. {
  647. "m_Id": "e6597ddd901a4a539f214219d32d26cc"
  648. }
  649. ],
  650. "synonyms": [],
  651. "m_Precision": 0,
  652. "m_PreviewExpanded": true,
  653. "m_DismissedVersion": 0,
  654. "m_PreviewMode": 0,
  655. "m_CustomColors": {
  656. "m_SerializableColors": []
  657. },
  658. "m_SerializedDescriptor": "SurfaceDescription.Occlusion"
  659. }
  660. {
  661. "m_SGVersion": 0,
  662. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  663. "m_ObjectId": "7029286877204f439c0bda992279534d",
  664. "m_Group": {
  665. "m_Id": ""
  666. },
  667. "m_Name": "SurfaceDescription.Emission",
  668. "m_DrawState": {
  669. "m_Expanded": true,
  670. "m_Position": {
  671. "serializedVersion": "2",
  672. "x": 0.0,
  673. "y": 0.0,
  674. "width": 0.0,
  675. "height": 0.0
  676. }
  677. },
  678. "m_Slots": [
  679. {
  680. "m_Id": "ced2481db6004ce88b4ec3eaf4eb1516"
  681. }
  682. ],
  683. "synonyms": [],
  684. "m_Precision": 0,
  685. "m_PreviewExpanded": true,
  686. "m_DismissedVersion": 0,
  687. "m_PreviewMode": 0,
  688. "m_CustomColors": {
  689. "m_SerializableColors": []
  690. },
  691. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  692. }
  693. {
  694. "m_SGVersion": 0,
  695. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  696. "m_ObjectId": "85cc8f4215dc4b8d857e898944e16441",
  697. "m_Group": {
  698. "m_Id": ""
  699. },
  700. "m_Name": "SurfaceDescription.BentNormal",
  701. "m_DrawState": {
  702. "m_Expanded": true,
  703. "m_Position": {
  704. "serializedVersion": "2",
  705. "x": 0.0,
  706. "y": 0.0,
  707. "width": 0.0,
  708. "height": 0.0
  709. }
  710. },
  711. "m_Slots": [
  712. {
  713. "m_Id": "e8aca44b3f364a8995042e901a8a36a4"
  714. }
  715. ],
  716. "synonyms": [],
  717. "m_Precision": 0,
  718. "m_PreviewExpanded": true,
  719. "m_DismissedVersion": 0,
  720. "m_PreviewMode": 0,
  721. "m_CustomColors": {
  722. "m_SerializableColors": []
  723. },
  724. "m_SerializedDescriptor": "SurfaceDescription.BentNormal"
  725. }
  726. {
  727. "m_SGVersion": 0,
  728. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  729. "m_ObjectId": "92370f6b217d43d390ff4be969516a7d",
  730. "m_Id": 0,
  731. "m_DisplayName": "Base Color",
  732. "m_SlotType": 0,
  733. "m_Hidden": false,
  734. "m_ShaderOutputName": "BaseColor",
  735. "m_StageCapability": 2,
  736. "m_Value": {
  737. "x": 0.5,
  738. "y": 0.5,
  739. "z": 0.5
  740. },
  741. "m_DefaultValue": {
  742. "x": 0.0,
  743. "y": 0.0,
  744. "z": 0.0
  745. },
  746. "m_Labels": [],
  747. "m_ColorMode": 0,
  748. "m_DefaultColor": {
  749. "r": 0.5,
  750. "g": 0.5,
  751. "b": 0.5,
  752. "a": 1.0
  753. }
  754. }
  755. {
  756. "m_SGVersion": 0,
  757. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  758. "m_ObjectId": "944907d74b524c12b90c287f1992f71a",
  759. "m_Id": 0,
  760. "m_DisplayName": "HDRP",
  761. "m_SlotType": 1,
  762. "m_Hidden": false,
  763. "m_ShaderOutputName": "Out",
  764. "m_StageCapability": 3,
  765. "m_Value": {
  766. "x": 0.0,
  767. "y": 0.0,
  768. "z": 0.0,
  769. "w": 0.0
  770. },
  771. "m_DefaultValue": {
  772. "x": 0.0,
  773. "y": 0.0,
  774. "z": 0.0,
  775. "w": 0.0
  776. },
  777. "m_Labels": []
  778. }
  779. {
  780. "m_SGVersion": 0,
  781. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  782. "m_ObjectId": "98d152034592443684f55ca7208e55d2",
  783. "m_Group": {
  784. "m_Id": ""
  785. },
  786. "m_Name": "SurfaceDescription.Alpha",
  787. "m_DrawState": {
  788. "m_Expanded": true,
  789. "m_Position": {
  790. "serializedVersion": "2",
  791. "x": 0.0,
  792. "y": 0.0,
  793. "width": 0.0,
  794. "height": 0.0
  795. }
  796. },
  797. "m_Slots": [
  798. {
  799. "m_Id": "e140d51ab8264a6081f27328cd0f21dd"
  800. }
  801. ],
  802. "synonyms": [],
  803. "m_Precision": 0,
  804. "m_PreviewExpanded": true,
  805. "m_DismissedVersion": 0,
  806. "m_PreviewMode": 0,
  807. "m_CustomColors": {
  808. "m_SerializableColors": []
  809. },
  810. "m_SerializedDescriptor": "SurfaceDescription.Alpha"
  811. }
  812. {
  813. "m_SGVersion": 0,
  814. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  815. "m_ObjectId": "a46d503dff254b498add8f9d546e3d8e",
  816. "m_Group": {
  817. "m_Id": ""
  818. },
  819. "m_Name": "SurfaceDescription.Smoothness",
  820. "m_DrawState": {
  821. "m_Expanded": true,
  822. "m_Position": {
  823. "serializedVersion": "2",
  824. "x": 0.0,
  825. "y": 0.0,
  826. "width": 0.0,
  827. "height": 0.0
  828. }
  829. },
  830. "m_Slots": [
  831. {
  832. "m_Id": "415c989992c54ce29e04c80521b5cd33"
  833. }
  834. ],
  835. "synonyms": [],
  836. "m_Precision": 0,
  837. "m_PreviewExpanded": true,
  838. "m_DismissedVersion": 0,
  839. "m_PreviewMode": 0,
  840. "m_CustomColors": {
  841. "m_SerializableColors": []
  842. },
  843. "m_SerializedDescriptor": "SurfaceDescription.Smoothness"
  844. }
  845. {
  846. "m_SGVersion": 0,
  847. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  848. "m_ObjectId": "a8c1283c35754930a11adc868252b8e9",
  849. "m_Id": 1798337600,
  850. "m_DisplayName": "BIRP",
  851. "m_SlotType": 0,
  852. "m_Hidden": false,
  853. "m_ShaderOutputName": "_BIRP",
  854. "m_StageCapability": 3,
  855. "m_Value": {
  856. "x": 0.0,
  857. "y": 0.0,
  858. "z": 0.0,
  859. "w": 0.0
  860. },
  861. "m_DefaultValue": {
  862. "x": 0.0,
  863. "y": 0.0,
  864. "z": 0.0,
  865. "w": 0.0
  866. },
  867. "m_Labels": []
  868. }
  869. {
  870. "m_SGVersion": 0,
  871. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDLitSubTarget",
  872. "m_ObjectId": "ad8467f4b27847ec9bf662bc575d792d"
  873. }
  874. {
  875. "m_SGVersion": 3,
  876. "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
  877. "m_ObjectId": "b06befb688be4bbc9dca73fe6f9aa1ca",
  878. "m_Guid": {
  879. "m_GuidSerialized": "b6ffc987-04fa-43c5-a033-dc3bb032fe7d"
  880. },
  881. "m_Name": "HDRP",
  882. "m_DefaultRefNameVersion": 1,
  883. "m_RefNameGeneratedByDisplayName": "HDRP",
  884. "m_DefaultReferenceName": "_HDRP",
  885. "m_OverrideReferenceName": "",
  886. "m_GeneratePropertyBlock": true,
  887. "m_UseCustomSlotLabel": false,
  888. "m_CustomSlotLabel": "",
  889. "m_DismissedVersion": 0,
  890. "m_Precision": 0,
  891. "overrideHLSLDeclaration": false,
  892. "hlslDeclarationOverride": 0,
  893. "m_Hidden": false,
  894. "m_Value": {
  895. "r": 0.0,
  896. "g": 0.3752269744873047,
  897. "b": 1.0,
  898. "a": 0.0
  899. },
  900. "isMainColor": false,
  901. "m_ColorMode": 0
  902. }
  903. {
  904. "m_SGVersion": 0,
  905. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  906. "m_ObjectId": "b128e263545d40fb8e22a422277db092",
  907. "m_Id": 788036408,
  908. "m_DisplayName": "URP",
  909. "m_SlotType": 0,
  910. "m_Hidden": false,
  911. "m_ShaderOutputName": "_URP",
  912. "m_StageCapability": 3,
  913. "m_Value": {
  914. "x": 0.0,
  915. "y": 0.0,
  916. "z": 0.0,
  917. "w": 0.0
  918. },
  919. "m_DefaultValue": {
  920. "x": 0.0,
  921. "y": 0.0,
  922. "z": 0.0,
  923. "w": 0.0
  924. },
  925. "m_Labels": []
  926. }
  927. {
  928. "m_SGVersion": 0,
  929. "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
  930. "m_ObjectId": "b8b04eed67b341a68751e7c5296bb059",
  931. "m_Group": {
  932. "m_Id": ""
  933. },
  934. "m_Name": "Property",
  935. "m_DrawState": {
  936. "m_Expanded": true,
  937. "m_Position": {
  938. "serializedVersion": "2",
  939. "x": -587.0,
  940. "y": 264.0,
  941. "width": 108.0,
  942. "height": 34.0
  943. }
  944. },
  945. "m_Slots": [
  946. {
  947. "m_Id": "944907d74b524c12b90c287f1992f71a"
  948. }
  949. ],
  950. "synonyms": [],
  951. "m_Precision": 0,
  952. "m_PreviewExpanded": true,
  953. "m_DismissedVersion": 0,
  954. "m_PreviewMode": 0,
  955. "m_CustomColors": {
  956. "m_SerializableColors": []
  957. },
  958. "m_Property": {
  959. "m_Id": "b06befb688be4bbc9dca73fe6f9aa1ca"
  960. }
  961. }
  962. {
  963. "m_SGVersion": 0,
  964. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  965. "m_ObjectId": "bf36a6403ed84eaaa2817280653d3778",
  966. "m_Group": {
  967. "m_Id": ""
  968. },
  969. "m_Name": "SurfaceDescription.Metallic",
  970. "m_DrawState": {
  971. "m_Expanded": true,
  972. "m_Position": {
  973. "serializedVersion": "2",
  974. "x": 0.0,
  975. "y": 0.0,
  976. "width": 0.0,
  977. "height": 0.0
  978. }
  979. },
  980. "m_Slots": [
  981. {
  982. "m_Id": "4b26ccfd2d9948bdb96a4f5033d999be"
  983. }
  984. ],
  985. "synonyms": [],
  986. "m_Precision": 0,
  987. "m_PreviewExpanded": true,
  988. "m_DismissedVersion": 0,
  989. "m_PreviewMode": 0,
  990. "m_CustomColors": {
  991. "m_SerializableColors": []
  992. },
  993. "m_SerializedDescriptor": "SurfaceDescription.Metallic"
  994. }
  995. {
  996. "m_SGVersion": 0,
  997. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  998. "m_ObjectId": "c31659fc6b4641b8899b6944c4699543",
  999. "m_Name": "",
  1000. "m_ChildObjectList": [
  1001. {
  1002. "m_Id": "20d5cbae90bc4e059310b92aba3c5752"
  1003. },
  1004. {
  1005. "m_Id": "b06befb688be4bbc9dca73fe6f9aa1ca"
  1006. },
  1007. {
  1008. "m_Id": "d1551d72b19049ae889a1250bfd2ed63"
  1009. }
  1010. ]
  1011. }
  1012. {
  1013. "m_SGVersion": 0,
  1014. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  1015. "m_ObjectId": "c589cdc1faca471aa592487c393a8db3",
  1016. "m_Distortion": false,
  1017. "m_DistortionMode": 0,
  1018. "m_DistortionDepthTest": true,
  1019. "m_AddPrecomputedVelocity": false,
  1020. "m_TransparentWritesMotionVec": false,
  1021. "m_DepthOffset": false,
  1022. "m_ConservativeDepthOffset": false,
  1023. "m_TransparencyFog": true,
  1024. "m_AlphaTestShadow": false,
  1025. "m_BackThenFrontRendering": false,
  1026. "m_TransparentDepthPrepass": false,
  1027. "m_TransparentDepthPostpass": false,
  1028. "m_TransparentPerPixelSorting": false,
  1029. "m_SupportLodCrossFade": false
  1030. }
  1031. {
  1032. "m_SGVersion": 0,
  1033. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  1034. "m_ObjectId": "ce5cc92dacd242838841b23f28baec57",
  1035. "m_ActiveSubTarget": {
  1036. "m_Id": "ad8467f4b27847ec9bf662bc575d792d"
  1037. },
  1038. "m_Datas": [
  1039. {
  1040. "m_Id": "4a80b1003f274f94b06e370df44d29d9"
  1041. },
  1042. {
  1043. "m_Id": "c589cdc1faca471aa592487c393a8db3"
  1044. },
  1045. {
  1046. "m_Id": "d36dfadbaa93440ab37f47d26011b89e"
  1047. },
  1048. {
  1049. "m_Id": "dd8f5bcd71244109af1bca20a3c0d753"
  1050. }
  1051. ],
  1052. "m_CustomEditorGUI": "",
  1053. "m_SupportVFX": false,
  1054. "m_SupportLineRendering": false
  1055. }
  1056. {
  1057. "m_SGVersion": 0,
  1058. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  1059. "m_ObjectId": "ceacd05c15df4630b33155652f3621ff",
  1060. "m_Id": 0,
  1061. "m_DisplayName": "URP",
  1062. "m_SlotType": 1,
  1063. "m_Hidden": false,
  1064. "m_ShaderOutputName": "Out",
  1065. "m_StageCapability": 3,
  1066. "m_Value": {
  1067. "x": 0.0,
  1068. "y": 0.0,
  1069. "z": 0.0,
  1070. "w": 0.0
  1071. },
  1072. "m_DefaultValue": {
  1073. "x": 0.0,
  1074. "y": 0.0,
  1075. "z": 0.0,
  1076. "w": 0.0
  1077. },
  1078. "m_Labels": []
  1079. }
  1080. {
  1081. "m_SGVersion": 0,
  1082. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  1083. "m_ObjectId": "ced2481db6004ce88b4ec3eaf4eb1516",
  1084. "m_Id": 0,
  1085. "m_DisplayName": "Emission",
  1086. "m_SlotType": 0,
  1087. "m_Hidden": false,
  1088. "m_ShaderOutputName": "Emission",
  1089. "m_StageCapability": 2,
  1090. "m_Value": {
  1091. "x": 0.0,
  1092. "y": 0.0,
  1093. "z": 0.0
  1094. },
  1095. "m_DefaultValue": {
  1096. "x": 0.0,
  1097. "y": 0.0,
  1098. "z": 0.0
  1099. },
  1100. "m_Labels": [],
  1101. "m_ColorMode": 1,
  1102. "m_DefaultColor": {
  1103. "r": 0.0,
  1104. "g": 0.0,
  1105. "b": 0.0,
  1106. "a": 1.0
  1107. }
  1108. }
  1109. {
  1110. "m_SGVersion": 3,
  1111. "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
  1112. "m_ObjectId": "d1551d72b19049ae889a1250bfd2ed63",
  1113. "m_Guid": {
  1114. "m_GuidSerialized": "d6758e0d-b818-4041-acab-78b1885c06f6"
  1115. },
  1116. "m_Name": "BiRP",
  1117. "m_DefaultRefNameVersion": 1,
  1118. "m_RefNameGeneratedByDisplayName": "BiRP",
  1119. "m_DefaultReferenceName": "_BiRP",
  1120. "m_OverrideReferenceName": "",
  1121. "m_GeneratePropertyBlock": true,
  1122. "m_UseCustomSlotLabel": false,
  1123. "m_CustomSlotLabel": "",
  1124. "m_DismissedVersion": 0,
  1125. "m_Precision": 0,
  1126. "overrideHLSLDeclaration": false,
  1127. "hlslDeclarationOverride": 0,
  1128. "m_Hidden": false,
  1129. "m_Value": {
  1130. "r": 1.0,
  1131. "g": 0.8361742496490479,
  1132. "b": 0.0,
  1133. "a": 0.0
  1134. },
  1135. "isMainColor": false,
  1136. "m_ColorMode": 0
  1137. }
  1138. {
  1139. "m_SGVersion": 0,
  1140. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.LightingData",
  1141. "m_ObjectId": "d36dfadbaa93440ab37f47d26011b89e",
  1142. "m_NormalDropOffSpace": 0,
  1143. "m_BlendPreserveSpecular": true,
  1144. "m_ReceiveDecals": true,
  1145. "m_ReceiveSSR": true,
  1146. "m_ReceiveSSRTransparent": false,
  1147. "m_SpecularAA": false,
  1148. "m_SpecularOcclusionMode": 1,
  1149. "m_OverrideBakedGI": false
  1150. }
  1151. {
  1152. "m_SGVersion": 0,
  1153. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInLitSubTarget",
  1154. "m_ObjectId": "d81d0d917bee4b469a1fe514ce59f6d1",
  1155. "m_WorkflowMode": 1,
  1156. "m_NormalDropOffSpace": 0
  1157. }
  1158. {
  1159. "m_SGVersion": 0,
  1160. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1161. "m_ObjectId": "d8fca6616a0a4df18dd4da510e9fa4bb",
  1162. "m_Group": {
  1163. "m_Id": ""
  1164. },
  1165. "m_Name": "VertexDescription.Position",
  1166. "m_DrawState": {
  1167. "m_Expanded": true,
  1168. "m_Position": {
  1169. "serializedVersion": "2",
  1170. "x": 0.0,
  1171. "y": 0.0,
  1172. "width": 0.0,
  1173. "height": 0.0
  1174. }
  1175. },
  1176. "m_Slots": [
  1177. {
  1178. "m_Id": "de30ea76eca34c3f8fa279d754e76685"
  1179. }
  1180. ],
  1181. "synonyms": [],
  1182. "m_Precision": 0,
  1183. "m_PreviewExpanded": true,
  1184. "m_DismissedVersion": 0,
  1185. "m_PreviewMode": 0,
  1186. "m_CustomColors": {
  1187. "m_SerializableColors": []
  1188. },
  1189. "m_SerializedDescriptor": "VertexDescription.Position"
  1190. }
  1191. {
  1192. "m_SGVersion": 0,
  1193. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1194. "m_ObjectId": "da9c3ed0f9124e3c8dcc4eacd89b29bd",
  1195. "m_Group": {
  1196. "m_Id": ""
  1197. },
  1198. "m_Name": "VertexDescription.Tangent",
  1199. "m_DrawState": {
  1200. "m_Expanded": true,
  1201. "m_Position": {
  1202. "serializedVersion": "2",
  1203. "x": 0.0,
  1204. "y": 0.0,
  1205. "width": 0.0,
  1206. "height": 0.0
  1207. }
  1208. },
  1209. "m_Slots": [
  1210. {
  1211. "m_Id": "2d88d648d90f40bf91921db65cff662a"
  1212. }
  1213. ],
  1214. "synonyms": [],
  1215. "m_Precision": 0,
  1216. "m_PreviewExpanded": true,
  1217. "m_DismissedVersion": 0,
  1218. "m_PreviewMode": 0,
  1219. "m_CustomColors": {
  1220. "m_SerializableColors": []
  1221. },
  1222. "m_SerializedDescriptor": "VertexDescription.Tangent"
  1223. }
  1224. {
  1225. "m_SGVersion": 0,
  1226. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  1227. "m_ObjectId": "dd8f5bcd71244109af1bca20a3c0d753",
  1228. "m_MaterialNeedsUpdateHash": 0,
  1229. "m_SurfaceType": 0,
  1230. "m_RenderingPass": 1,
  1231. "m_BlendMode": 0,
  1232. "m_ZTest": 4,
  1233. "m_ZWrite": false,
  1234. "m_TransparentCullMode": 2,
  1235. "m_OpaqueCullMode": 2,
  1236. "m_SortPriority": 0,
  1237. "m_AlphaTest": false,
  1238. "m_ExcludeFromTUAndAA": false,
  1239. "m_TransparentDepthPrepass": false,
  1240. "m_TransparentDepthPostpass": false,
  1241. "m_SupportLodCrossFade": false,
  1242. "m_DoubleSidedMode": 0,
  1243. "m_DOTSInstancing": false,
  1244. "m_CustomVelocity": false,
  1245. "m_Tessellation": false,
  1246. "m_TessellationMode": 0,
  1247. "m_TessellationFactorMinDistance": 20.0,
  1248. "m_TessellationFactorMaxDistance": 50.0,
  1249. "m_TessellationFactorTriangleSize": 100.0,
  1250. "m_TessellationShapeFactor": 0.75,
  1251. "m_TessellationBackFaceCullEpsilon": -0.25,
  1252. "m_TessellationMaxDisplacement": 0.009999999776482582,
  1253. "m_DebugSymbols": false,
  1254. "m_Version": 2,
  1255. "inspectorFoldoutMask": 0
  1256. }
  1257. {
  1258. "m_SGVersion": 0,
  1259. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  1260. "m_ObjectId": "de30ea76eca34c3f8fa279d754e76685",
  1261. "m_Id": 0,
  1262. "m_DisplayName": "Position",
  1263. "m_SlotType": 0,
  1264. "m_Hidden": false,
  1265. "m_ShaderOutputName": "Position",
  1266. "m_StageCapability": 1,
  1267. "m_Value": {
  1268. "x": 0.0,
  1269. "y": 0.0,
  1270. "z": 0.0
  1271. },
  1272. "m_DefaultValue": {
  1273. "x": 0.0,
  1274. "y": 0.0,
  1275. "z": 0.0
  1276. },
  1277. "m_Labels": [],
  1278. "m_Space": 0
  1279. }
  1280. {
  1281. "m_SGVersion": 0,
  1282. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1283. "m_ObjectId": "e140d51ab8264a6081f27328cd0f21dd",
  1284. "m_Id": 0,
  1285. "m_DisplayName": "Alpha",
  1286. "m_SlotType": 0,
  1287. "m_Hidden": false,
  1288. "m_ShaderOutputName": "Alpha",
  1289. "m_StageCapability": 2,
  1290. "m_Value": 1.0,
  1291. "m_DefaultValue": 1.0,
  1292. "m_Labels": []
  1293. }
  1294. {
  1295. "m_SGVersion": 0,
  1296. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1297. "m_ObjectId": "e6597ddd901a4a539f214219d32d26cc",
  1298. "m_Id": 0,
  1299. "m_DisplayName": "Ambient Occlusion",
  1300. "m_SlotType": 0,
  1301. "m_Hidden": false,
  1302. "m_ShaderOutputName": "Occlusion",
  1303. "m_StageCapability": 2,
  1304. "m_Value": 1.0,
  1305. "m_DefaultValue": 1.0,
  1306. "m_Labels": []
  1307. }
  1308. {
  1309. "m_SGVersion": 0,
  1310. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  1311. "m_ObjectId": "e8aca44b3f364a8995042e901a8a36a4",
  1312. "m_Id": 0,
  1313. "m_DisplayName": "Bent Normal",
  1314. "m_SlotType": 0,
  1315. "m_Hidden": false,
  1316. "m_ShaderOutputName": "BentNormal",
  1317. "m_StageCapability": 2,
  1318. "m_Value": {
  1319. "x": 0.0,
  1320. "y": 0.0,
  1321. "z": 0.0
  1322. },
  1323. "m_DefaultValue": {
  1324. "x": 0.0,
  1325. "y": 0.0,
  1326. "z": 0.0
  1327. },
  1328. "m_Labels": [],
  1329. "m_Space": 3
  1330. }
  1331. {
  1332. "m_SGVersion": 0,
  1333. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  1334. "m_ObjectId": "ebb1eb5592804fba952ce140ebd8d783",
  1335. "m_Id": 0,
  1336. "m_DisplayName": "BiRP",
  1337. "m_SlotType": 1,
  1338. "m_Hidden": false,
  1339. "m_ShaderOutputName": "Out",
  1340. "m_StageCapability": 3,
  1341. "m_Value": {
  1342. "x": 0.0,
  1343. "y": 0.0,
  1344. "z": 0.0,
  1345. "w": 0.0
  1346. },
  1347. "m_DefaultValue": {
  1348. "x": 0.0,
  1349. "y": 0.0,
  1350. "z": 0.0,
  1351. "w": 0.0
  1352. },
  1353. "m_Labels": []
  1354. }
  1355. {
  1356. "m_SGVersion": 0,
  1357. "m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
  1358. "m_ObjectId": "f0d59b5c08514563a3677064c73c737e",
  1359. "m_Group": {
  1360. "m_Id": ""
  1361. },
  1362. "m_Name": "BranchOnRP",
  1363. "m_DrawState": {
  1364. "m_Expanded": true,
  1365. "m_Position": {
  1366. "serializedVersion": "2",
  1367. "x": -461.0,
  1368. "y": 200.0,
  1369. "width": 153.0,
  1370. "height": 143.0
  1371. }
  1372. },
  1373. "m_Slots": [
  1374. {
  1375. "m_Id": "b128e263545d40fb8e22a422277db092"
  1376. },
  1377. {
  1378. "m_Id": "1cdcb4aa3e804e3bb3070d9a93ced4c6"
  1379. },
  1380. {
  1381. "m_Id": "a8c1283c35754930a11adc868252b8e9"
  1382. },
  1383. {
  1384. "m_Id": "f3e3c1e1accc48a5af1e79146e623e76"
  1385. }
  1386. ],
  1387. "synonyms": [],
  1388. "m_Precision": 0,
  1389. "m_PreviewExpanded": false,
  1390. "m_DismissedVersion": 0,
  1391. "m_PreviewMode": 0,
  1392. "m_CustomColors": {
  1393. "m_SerializableColors": []
  1394. },
  1395. "m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"2b9ca49b870287041abd8272a364b6c0\",\n \"type\": 3\n }\n}",
  1396. "m_PropertyGuids": [
  1397. "d1b6d73f-9b9c-48a4-a5f9-73533ece99e4",
  1398. "0daf393c-6ff1-4225-b757-cba396c6c10a",
  1399. "d61847e6-6294-4220-80b3-7877b2e27088"
  1400. ],
  1401. "m_PropertyIds": [
  1402. 788036408,
  1403. -427767828,
  1404. 1798337600
  1405. ],
  1406. "m_Dropdowns": [],
  1407. "m_DropdownSelectedEntries": []
  1408. }
  1409. {
  1410. "m_SGVersion": 0,
  1411. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  1412. "m_ObjectId": "f3e3c1e1accc48a5af1e79146e623e76",
  1413. "m_Id": 1,
  1414. "m_DisplayName": "Out",
  1415. "m_SlotType": 1,
  1416. "m_Hidden": false,
  1417. "m_ShaderOutputName": "Out",
  1418. "m_StageCapability": 3,
  1419. "m_Value": {
  1420. "x": 0.0,
  1421. "y": 0.0,
  1422. "z": 0.0,
  1423. "w": 0.0
  1424. },
  1425. "m_DefaultValue": {
  1426. "x": 0.0,
  1427. "y": 0.0,
  1428. "z": 0.0,
  1429. "w": 0.0
  1430. },
  1431. "m_Labels": []
  1432. }