Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Branch.shadergraph 27KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "6f3210655c2f4ef7a8bc6ef98872e6fe",
  5. "m_Properties": [
  6. {
  7. "m_Id": "f303beef4470435eba73e7c0bb7f04f8"
  8. }
  9. ],
  10. "m_Keywords": [],
  11. "m_Dropdowns": [],
  12. "m_CategoryData": [
  13. {
  14. "m_Id": "f456104168cb4f25a378f7dbb1d98f41"
  15. }
  16. ],
  17. "m_Nodes": [
  18. {
  19. "m_Id": "137de8b1e4794cf9b87efd4f67bb9270"
  20. },
  21. {
  22. "m_Id": "d264465c5f5f4cafb4282e5c29fa0052"
  23. },
  24. {
  25. "m_Id": "02e5fcfe5fbe48a9b638ddbb7beaf6d3"
  26. },
  27. {
  28. "m_Id": "7ab64666a0a443faad1858d8a7c0661b"
  29. },
  30. {
  31. "m_Id": "67de024b488e427e87a5db5f2da781d5"
  32. },
  33. {
  34. "m_Id": "e7309544d7fc43fc9512ae3052e95d55"
  35. },
  36. {
  37. "m_Id": "416ecaafc1494b92a0e549748dcaad02"
  38. },
  39. {
  40. "m_Id": "a7d69577671949e380bd4d0041ccdef8"
  41. },
  42. {
  43. "m_Id": "660f14badc91432e9bcc05796b795677"
  44. },
  45. {
  46. "m_Id": "76cd7a4f5d8546c48251d5e9af1e792a"
  47. },
  48. {
  49. "m_Id": "c631b5d0e2914fdf89d1fc2a9c58f178"
  50. }
  51. ],
  52. "m_GroupDatas": [
  53. {
  54. "m_Id": "fcd45624a2d142c88f3c301e8c742685"
  55. }
  56. ],
  57. "m_StickyNoteDatas": [
  58. {
  59. "m_Id": "eaf10b588af74584971a91e776805cd5"
  60. }
  61. ],
  62. "m_Edges": [
  63. {
  64. "m_OutputSlot": {
  65. "m_Node": {
  66. "m_Id": "416ecaafc1494b92a0e549748dcaad02"
  67. },
  68. "m_SlotId": 0
  69. },
  70. "m_InputSlot": {
  71. "m_Node": {
  72. "m_Id": "e7309544d7fc43fc9512ae3052e95d55"
  73. },
  74. "m_SlotId": 0
  75. }
  76. },
  77. {
  78. "m_OutputSlot": {
  79. "m_Node": {
  80. "m_Id": "660f14badc91432e9bcc05796b795677"
  81. },
  82. "m_SlotId": 0
  83. },
  84. "m_InputSlot": {
  85. "m_Node": {
  86. "m_Id": "e7309544d7fc43fc9512ae3052e95d55"
  87. },
  88. "m_SlotId": 2
  89. }
  90. },
  91. {
  92. "m_OutputSlot": {
  93. "m_Node": {
  94. "m_Id": "a7d69577671949e380bd4d0041ccdef8"
  95. },
  96. "m_SlotId": 0
  97. },
  98. "m_InputSlot": {
  99. "m_Node": {
  100. "m_Id": "e7309544d7fc43fc9512ae3052e95d55"
  101. },
  102. "m_SlotId": 1
  103. }
  104. }
  105. ],
  106. "m_VertexContext": {
  107. "m_Position": {
  108. "x": 0.0,
  109. "y": 0.0
  110. },
  111. "m_Blocks": [
  112. {
  113. "m_Id": "137de8b1e4794cf9b87efd4f67bb9270"
  114. },
  115. {
  116. "m_Id": "d264465c5f5f4cafb4282e5c29fa0052"
  117. },
  118. {
  119. "m_Id": "02e5fcfe5fbe48a9b638ddbb7beaf6d3"
  120. }
  121. ]
  122. },
  123. "m_FragmentContext": {
  124. "m_Position": {
  125. "x": 0.0,
  126. "y": 200.0
  127. },
  128. "m_Blocks": [
  129. {
  130. "m_Id": "7ab64666a0a443faad1858d8a7c0661b"
  131. },
  132. {
  133. "m_Id": "76cd7a4f5d8546c48251d5e9af1e792a"
  134. },
  135. {
  136. "m_Id": "c631b5d0e2914fdf89d1fc2a9c58f178"
  137. }
  138. ]
  139. },
  140. "m_PreviewData": {
  141. "serializedMesh": {
  142. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  143. "m_Guid": ""
  144. },
  145. "preventRotation": false
  146. },
  147. "m_Path": "Shader Graphs",
  148. "m_GraphPrecision": 1,
  149. "m_PreviewMode": 2,
  150. "m_OutputNode": {
  151. "m_Id": ""
  152. },
  153. "m_ActiveTargets": [
  154. {
  155. "m_Id": "9ea137df613a4e37a44ea08d07c5d60a"
  156. },
  157. {
  158. "m_Id": "b0ee8fd821e2468ba5e019735c2d4906"
  159. },
  160. {
  161. "m_Id": "45bede8555884d94b8e984262dc8d326"
  162. }
  163. ]
  164. }
  165. {
  166. "m_SGVersion": 0,
  167. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  168. "m_ObjectId": "02e5fcfe5fbe48a9b638ddbb7beaf6d3",
  169. "m_Group": {
  170. "m_Id": ""
  171. },
  172. "m_Name": "VertexDescription.Tangent",
  173. "m_DrawState": {
  174. "m_Expanded": true,
  175. "m_Position": {
  176. "serializedVersion": "2",
  177. "x": 0.0,
  178. "y": 0.0,
  179. "width": 0.0,
  180. "height": 0.0
  181. }
  182. },
  183. "m_Slots": [
  184. {
  185. "m_Id": "4995dc45b1924025a2b61ec698cb22fe"
  186. }
  187. ],
  188. "synonyms": [],
  189. "m_Precision": 0,
  190. "m_PreviewExpanded": true,
  191. "m_DismissedVersion": 0,
  192. "m_PreviewMode": 0,
  193. "m_CustomColors": {
  194. "m_SerializableColors": []
  195. },
  196. "m_SerializedDescriptor": "VertexDescription.Tangent"
  197. }
  198. {
  199. "m_SGVersion": 0,
  200. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  201. "m_ObjectId": "0500b8f2eb9b4cc8b0edc29c8d4c4de2",
  202. "m_Id": 0,
  203. "m_DisplayName": "Normal",
  204. "m_SlotType": 0,
  205. "m_Hidden": false,
  206. "m_ShaderOutputName": "Normal",
  207. "m_StageCapability": 1,
  208. "m_Value": {
  209. "x": 0.0,
  210. "y": 0.0,
  211. "z": 0.0
  212. },
  213. "m_DefaultValue": {
  214. "x": 0.0,
  215. "y": 0.0,
  216. "z": 0.0
  217. },
  218. "m_Labels": [],
  219. "m_Space": 0
  220. }
  221. {
  222. "m_SGVersion": 0,
  223. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  224. "m_ObjectId": "0b8e9ce99e3a45afbfbb885bc79e765f",
  225. "m_Id": 0,
  226. "m_DisplayName": "Position",
  227. "m_SlotType": 0,
  228. "m_Hidden": false,
  229. "m_ShaderOutputName": "Position",
  230. "m_StageCapability": 1,
  231. "m_Value": {
  232. "x": 0.0,
  233. "y": 0.0,
  234. "z": 0.0
  235. },
  236. "m_DefaultValue": {
  237. "x": 0.0,
  238. "y": 0.0,
  239. "z": 0.0
  240. },
  241. "m_Labels": [],
  242. "m_Space": 0
  243. }
  244. {
  245. "m_SGVersion": 0,
  246. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  247. "m_ObjectId": "137de8b1e4794cf9b87efd4f67bb9270",
  248. "m_Group": {
  249. "m_Id": ""
  250. },
  251. "m_Name": "VertexDescription.Position",
  252. "m_DrawState": {
  253. "m_Expanded": true,
  254. "m_Position": {
  255. "serializedVersion": "2",
  256. "x": 0.0,
  257. "y": 0.0,
  258. "width": 0.0,
  259. "height": 0.0
  260. }
  261. },
  262. "m_Slots": [
  263. {
  264. "m_Id": "0b8e9ce99e3a45afbfbb885bc79e765f"
  265. }
  266. ],
  267. "synonyms": [],
  268. "m_Precision": 0,
  269. "m_PreviewExpanded": true,
  270. "m_DismissedVersion": 0,
  271. "m_PreviewMode": 0,
  272. "m_CustomColors": {
  273. "m_SerializableColors": []
  274. },
  275. "m_SerializedDescriptor": "VertexDescription.Position"
  276. }
  277. {
  278. "m_SGVersion": 0,
  279. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  280. "m_ObjectId": "2bc9c838d0cc4130b5220fb651ef4a1a",
  281. "m_Id": 0,
  282. "m_DisplayName": "Out",
  283. "m_SlotType": 1,
  284. "m_Hidden": false,
  285. "m_ShaderOutputName": "Out",
  286. "m_StageCapability": 3,
  287. "m_Value": {
  288. "x": 0.0,
  289. "y": 0.0,
  290. "z": 0.0,
  291. "w": 0.0
  292. },
  293. "m_DefaultValue": {
  294. "x": 0.0,
  295. "y": 0.0,
  296. "z": 0.0,
  297. "w": 0.0
  298. },
  299. "m_Labels": []
  300. }
  301. {
  302. "m_SGVersion": 0,
  303. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  304. "m_ObjectId": "3eb01c5233e04d729525a727a5612495",
  305. "m_Id": 0,
  306. "m_DisplayName": "Predicate",
  307. "m_SlotType": 0,
  308. "m_Hidden": false,
  309. "m_ShaderOutputName": "Predicate",
  310. "m_StageCapability": 3,
  311. "m_Value": false,
  312. "m_DefaultValue": false
  313. }
  314. {
  315. "m_SGVersion": 0,
  316. "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
  317. "m_ObjectId": "416ecaafc1494b92a0e549748dcaad02",
  318. "m_Group": {
  319. "m_Id": "fcd45624a2d142c88f3c301e8c742685"
  320. },
  321. "m_Name": "Property",
  322. "m_DrawState": {
  323. "m_Expanded": true,
  324. "m_Position": {
  325. "serializedVersion": "2",
  326. "x": -711.9999389648438,
  327. "y": 328.0,
  328. "width": 107.33331298828125,
  329. "height": 36.0
  330. }
  331. },
  332. "m_Slots": [
  333. {
  334. "m_Id": "a13156b5d69c44b5b2f9b8f7ad359087"
  335. }
  336. ],
  337. "synonyms": [],
  338. "m_Precision": 0,
  339. "m_PreviewExpanded": true,
  340. "m_DismissedVersion": 0,
  341. "m_PreviewMode": 0,
  342. "m_CustomColors": {
  343. "m_SerializableColors": []
  344. },
  345. "m_Property": {
  346. "m_Id": "f303beef4470435eba73e7c0bb7f04f8"
  347. }
  348. }
  349. {
  350. "m_SGVersion": 0,
  351. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  352. "m_ObjectId": "41d5da68b3e74ac4a7cf516665439a66",
  353. "m_Id": 2,
  354. "m_DisplayName": "False",
  355. "m_SlotType": 0,
  356. "m_Hidden": false,
  357. "m_ShaderOutputName": "False",
  358. "m_StageCapability": 3,
  359. "m_Value": {
  360. "x": 0.0,
  361. "y": 0.0,
  362. "z": 0.0,
  363. "w": 0.0
  364. },
  365. "m_DefaultValue": {
  366. "x": 0.0,
  367. "y": 0.0,
  368. "z": 0.0,
  369. "w": 0.0
  370. }
  371. }
  372. {
  373. "m_SGVersion": 1,
  374. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  375. "m_ObjectId": "45bede8555884d94b8e984262dc8d326",
  376. "m_Datas": [],
  377. "m_ActiveSubTarget": {
  378. "m_Id": "ac3f0044c20c43488dc9c80d8ea1b4d9"
  379. },
  380. "m_AllowMaterialOverride": false,
  381. "m_SurfaceType": 0,
  382. "m_ZTestMode": 4,
  383. "m_ZWriteControl": 0,
  384. "m_AlphaMode": 0,
  385. "m_RenderFace": 2,
  386. "m_AlphaClip": false,
  387. "m_CastShadows": true,
  388. "m_ReceiveShadows": true,
  389. "m_AdditionalMotionVectorMode": 0,
  390. "m_AlembicMotionVectors": false,
  391. "m_SupportsLODCrossFade": false,
  392. "m_CustomEditorGUI": "",
  393. "m_SupportVFX": false
  394. }
  395. {
  396. "m_SGVersion": 0,
  397. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  398. "m_ObjectId": "4995dc45b1924025a2b61ec698cb22fe",
  399. "m_Id": 0,
  400. "m_DisplayName": "Tangent",
  401. "m_SlotType": 0,
  402. "m_Hidden": false,
  403. "m_ShaderOutputName": "Tangent",
  404. "m_StageCapability": 1,
  405. "m_Value": {
  406. "x": 0.0,
  407. "y": 0.0,
  408. "z": 0.0
  409. },
  410. "m_DefaultValue": {
  411. "x": 0.0,
  412. "y": 0.0,
  413. "z": 0.0
  414. },
  415. "m_Labels": [],
  416. "m_Space": 0
  417. }
  418. {
  419. "m_SGVersion": 0,
  420. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  421. "m_ObjectId": "4f0cf95387cf47ca8a3b6776923bf646",
  422. "m_MaterialNeedsUpdateHash": 0,
  423. "m_SurfaceType": 0,
  424. "m_RenderingPass": 1,
  425. "m_BlendMode": 0,
  426. "m_ZTest": 4,
  427. "m_ZWrite": false,
  428. "m_TransparentCullMode": 2,
  429. "m_OpaqueCullMode": 2,
  430. "m_SortPriority": 0,
  431. "m_AlphaTest": false,
  432. "m_TransparentDepthPrepass": false,
  433. "m_TransparentDepthPostpass": false,
  434. "m_SupportLodCrossFade": false,
  435. "m_DoubleSidedMode": 0,
  436. "m_DOTSInstancing": false,
  437. "m_CustomVelocity": false,
  438. "m_Tessellation": false,
  439. "m_TessellationMode": 0,
  440. "m_TessellationFactorMinDistance": 20.0,
  441. "m_TessellationFactorMaxDistance": 50.0,
  442. "m_TessellationFactorTriangleSize": 100.0,
  443. "m_TessellationShapeFactor": 0.75,
  444. "m_TessellationBackFaceCullEpsilon": -0.25,
  445. "m_TessellationMaxDisplacement": 0.009999999776482582,
  446. "m_DebugSymbols": false,
  447. "m_Version": 2,
  448. "inspectorFoldoutMask": 0
  449. }
  450. {
  451. "m_SGVersion": 0,
  452. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  453. "m_ObjectId": "547ccc21212c4a6e893aed61d56af3dd",
  454. "m_Id": 3,
  455. "m_DisplayName": "Out",
  456. "m_SlotType": 1,
  457. "m_Hidden": false,
  458. "m_ShaderOutputName": "Out",
  459. "m_StageCapability": 3,
  460. "m_Value": {
  461. "x": 0.0,
  462. "y": 0.0,
  463. "z": 0.0,
  464. "w": 0.0
  465. },
  466. "m_DefaultValue": {
  467. "x": 0.0,
  468. "y": 0.0,
  469. "z": 0.0,
  470. "w": 0.0
  471. }
  472. }
  473. {
  474. "m_SGVersion": 0,
  475. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  476. "m_ObjectId": "56ccc3362a9a4b928bf8f0b048a5c720",
  477. "m_Id": 0,
  478. "m_DisplayName": "Emission",
  479. "m_SlotType": 0,
  480. "m_Hidden": false,
  481. "m_ShaderOutputName": "Emission",
  482. "m_StageCapability": 2,
  483. "m_Value": {
  484. "x": 0.0,
  485. "y": 0.0,
  486. "z": 0.0
  487. },
  488. "m_DefaultValue": {
  489. "x": 0.0,
  490. "y": 0.0,
  491. "z": 0.0
  492. },
  493. "m_Labels": [],
  494. "m_ColorMode": 1,
  495. "m_DefaultColor": {
  496. "r": 0.0,
  497. "g": 0.0,
  498. "b": 0.0,
  499. "a": 1.0
  500. }
  501. }
  502. {
  503. "m_SGVersion": 0,
  504. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  505. "m_ObjectId": "5a83a7b3743d4d1cbbc07892539c9dae"
  506. }
  507. {
  508. "m_SGVersion": 1,
  509. "m_Type": "UnityEditor.ShaderGraph.ColorNode",
  510. "m_ObjectId": "660f14badc91432e9bcc05796b795677",
  511. "m_Group": {
  512. "m_Id": "fcd45624a2d142c88f3c301e8c742685"
  513. },
  514. "m_Name": "Color",
  515. "m_DrawState": {
  516. "m_Expanded": true,
  517. "m_Position": {
  518. "serializedVersion": "2",
  519. "x": -814.0000610351563,
  520. "y": 506.00006103515627,
  521. "width": 208.0,
  522. "height": 125.0
  523. }
  524. },
  525. "m_Slots": [
  526. {
  527. "m_Id": "2bc9c838d0cc4130b5220fb651ef4a1a"
  528. }
  529. ],
  530. "synonyms": [
  531. "rgba"
  532. ],
  533. "m_Precision": 0,
  534. "m_PreviewExpanded": true,
  535. "m_DismissedVersion": 0,
  536. "m_PreviewMode": 0,
  537. "m_CustomColors": {
  538. "m_SerializableColors": []
  539. },
  540. "m_Color": {
  541. "color": {
  542. "r": 0.0,
  543. "g": 1.0,
  544. "b": 0.10068702697753906,
  545. "a": 0.0
  546. },
  547. "mode": 0
  548. }
  549. }
  550. {
  551. "m_SGVersion": 0,
  552. "m_Type": "UnityEditor.ShaderGraph.BranchNode",
  553. "m_ObjectId": "67de024b488e427e87a5db5f2da781d5",
  554. "m_Group": {
  555. "m_Id": ""
  556. },
  557. "m_Name": "Branch",
  558. "m_DrawState": {
  559. "m_Expanded": true,
  560. "m_Position": {
  561. "serializedVersion": "2",
  562. "x": -664.6666259765625,
  563. "y": 75.33332824707031,
  564. "width": 209.33331298828126,
  565. "height": 328.0
  566. }
  567. },
  568. "m_Slots": [
  569. {
  570. "m_Id": "e68e0fedb098479bb65810187d9075c6"
  571. },
  572. {
  573. "m_Id": "848f394a1a704a2a8f403e40ddeda5f7"
  574. },
  575. {
  576. "m_Id": "41d5da68b3e74ac4a7cf516665439a66"
  577. },
  578. {
  579. "m_Id": "547ccc21212c4a6e893aed61d56af3dd"
  580. }
  581. ],
  582. "synonyms": [
  583. "switch",
  584. "if",
  585. "else"
  586. ],
  587. "m_Precision": 0,
  588. "m_PreviewExpanded": false,
  589. "m_DismissedVersion": 0,
  590. "m_PreviewMode": 0,
  591. "m_CustomColors": {
  592. "m_SerializableColors": []
  593. }
  594. }
  595. {
  596. "m_SGVersion": 0,
  597. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  598. "m_ObjectId": "6e63940ae3d44e4d956173a0c3bbdac8",
  599. "m_Id": 0,
  600. "m_DisplayName": "Base Color",
  601. "m_SlotType": 0,
  602. "m_Hidden": false,
  603. "m_ShaderOutputName": "BaseColor",
  604. "m_StageCapability": 2,
  605. "m_Value": {
  606. "x": 0.5,
  607. "y": 0.5,
  608. "z": 0.5
  609. },
  610. "m_DefaultValue": {
  611. "x": 0.0,
  612. "y": 0.0,
  613. "z": 0.0
  614. },
  615. "m_Labels": [],
  616. "m_ColorMode": 0,
  617. "m_DefaultColor": {
  618. "r": 0.5,
  619. "g": 0.5,
  620. "b": 0.5,
  621. "a": 1.0
  622. }
  623. }
  624. {
  625. "m_SGVersion": 0,
  626. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  627. "m_ObjectId": "76cd7a4f5d8546c48251d5e9af1e792a",
  628. "m_Group": {
  629. "m_Id": ""
  630. },
  631. "m_Name": "SurfaceDescription.Emission",
  632. "m_DrawState": {
  633. "m_Expanded": true,
  634. "m_Position": {
  635. "serializedVersion": "2",
  636. "x": 0.0,
  637. "y": 0.0,
  638. "width": 0.0,
  639. "height": 0.0
  640. }
  641. },
  642. "m_Slots": [
  643. {
  644. "m_Id": "56ccc3362a9a4b928bf8f0b048a5c720"
  645. }
  646. ],
  647. "synonyms": [],
  648. "m_Precision": 0,
  649. "m_PreviewExpanded": true,
  650. "m_DismissedVersion": 0,
  651. "m_PreviewMode": 0,
  652. "m_CustomColors": {
  653. "m_SerializableColors": []
  654. },
  655. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  656. }
  657. {
  658. "m_SGVersion": 0,
  659. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  660. "m_ObjectId": "7ab64666a0a443faad1858d8a7c0661b",
  661. "m_Group": {
  662. "m_Id": ""
  663. },
  664. "m_Name": "SurfaceDescription.BaseColor",
  665. "m_DrawState": {
  666. "m_Expanded": true,
  667. "m_Position": {
  668. "serializedVersion": "2",
  669. "x": 0.0,
  670. "y": 0.0,
  671. "width": 0.0,
  672. "height": 0.0
  673. }
  674. },
  675. "m_Slots": [
  676. {
  677. "m_Id": "6e63940ae3d44e4d956173a0c3bbdac8"
  678. }
  679. ],
  680. "synonyms": [],
  681. "m_Precision": 0,
  682. "m_PreviewExpanded": true,
  683. "m_DismissedVersion": 0,
  684. "m_PreviewMode": 0,
  685. "m_CustomColors": {
  686. "m_SerializableColors": []
  687. },
  688. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  689. }
  690. {
  691. "m_SGVersion": 0,
  692. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  693. "m_ObjectId": "848f394a1a704a2a8f403e40ddeda5f7",
  694. "m_Id": 1,
  695. "m_DisplayName": "True",
  696. "m_SlotType": 0,
  697. "m_Hidden": false,
  698. "m_ShaderOutputName": "True",
  699. "m_StageCapability": 3,
  700. "m_Value": {
  701. "x": 1.0,
  702. "y": 1.0,
  703. "z": 1.0,
  704. "w": 1.0
  705. },
  706. "m_DefaultValue": {
  707. "x": 0.0,
  708. "y": 0.0,
  709. "z": 0.0,
  710. "w": 0.0
  711. }
  712. }
  713. {
  714. "m_SGVersion": 0,
  715. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  716. "m_ObjectId": "87f111498871432ba1442e6ffd024e39",
  717. "m_Distortion": false,
  718. "m_DistortionMode": 0,
  719. "m_DistortionDepthTest": true,
  720. "m_AddPrecomputedVelocity": false,
  721. "m_TransparentWritesMotionVec": false,
  722. "m_DepthOffset": false,
  723. "m_ConservativeDepthOffset": false,
  724. "m_TransparencyFog": true,
  725. "m_AlphaTestShadow": false,
  726. "m_BackThenFrontRendering": false,
  727. "m_TransparentDepthPrepass": false,
  728. "m_TransparentDepthPostpass": false,
  729. "m_TransparentPerPixelSorting": false,
  730. "m_SupportLodCrossFade": false
  731. }
  732. {
  733. "m_SGVersion": 0,
  734. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  735. "m_ObjectId": "9106e7663ce9404e9ad0e87382bc7b32",
  736. "m_Id": 0,
  737. "m_DisplayName": "Out",
  738. "m_SlotType": 1,
  739. "m_Hidden": false,
  740. "m_ShaderOutputName": "Out",
  741. "m_StageCapability": 3,
  742. "m_Value": {
  743. "x": 0.0,
  744. "y": 0.0,
  745. "z": 0.0,
  746. "w": 0.0
  747. },
  748. "m_DefaultValue": {
  749. "x": 0.0,
  750. "y": 0.0,
  751. "z": 0.0,
  752. "w": 0.0
  753. },
  754. "m_Labels": []
  755. }
  756. {
  757. "m_SGVersion": 2,
  758. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  759. "m_ObjectId": "9ea137df613a4e37a44ea08d07c5d60a",
  760. "m_ActiveSubTarget": {
  761. "m_Id": "9faa5ad4f4fd489babfd2a0a2b396d9c"
  762. },
  763. "m_AllowMaterialOverride": false,
  764. "m_SurfaceType": 0,
  765. "m_ZWriteControl": 0,
  766. "m_ZTestMode": 4,
  767. "m_AlphaMode": 0,
  768. "m_RenderFace": 2,
  769. "m_AlphaClip": false,
  770. "m_CustomEditorGUI": ""
  771. }
  772. {
  773. "m_SGVersion": 0,
  774. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  775. "m_ObjectId": "9faa5ad4f4fd489babfd2a0a2b396d9c"
  776. }
  777. {
  778. "m_SGVersion": 0,
  779. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  780. "m_ObjectId": "a13156b5d69c44b5b2f9b8f7ad359087",
  781. "m_Id": 0,
  782. "m_DisplayName": "isRed",
  783. "m_SlotType": 1,
  784. "m_Hidden": false,
  785. "m_ShaderOutputName": "Out",
  786. "m_StageCapability": 3,
  787. "m_Value": false,
  788. "m_DefaultValue": false
  789. }
  790. {
  791. "m_SGVersion": 0,
  792. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  793. "m_ObjectId": "a72c1da80aa24da882e6cf8a03ff682c",
  794. "m_Id": 3,
  795. "m_DisplayName": "Out",
  796. "m_SlotType": 1,
  797. "m_Hidden": false,
  798. "m_ShaderOutputName": "Out",
  799. "m_StageCapability": 3,
  800. "m_Value": {
  801. "x": 0.0,
  802. "y": 0.0,
  803. "z": 0.0,
  804. "w": 0.0
  805. },
  806. "m_DefaultValue": {
  807. "x": 0.0,
  808. "y": 0.0,
  809. "z": 0.0,
  810. "w": 0.0
  811. }
  812. }
  813. {
  814. "m_SGVersion": 1,
  815. "m_Type": "UnityEditor.ShaderGraph.ColorNode",
  816. "m_ObjectId": "a7d69577671949e380bd4d0041ccdef8",
  817. "m_Group": {
  818. "m_Id": "fcd45624a2d142c88f3c301e8c742685"
  819. },
  820. "m_Name": "Color",
  821. "m_DrawState": {
  822. "m_Expanded": true,
  823. "m_Position": {
  824. "serializedVersion": "2",
  825. "x": -814.0,
  826. "y": 379.3333435058594,
  827. "width": 209.3333740234375,
  828. "height": 128.0
  829. }
  830. },
  831. "m_Slots": [
  832. {
  833. "m_Id": "9106e7663ce9404e9ad0e87382bc7b32"
  834. }
  835. ],
  836. "synonyms": [
  837. "rgba"
  838. ],
  839. "m_Precision": 0,
  840. "m_PreviewExpanded": true,
  841. "m_DismissedVersion": 0,
  842. "m_PreviewMode": 0,
  843. "m_CustomColors": {
  844. "m_SerializableColors": []
  845. },
  846. "m_Color": {
  847. "color": {
  848. "r": 1.0,
  849. "g": 0.0,
  850. "b": 0.0,
  851. "a": 0.0
  852. },
  853. "mode": 0
  854. }
  855. }
  856. {
  857. "m_SGVersion": 2,
  858. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  859. "m_ObjectId": "ac3f0044c20c43488dc9c80d8ea1b4d9"
  860. }
  861. {
  862. "m_SGVersion": 0,
  863. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  864. "m_ObjectId": "b0ee8fd821e2468ba5e019735c2d4906",
  865. "m_ActiveSubTarget": {
  866. "m_Id": "5a83a7b3743d4d1cbbc07892539c9dae"
  867. },
  868. "m_Datas": [
  869. {
  870. "m_Id": "87f111498871432ba1442e6ffd024e39"
  871. },
  872. {
  873. "m_Id": "4f0cf95387cf47ca8a3b6776923bf646"
  874. },
  875. {
  876. "m_Id": "ba482ca446d84ad9938fc89adae4bc3d"
  877. }
  878. ],
  879. "m_CustomEditorGUI": "",
  880. "m_SupportVFX": false,
  881. "m_SupportLineRendering": false
  882. }
  883. {
  884. "m_SGVersion": 0,
  885. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  886. "m_ObjectId": "b64e8be6406243748e8275b9f8058c67",
  887. "m_Id": 0,
  888. "m_DisplayName": "Alpha",
  889. "m_SlotType": 0,
  890. "m_Hidden": false,
  891. "m_ShaderOutputName": "Alpha",
  892. "m_StageCapability": 2,
  893. "m_Value": 1.0,
  894. "m_DefaultValue": 1.0,
  895. "m_Labels": []
  896. }
  897. {
  898. "m_SGVersion": 0,
  899. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  900. "m_ObjectId": "b7feb00ed7a94020b4ceb9c7edb4f532",
  901. "m_Id": 1,
  902. "m_DisplayName": "True",
  903. "m_SlotType": 0,
  904. "m_Hidden": false,
  905. "m_ShaderOutputName": "True",
  906. "m_StageCapability": 3,
  907. "m_Value": {
  908. "x": 1.0,
  909. "y": 1.0,
  910. "z": 1.0,
  911. "w": 1.0
  912. },
  913. "m_DefaultValue": {
  914. "x": 0.0,
  915. "y": 0.0,
  916. "z": 0.0,
  917. "w": 0.0
  918. }
  919. }
  920. {
  921. "m_SGVersion": 0,
  922. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  923. "m_ObjectId": "ba482ca446d84ad9938fc89adae4bc3d",
  924. "m_EnableShadowMatte": false,
  925. "m_DistortionOnly": false
  926. }
  927. {
  928. "m_SGVersion": 0,
  929. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  930. "m_ObjectId": "c631b5d0e2914fdf89d1fc2a9c58f178",
  931. "m_Group": {
  932. "m_Id": ""
  933. },
  934. "m_Name": "SurfaceDescription.Alpha",
  935. "m_DrawState": {
  936. "m_Expanded": true,
  937. "m_Position": {
  938. "serializedVersion": "2",
  939. "x": 0.0,
  940. "y": 0.0,
  941. "width": 0.0,
  942. "height": 0.0
  943. }
  944. },
  945. "m_Slots": [
  946. {
  947. "m_Id": "b64e8be6406243748e8275b9f8058c67"
  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_SerializedDescriptor": "SurfaceDescription.Alpha"
  959. }
  960. {
  961. "m_SGVersion": 0,
  962. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  963. "m_ObjectId": "c6dcd2f73e35484d8e5add373194eedc",
  964. "m_Id": 2,
  965. "m_DisplayName": "False",
  966. "m_SlotType": 0,
  967. "m_Hidden": false,
  968. "m_ShaderOutputName": "False",
  969. "m_StageCapability": 3,
  970. "m_Value": {
  971. "x": 0.0,
  972. "y": 0.0,
  973. "z": 0.0,
  974. "w": 0.0
  975. },
  976. "m_DefaultValue": {
  977. "x": 0.0,
  978. "y": 0.0,
  979. "z": 0.0,
  980. "w": 0.0
  981. }
  982. }
  983. {
  984. "m_SGVersion": 0,
  985. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  986. "m_ObjectId": "d264465c5f5f4cafb4282e5c29fa0052",
  987. "m_Group": {
  988. "m_Id": ""
  989. },
  990. "m_Name": "VertexDescription.Normal",
  991. "m_DrawState": {
  992. "m_Expanded": true,
  993. "m_Position": {
  994. "serializedVersion": "2",
  995. "x": 0.0,
  996. "y": 0.0,
  997. "width": 0.0,
  998. "height": 0.0
  999. }
  1000. },
  1001. "m_Slots": [
  1002. {
  1003. "m_Id": "0500b8f2eb9b4cc8b0edc29c8d4c4de2"
  1004. }
  1005. ],
  1006. "synonyms": [],
  1007. "m_Precision": 0,
  1008. "m_PreviewExpanded": true,
  1009. "m_DismissedVersion": 0,
  1010. "m_PreviewMode": 0,
  1011. "m_CustomColors": {
  1012. "m_SerializableColors": []
  1013. },
  1014. "m_SerializedDescriptor": "VertexDescription.Normal"
  1015. }
  1016. {
  1017. "m_SGVersion": 0,
  1018. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  1019. "m_ObjectId": "e68e0fedb098479bb65810187d9075c6",
  1020. "m_Id": 0,
  1021. "m_DisplayName": "Predicate",
  1022. "m_SlotType": 0,
  1023. "m_Hidden": false,
  1024. "m_ShaderOutputName": "Predicate",
  1025. "m_StageCapability": 3,
  1026. "m_Value": false,
  1027. "m_DefaultValue": false
  1028. }
  1029. {
  1030. "m_SGVersion": 0,
  1031. "m_Type": "UnityEditor.ShaderGraph.BranchNode",
  1032. "m_ObjectId": "e7309544d7fc43fc9512ae3052e95d55",
  1033. "m_Group": {
  1034. "m_Id": "fcd45624a2d142c88f3c301e8c742685"
  1035. },
  1036. "m_Name": "Branch",
  1037. "m_DrawState": {
  1038. "m_Expanded": true,
  1039. "m_Position": {
  1040. "serializedVersion": "2",
  1041. "x": -440.6666259765625,
  1042. "y": 364.0,
  1043. "width": 173.33334350585938,
  1044. "height": 144.0
  1045. }
  1046. },
  1047. "m_Slots": [
  1048. {
  1049. "m_Id": "3eb01c5233e04d729525a727a5612495"
  1050. },
  1051. {
  1052. "m_Id": "b7feb00ed7a94020b4ceb9c7edb4f532"
  1053. },
  1054. {
  1055. "m_Id": "c6dcd2f73e35484d8e5add373194eedc"
  1056. },
  1057. {
  1058. "m_Id": "a72c1da80aa24da882e6cf8a03ff682c"
  1059. }
  1060. ],
  1061. "synonyms": [
  1062. "switch",
  1063. "if",
  1064. "else"
  1065. ],
  1066. "m_Precision": 0,
  1067. "m_PreviewExpanded": false,
  1068. "m_DismissedVersion": 0,
  1069. "m_PreviewMode": 0,
  1070. "m_CustomColors": {
  1071. "m_SerializableColors": []
  1072. }
  1073. }
  1074. {
  1075. "m_SGVersion": 0,
  1076. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1077. "m_ObjectId": "eaf10b588af74584971a91e776805cd5",
  1078. "m_Title": "Branch node",
  1079. "m_Content": "The Branch Node selects between two different inputs. If the Predicate input is true, output Out returns the value of the True input. If it's false, return the value of the input False.\n",
  1080. "m_TextSize": 0,
  1081. "m_Theme": 0,
  1082. "m_Position": {
  1083. "serializedVersion": "2",
  1084. "x": -450.5000305175781,
  1085. "y": 75.0,
  1086. "width": 200.00001525878907,
  1087. "height": 122.91543579101563
  1088. },
  1089. "m_Group": {
  1090. "m_Id": ""
  1091. }
  1092. }
  1093. {
  1094. "m_SGVersion": 0,
  1095. "m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
  1096. "m_ObjectId": "f303beef4470435eba73e7c0bb7f04f8",
  1097. "m_Guid": {
  1098. "m_GuidSerialized": "fd99900f-c256-4ff0-8757-699128ed8afb"
  1099. },
  1100. "m_Name": "isRed",
  1101. "m_DefaultRefNameVersion": 1,
  1102. "m_RefNameGeneratedByDisplayName": "isRed",
  1103. "m_DefaultReferenceName": "_isRed",
  1104. "m_OverrideReferenceName": "",
  1105. "m_GeneratePropertyBlock": true,
  1106. "m_UseCustomSlotLabel": false,
  1107. "m_CustomSlotLabel": "",
  1108. "m_DismissedVersion": 0,
  1109. "m_Precision": 0,
  1110. "overrideHLSLDeclaration": false,
  1111. "hlslDeclarationOverride": 0,
  1112. "m_Hidden": false,
  1113. "m_Value": true
  1114. }
  1115. {
  1116. "m_SGVersion": 0,
  1117. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  1118. "m_ObjectId": "f456104168cb4f25a378f7dbb1d98f41",
  1119. "m_Name": "",
  1120. "m_ChildObjectList": [
  1121. {
  1122. "m_Id": "f303beef4470435eba73e7c0bb7f04f8"
  1123. }
  1124. ]
  1125. }
  1126. {
  1127. "m_SGVersion": 0,
  1128. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  1129. "m_ObjectId": "fcd45624a2d142c88f3c301e8c742685",
  1130. "m_Title": "Returns Red color if the isRed boolean is true",
  1131. "m_Position": {
  1132. "x": 10.0,
  1133. "y": 10.0
  1134. }
  1135. }