暫無描述
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.

Absolute.shadergraph 36KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "dcb45ac26bfd483e9bdcba274fd29f50",
  5. "m_Properties": [],
  6. "m_Keywords": [],
  7. "m_Dropdowns": [],
  8. "m_CategoryData": [
  9. {
  10. "m_Id": "68f032db7db046d5b3c170627b03606a"
  11. }
  12. ],
  13. "m_Nodes": [
  14. {
  15. "m_Id": "27132f0286934b86a6de4d8e0c51f486"
  16. },
  17. {
  18. "m_Id": "7ceba854560b4751b4a058d727c220ff"
  19. },
  20. {
  21. "m_Id": "4872e29cf8334a65adeddcebdcb60be2"
  22. },
  23. {
  24. "m_Id": "961cf1284f6f4cdb9578857ae3ca70ec"
  25. },
  26. {
  27. "m_Id": "30a47125cb2a44db853d7f7571e920a2"
  28. },
  29. {
  30. "m_Id": "70417f4e71194afabdc4bd6e9b06e822"
  31. },
  32. {
  33. "m_Id": "ee684125d72345988b8fe7896a23092c"
  34. },
  35. {
  36. "m_Id": "0e39c8910e9647bc9085911e320f06c3"
  37. },
  38. {
  39. "m_Id": "2edfebac9023416c8a4a8ed8ccc59456"
  40. },
  41. {
  42. "m_Id": "e02866e1cf0a4249bce499152394935d"
  43. },
  44. {
  45. "m_Id": "1c721bc17e9b4c9f86c4eef2dab5998d"
  46. },
  47. {
  48. "m_Id": "93ff6cb5e8e1462d92d2cdf1534c1a60"
  49. },
  50. {
  51. "m_Id": "5f6f1412f3e142078ab44c896da19e9f"
  52. },
  53. {
  54. "m_Id": "5f09dc75c5c54238a7e637cd2a1fa20b"
  55. }
  56. ],
  57. "m_GroupDatas": [
  58. {
  59. "m_Id": "75ba5105445e4889b8e61d33dfaf696e"
  60. },
  61. {
  62. "m_Id": "694a2eb050ef4d14bfe9cbd148f50155"
  63. }
  64. ],
  65. "m_StickyNoteDatas": [
  66. {
  67. "m_Id": "45371dd7b0d748c8a9539bd33d8aca03"
  68. },
  69. {
  70. "m_Id": "e21eec8e25454aa393aad0d2f4c19ff3"
  71. },
  72. {
  73. "m_Id": "658be2710e7a4740a75a7dd6431e8586"
  74. },
  75. {
  76. "m_Id": "a6d7bf8af2b640519805dfb5f45907cf"
  77. },
  78. {
  79. "m_Id": "038c067f9b8c40c791d956a85d633fc3"
  80. }
  81. ],
  82. "m_Edges": [
  83. {
  84. "m_OutputSlot": {
  85. "m_Node": {
  86. "m_Id": "0e39c8910e9647bc9085911e320f06c3"
  87. },
  88. "m_SlotId": 0
  89. },
  90. "m_InputSlot": {
  91. "m_Node": {
  92. "m_Id": "ee684125d72345988b8fe7896a23092c"
  93. },
  94. "m_SlotId": 1
  95. }
  96. },
  97. {
  98. "m_OutputSlot": {
  99. "m_Node": {
  100. "m_Id": "1c721bc17e9b4c9f86c4eef2dab5998d"
  101. },
  102. "m_SlotId": 1
  103. },
  104. "m_InputSlot": {
  105. "m_Node": {
  106. "m_Id": "93ff6cb5e8e1462d92d2cdf1534c1a60"
  107. },
  108. "m_SlotId": 0
  109. }
  110. },
  111. {
  112. "m_OutputSlot": {
  113. "m_Node": {
  114. "m_Id": "70417f4e71194afabdc4bd6e9b06e822"
  115. },
  116. "m_SlotId": 0
  117. },
  118. "m_InputSlot": {
  119. "m_Node": {
  120. "m_Id": "ee684125d72345988b8fe7896a23092c"
  121. },
  122. "m_SlotId": 0
  123. }
  124. },
  125. {
  126. "m_OutputSlot": {
  127. "m_Node": {
  128. "m_Id": "e02866e1cf0a4249bce499152394935d"
  129. },
  130. "m_SlotId": 0
  131. },
  132. "m_InputSlot": {
  133. "m_Node": {
  134. "m_Id": "1c721bc17e9b4c9f86c4eef2dab5998d"
  135. },
  136. "m_SlotId": 0
  137. }
  138. },
  139. {
  140. "m_OutputSlot": {
  141. "m_Node": {
  142. "m_Id": "ee684125d72345988b8fe7896a23092c"
  143. },
  144. "m_SlotId": 2
  145. },
  146. "m_InputSlot": {
  147. "m_Node": {
  148. "m_Id": "2edfebac9023416c8a4a8ed8ccc59456"
  149. },
  150. "m_SlotId": 0
  151. }
  152. }
  153. ],
  154. "m_VertexContext": {
  155. "m_Position": {
  156. "x": 0.0,
  157. "y": 0.0
  158. },
  159. "m_Blocks": [
  160. {
  161. "m_Id": "27132f0286934b86a6de4d8e0c51f486"
  162. },
  163. {
  164. "m_Id": "7ceba854560b4751b4a058d727c220ff"
  165. },
  166. {
  167. "m_Id": "4872e29cf8334a65adeddcebdcb60be2"
  168. }
  169. ]
  170. },
  171. "m_FragmentContext": {
  172. "m_Position": {
  173. "x": 0.0,
  174. "y": 200.0
  175. },
  176. "m_Blocks": [
  177. {
  178. "m_Id": "961cf1284f6f4cdb9578857ae3ca70ec"
  179. },
  180. {
  181. "m_Id": "5f6f1412f3e142078ab44c896da19e9f"
  182. },
  183. {
  184. "m_Id": "5f09dc75c5c54238a7e637cd2a1fa20b"
  185. }
  186. ]
  187. },
  188. "m_PreviewData": {
  189. "serializedMesh": {
  190. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  191. "m_Guid": ""
  192. },
  193. "preventRotation": false
  194. },
  195. "m_Path": "Shader Graphs",
  196. "m_GraphPrecision": 1,
  197. "m_PreviewMode": 2,
  198. "m_OutputNode": {
  199. "m_Id": ""
  200. },
  201. "m_ActiveTargets": [
  202. {
  203. "m_Id": "b9430ceb950842f08198fce17a640911"
  204. },
  205. {
  206. "m_Id": "6622b4daaa264cb28fa11e263c50efc1"
  207. },
  208. {
  209. "m_Id": "5a37afd5df834a2dbfaade536d58233e"
  210. }
  211. ]
  212. }
  213. {
  214. "m_SGVersion": 0,
  215. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  216. "m_ObjectId": "01df67e1f6dc47e290b4dcf44015bdb8",
  217. "m_Id": 3,
  218. "m_DisplayName": "Delta Time",
  219. "m_SlotType": 1,
  220. "m_Hidden": false,
  221. "m_ShaderOutputName": "Delta Time",
  222. "m_StageCapability": 3,
  223. "m_Value": 0.0,
  224. "m_DefaultValue": 0.0,
  225. "m_Labels": []
  226. }
  227. {
  228. "m_SGVersion": 0,
  229. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  230. "m_ObjectId": "030ab8f178254100ab9af0b5ceacae35",
  231. "m_Id": 1,
  232. "m_DisplayName": "Out",
  233. "m_SlotType": 1,
  234. "m_Hidden": false,
  235. "m_ShaderOutputName": "Out",
  236. "m_StageCapability": 3,
  237. "m_Value": {
  238. "x": 0.0,
  239. "y": 0.0,
  240. "z": 0.0,
  241. "w": 0.0
  242. },
  243. "m_DefaultValue": {
  244. "x": 0.0,
  245. "y": 0.0,
  246. "z": 0.0,
  247. "w": 0.0
  248. }
  249. }
  250. {
  251. "m_SGVersion": 0,
  252. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  253. "m_ObjectId": "038c067f9b8c40c791d956a85d633fc3",
  254. "m_Title": "",
  255. "m_Content": "Using the Absolute node, now our data goes from 1 to 0 and back to 1, so it's more like a bounce than a wave.\n\nThe same thing could also be done with vertex position to actually make your model bounce.",
  256. "m_TextSize": 0,
  257. "m_Theme": 0,
  258. "m_Position": {
  259. "serializedVersion": "2",
  260. "x": -376.0000305175781,
  261. "y": 341.5000305175781,
  262. "width": 200.00001525878907,
  263. "height": 131.00003051757813
  264. },
  265. "m_Group": {
  266. "m_Id": "694a2eb050ef4d14bfe9cbd148f50155"
  267. }
  268. }
  269. {
  270. "m_SGVersion": 0,
  271. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  272. "m_ObjectId": "0b16dce6e60646beb1a5a7d329e21e82"
  273. }
  274. {
  275. "m_SGVersion": 0,
  276. "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
  277. "m_ObjectId": "0e39c8910e9647bc9085911e320f06c3",
  278. "m_Group": {
  279. "m_Id": "75ba5105445e4889b8e61d33dfaf696e"
  280. },
  281. "m_Name": "Normal Vector",
  282. "m_DrawState": {
  283. "m_Expanded": true,
  284. "m_Position": {
  285. "serializedVersion": "2",
  286. "x": -1449.0,
  287. "y": 132.00001525878907,
  288. "width": 206.0,
  289. "height": 130.50001525878907
  290. }
  291. },
  292. "m_Slots": [
  293. {
  294. "m_Id": "2a90ee006d0440abbbdc5b5af7af23d0"
  295. }
  296. ],
  297. "synonyms": [
  298. "surface direction"
  299. ],
  300. "m_Precision": 0,
  301. "m_PreviewExpanded": false,
  302. "m_DismissedVersion": 0,
  303. "m_PreviewMode": 2,
  304. "m_CustomColors": {
  305. "m_SerializableColors": []
  306. },
  307. "m_Space": 2
  308. }
  309. {
  310. "m_SGVersion": 0,
  311. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  312. "m_ObjectId": "1c69d8e6d43443278739b843ebce2026",
  313. "m_Id": 0,
  314. "m_DisplayName": "In",
  315. "m_SlotType": 0,
  316. "m_Hidden": false,
  317. "m_ShaderOutputName": "In",
  318. "m_StageCapability": 3,
  319. "m_Value": {
  320. "x": 0.0,
  321. "y": 0.0,
  322. "z": 0.0,
  323. "w": 0.0
  324. },
  325. "m_DefaultValue": {
  326. "x": 0.0,
  327. "y": 0.0,
  328. "z": 0.0,
  329. "w": 0.0
  330. }
  331. }
  332. {
  333. "m_SGVersion": 0,
  334. "m_Type": "UnityEditor.ShaderGraph.SineNode",
  335. "m_ObjectId": "1c721bc17e9b4c9f86c4eef2dab5998d",
  336. "m_Group": {
  337. "m_Id": "694a2eb050ef4d14bfe9cbd148f50155"
  338. },
  339. "m_Name": "Sine",
  340. "m_DrawState": {
  341. "m_Expanded": true,
  342. "m_Position": {
  343. "serializedVersion": "2",
  344. "x": -617.0000610351563,
  345. "y": 56.500038146972659,
  346. "width": 208.00009155273438,
  347. "height": 278.0
  348. }
  349. },
  350. "m_Slots": [
  351. {
  352. "m_Id": "3d274c7cc3124841ae6a486e571ae688"
  353. },
  354. {
  355. "m_Id": "030ab8f178254100ab9af0b5ceacae35"
  356. }
  357. ],
  358. "synonyms": [],
  359. "m_Precision": 0,
  360. "m_PreviewExpanded": true,
  361. "m_DismissedVersion": 0,
  362. "m_PreviewMode": 0,
  363. "m_CustomColors": {
  364. "m_SerializableColors": []
  365. }
  366. }
  367. {
  368. "m_SGVersion": 0,
  369. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  370. "m_ObjectId": "27132f0286934b86a6de4d8e0c51f486",
  371. "m_Group": {
  372. "m_Id": ""
  373. },
  374. "m_Name": "VertexDescription.Position",
  375. "m_DrawState": {
  376. "m_Expanded": true,
  377. "m_Position": {
  378. "serializedVersion": "2",
  379. "x": 0.0,
  380. "y": 0.0,
  381. "width": 0.0,
  382. "height": 0.0
  383. }
  384. },
  385. "m_Slots": [
  386. {
  387. "m_Id": "6b261cc7b6d8499d814dfbc5129438ba"
  388. }
  389. ],
  390. "synonyms": [],
  391. "m_Precision": 0,
  392. "m_PreviewExpanded": false,
  393. "m_DismissedVersion": 0,
  394. "m_PreviewMode": 0,
  395. "m_CustomColors": {
  396. "m_SerializableColors": []
  397. },
  398. "m_SerializedDescriptor": "VertexDescription.Position"
  399. }
  400. {
  401. "m_SGVersion": 0,
  402. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  403. "m_ObjectId": "291e1fa75c304d03a7f2be53c85787bb",
  404. "m_Id": 4,
  405. "m_DisplayName": "Smooth Delta",
  406. "m_SlotType": 1,
  407. "m_Hidden": false,
  408. "m_ShaderOutputName": "Smooth Delta",
  409. "m_StageCapability": 3,
  410. "m_Value": 0.0,
  411. "m_DefaultValue": 0.0,
  412. "m_Labels": []
  413. }
  414. {
  415. "m_SGVersion": 0,
  416. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  417. "m_ObjectId": "2a90ee006d0440abbbdc5b5af7af23d0",
  418. "m_Id": 0,
  419. "m_DisplayName": "Out",
  420. "m_SlotType": 1,
  421. "m_Hidden": false,
  422. "m_ShaderOutputName": "Out",
  423. "m_StageCapability": 3,
  424. "m_Value": {
  425. "x": 0.0,
  426. "y": 0.0,
  427. "z": 1.0
  428. },
  429. "m_DefaultValue": {
  430. "x": 0.0,
  431. "y": 0.0,
  432. "z": 0.0
  433. },
  434. "m_Labels": []
  435. }
  436. {
  437. "m_SGVersion": 0,
  438. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  439. "m_ObjectId": "2e131bbf0e9f4aa1a5624b60959aa3dd",
  440. "m_Id": 0,
  441. "m_DisplayName": "In",
  442. "m_SlotType": 0,
  443. "m_Hidden": false,
  444. "m_ShaderOutputName": "In",
  445. "m_StageCapability": 3,
  446. "m_Value": {
  447. "x": 0.0,
  448. "y": 0.0,
  449. "z": 0.0,
  450. "w": 0.0
  451. },
  452. "m_DefaultValue": {
  453. "x": 0.0,
  454. "y": 0.0,
  455. "z": 0.0,
  456. "w": 0.0
  457. }
  458. }
  459. {
  460. "m_SGVersion": 0,
  461. "m_Type": "UnityEditor.ShaderGraph.AbsoluteNode",
  462. "m_ObjectId": "2edfebac9023416c8a4a8ed8ccc59456",
  463. "m_Group": {
  464. "m_Id": "75ba5105445e4889b8e61d33dfaf696e"
  465. },
  466. "m_Name": "Absolute",
  467. "m_DrawState": {
  468. "m_Expanded": true,
  469. "m_Position": {
  470. "serializedVersion": "2",
  471. "x": -988.5000610351563,
  472. "y": 82.50000762939453,
  473. "width": 208.00006103515626,
  474. "height": 278.00006103515627
  475. }
  476. },
  477. "m_Slots": [
  478. {
  479. "m_Id": "5448b39fba244c5aad8986bb432cb97f"
  480. },
  481. {
  482. "m_Id": "ceada34864b342c89345efa3201feb7a"
  483. }
  484. ],
  485. "synonyms": [
  486. "positive"
  487. ],
  488. "m_Precision": 0,
  489. "m_PreviewExpanded": true,
  490. "m_DismissedVersion": 0,
  491. "m_PreviewMode": 0,
  492. "m_CustomColors": {
  493. "m_SerializableColors": []
  494. }
  495. }
  496. {
  497. "m_SGVersion": 0,
  498. "m_Type": "UnityEditor.ShaderGraph.AbsoluteNode",
  499. "m_ObjectId": "30a47125cb2a44db853d7f7571e920a2",
  500. "m_Group": {
  501. "m_Id": ""
  502. },
  503. "m_Name": "Absolute",
  504. "m_DrawState": {
  505. "m_Expanded": true,
  506. "m_Position": {
  507. "serializedVersion": "2",
  508. "x": -935.0,
  509. "y": -220.49998474121095,
  510. "width": 127.49993896484375,
  511. "height": 94.00000762939453
  512. }
  513. },
  514. "m_Slots": [
  515. {
  516. "m_Id": "1c69d8e6d43443278739b843ebce2026"
  517. },
  518. {
  519. "m_Id": "c61da8023a8d480e8bc99ba2abe0a993"
  520. }
  521. ],
  522. "synonyms": [
  523. "positive"
  524. ],
  525. "m_Precision": 0,
  526. "m_PreviewExpanded": false,
  527. "m_DismissedVersion": 0,
  528. "m_PreviewMode": 0,
  529. "m_CustomColors": {
  530. "m_SerializableColors": []
  531. }
  532. }
  533. {
  534. "m_SGVersion": 0,
  535. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  536. "m_ObjectId": "3d274c7cc3124841ae6a486e571ae688",
  537. "m_Id": 0,
  538. "m_DisplayName": "In",
  539. "m_SlotType": 0,
  540. "m_Hidden": false,
  541. "m_ShaderOutputName": "In",
  542. "m_StageCapability": 3,
  543. "m_Value": {
  544. "x": 0.0,
  545. "y": 0.0,
  546. "z": 0.0,
  547. "w": 0.0
  548. },
  549. "m_DefaultValue": {
  550. "x": 0.0,
  551. "y": 0.0,
  552. "z": 0.0,
  553. "w": 0.0
  554. }
  555. }
  556. {
  557. "m_SGVersion": 0,
  558. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  559. "m_ObjectId": "424ee881ff814f5d9a68a559a517ca65",
  560. "m_Id": 0,
  561. "m_DisplayName": "Base Color",
  562. "m_SlotType": 0,
  563. "m_Hidden": false,
  564. "m_ShaderOutputName": "BaseColor",
  565. "m_StageCapability": 2,
  566. "m_Value": {
  567. "x": 0.5,
  568. "y": 0.5,
  569. "z": 0.5
  570. },
  571. "m_DefaultValue": {
  572. "x": 0.0,
  573. "y": 0.0,
  574. "z": 0.0
  575. },
  576. "m_Labels": [],
  577. "m_ColorMode": 0,
  578. "m_DefaultColor": {
  579. "r": 0.5,
  580. "g": 0.5,
  581. "b": 0.5,
  582. "a": 1.0
  583. }
  584. }
  585. {
  586. "m_SGVersion": 0,
  587. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  588. "m_ObjectId": "45371dd7b0d748c8a9539bd33d8aca03",
  589. "m_Title": "Absolute Node",
  590. "m_Content": "The Absolute Node will makes all inputs positive, regardless of if they're positive or negative.\n\nIt's important to know that in most cases the shader compiler can perform the absolute operation without any shader instructions - so usually, you get an absolute operation for free.",
  591. "m_TextSize": 0,
  592. "m_Theme": 0,
  593. "m_Position": {
  594. "serializedVersion": "2",
  595. "x": -798.0000610351563,
  596. "y": -214.50001525878907,
  597. "width": 200.0,
  598. "height": 164.50001525878907
  599. },
  600. "m_Group": {
  601. "m_Id": ""
  602. }
  603. }
  604. {
  605. "m_SGVersion": 0,
  606. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  607. "m_ObjectId": "4872e29cf8334a65adeddcebdcb60be2",
  608. "m_Group": {
  609. "m_Id": ""
  610. },
  611. "m_Name": "VertexDescription.Tangent",
  612. "m_DrawState": {
  613. "m_Expanded": true,
  614. "m_Position": {
  615. "serializedVersion": "2",
  616. "x": 0.0,
  617. "y": 0.0,
  618. "width": 0.0,
  619. "height": 0.0
  620. }
  621. },
  622. "m_Slots": [
  623. {
  624. "m_Id": "f8303fd091b74bcc8e6dc818b5e48fb1"
  625. }
  626. ],
  627. "synonyms": [],
  628. "m_Precision": 0,
  629. "m_PreviewExpanded": false,
  630. "m_DismissedVersion": 0,
  631. "m_PreviewMode": 0,
  632. "m_CustomColors": {
  633. "m_SerializableColors": []
  634. },
  635. "m_SerializedDescriptor": "VertexDescription.Tangent"
  636. }
  637. {
  638. "m_SGVersion": 0,
  639. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  640. "m_ObjectId": "4a3a5c4f1f494af6815a1694c001d179",
  641. "m_Id": 1,
  642. "m_DisplayName": "B",
  643. "m_SlotType": 0,
  644. "m_Hidden": false,
  645. "m_ShaderOutputName": "B",
  646. "m_StageCapability": 3,
  647. "m_Value": {
  648. "x": 0.0,
  649. "y": 1.0,
  650. "z": 0.0,
  651. "w": 0.0
  652. },
  653. "m_DefaultValue": {
  654. "x": 0.0,
  655. "y": 0.0,
  656. "z": 0.0,
  657. "w": 0.0
  658. }
  659. }
  660. {
  661. "m_SGVersion": 0,
  662. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  663. "m_ObjectId": "4fd89a6f55e44ea78644ba50d4919084",
  664. "m_Id": 2,
  665. "m_DisplayName": "Out",
  666. "m_SlotType": 1,
  667. "m_Hidden": false,
  668. "m_ShaderOutputName": "Out",
  669. "m_StageCapability": 3,
  670. "m_Value": 0.0,
  671. "m_DefaultValue": 0.0,
  672. "m_Labels": []
  673. }
  674. {
  675. "m_SGVersion": 0,
  676. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  677. "m_ObjectId": "52a7c8cd6245443ebe6cbbf48b07a124",
  678. "m_MaterialNeedsUpdateHash": 0,
  679. "m_SurfaceType": 0,
  680. "m_RenderingPass": 1,
  681. "m_BlendMode": 0,
  682. "m_ZTest": 4,
  683. "m_ZWrite": false,
  684. "m_TransparentCullMode": 2,
  685. "m_OpaqueCullMode": 2,
  686. "m_SortPriority": 0,
  687. "m_AlphaTest": false,
  688. "m_TransparentDepthPrepass": false,
  689. "m_TransparentDepthPostpass": false,
  690. "m_SupportLodCrossFade": false,
  691. "m_DoubleSidedMode": 0,
  692. "m_DOTSInstancing": false,
  693. "m_CustomVelocity": false,
  694. "m_Tessellation": false,
  695. "m_TessellationMode": 0,
  696. "m_TessellationFactorMinDistance": 20.0,
  697. "m_TessellationFactorMaxDistance": 50.0,
  698. "m_TessellationFactorTriangleSize": 100.0,
  699. "m_TessellationShapeFactor": 0.75,
  700. "m_TessellationBackFaceCullEpsilon": -0.25,
  701. "m_TessellationMaxDisplacement": 0.009999999776482582,
  702. "m_DebugSymbols": false,
  703. "m_Version": 2,
  704. "inspectorFoldoutMask": 0
  705. }
  706. {
  707. "m_SGVersion": 0,
  708. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  709. "m_ObjectId": "5448b39fba244c5aad8986bb432cb97f",
  710. "m_Id": 0,
  711. "m_DisplayName": "In",
  712. "m_SlotType": 0,
  713. "m_Hidden": false,
  714. "m_ShaderOutputName": "In",
  715. "m_StageCapability": 3,
  716. "m_Value": {
  717. "x": 0.0,
  718. "y": 0.0,
  719. "z": 0.0,
  720. "w": 0.0
  721. },
  722. "m_DefaultValue": {
  723. "x": 0.0,
  724. "y": 0.0,
  725. "z": 0.0,
  726. "w": 0.0
  727. }
  728. }
  729. {
  730. "m_SGVersion": 1,
  731. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  732. "m_ObjectId": "5a37afd5df834a2dbfaade536d58233e",
  733. "m_Datas": [],
  734. "m_ActiveSubTarget": {
  735. "m_Id": "ba7bc4c281d946d39891ce9ddd6bde8a"
  736. },
  737. "m_AllowMaterialOverride": false,
  738. "m_SurfaceType": 0,
  739. "m_ZTestMode": 4,
  740. "m_ZWriteControl": 0,
  741. "m_AlphaMode": 0,
  742. "m_RenderFace": 2,
  743. "m_AlphaClip": false,
  744. "m_CastShadows": true,
  745. "m_ReceiveShadows": true,
  746. "m_AdditionalMotionVectorMode": 0,
  747. "m_AlembicMotionVectors": false,
  748. "m_SupportsLODCrossFade": false,
  749. "m_CustomEditorGUI": "",
  750. "m_SupportVFX": false
  751. }
  752. {
  753. "m_SGVersion": 0,
  754. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  755. "m_ObjectId": "5f09dc75c5c54238a7e637cd2a1fa20b",
  756. "m_Group": {
  757. "m_Id": ""
  758. },
  759. "m_Name": "SurfaceDescription.Alpha",
  760. "m_DrawState": {
  761. "m_Expanded": true,
  762. "m_Position": {
  763. "serializedVersion": "2",
  764. "x": 0.0,
  765. "y": 0.0,
  766. "width": 0.0,
  767. "height": 0.0
  768. }
  769. },
  770. "m_Slots": [
  771. {
  772. "m_Id": "d74d5e1e691a4ef6b68160b68abf4df3"
  773. }
  774. ],
  775. "synonyms": [],
  776. "m_Precision": 0,
  777. "m_PreviewExpanded": true,
  778. "m_DismissedVersion": 0,
  779. "m_PreviewMode": 0,
  780. "m_CustomColors": {
  781. "m_SerializableColors": []
  782. },
  783. "m_SerializedDescriptor": "SurfaceDescription.Alpha"
  784. }
  785. {
  786. "m_SGVersion": 0,
  787. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  788. "m_ObjectId": "5f6f1412f3e142078ab44c896da19e9f",
  789. "m_Group": {
  790. "m_Id": ""
  791. },
  792. "m_Name": "SurfaceDescription.Emission",
  793. "m_DrawState": {
  794. "m_Expanded": true,
  795. "m_Position": {
  796. "serializedVersion": "2",
  797. "x": 0.0,
  798. "y": 0.0,
  799. "width": 0.0,
  800. "height": 0.0
  801. }
  802. },
  803. "m_Slots": [
  804. {
  805. "m_Id": "a44f6a505fd54f02802805782d5f21c6"
  806. }
  807. ],
  808. "synonyms": [],
  809. "m_Precision": 0,
  810. "m_PreviewExpanded": true,
  811. "m_DismissedVersion": 0,
  812. "m_PreviewMode": 0,
  813. "m_CustomColors": {
  814. "m_SerializableColors": []
  815. },
  816. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  817. }
  818. {
  819. "m_SGVersion": 0,
  820. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  821. "m_ObjectId": "642d17bdcde248f4a65bedd1be4c6c15",
  822. "m_Id": 0,
  823. "m_DisplayName": "Normal",
  824. "m_SlotType": 0,
  825. "m_Hidden": false,
  826. "m_ShaderOutputName": "Normal",
  827. "m_StageCapability": 1,
  828. "m_Value": {
  829. "x": 0.0,
  830. "y": 0.0,
  831. "z": 0.0
  832. },
  833. "m_DefaultValue": {
  834. "x": 0.0,
  835. "y": 0.0,
  836. "z": 0.0
  837. },
  838. "m_Labels": [],
  839. "m_Space": 0
  840. }
  841. {
  842. "m_SGVersion": 0,
  843. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  844. "m_ObjectId": "64923652c7004846877ac42b87b2cf39",
  845. "m_Id": 0,
  846. "m_DisplayName": "A",
  847. "m_SlotType": 0,
  848. "m_Hidden": false,
  849. "m_ShaderOutputName": "A",
  850. "m_StageCapability": 3,
  851. "m_Value": {
  852. "x": 0.0,
  853. "y": 0.0,
  854. "z": 0.0,
  855. "w": 0.0
  856. },
  857. "m_DefaultValue": {
  858. "x": 0.0,
  859. "y": 0.0,
  860. "z": 0.0,
  861. "w": 0.0
  862. }
  863. }
  864. {
  865. "m_SGVersion": 0,
  866. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  867. "m_ObjectId": "658be2710e7a4740a75a7dd6431e8586",
  868. "m_Title": "",
  869. "m_Content": "If you want the result to be positive on both ends instead, you can use the Absolute node to remove the negative sign from the negative values. Now we get 1 to 0 and back to 1 again.",
  870. "m_TextSize": 0,
  871. "m_Theme": 0,
  872. "m_Position": {
  873. "serializedVersion": "2",
  874. "x": -983.5000610351563,
  875. "y": 363.5000305175781,
  876. "width": 200.0,
  877. "height": 100.0
  878. },
  879. "m_Group": {
  880. "m_Id": "75ba5105445e4889b8e61d33dfaf696e"
  881. }
  882. }
  883. {
  884. "m_SGVersion": 0,
  885. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  886. "m_ObjectId": "6622b4daaa264cb28fa11e263c50efc1",
  887. "m_ActiveSubTarget": {
  888. "m_Id": "b6b6a366edcb46fd83582b1e74da368c"
  889. },
  890. "m_Datas": [
  891. {
  892. "m_Id": "afb28065d6e841dfa39ebde7c7916239"
  893. },
  894. {
  895. "m_Id": "52a7c8cd6245443ebe6cbbf48b07a124"
  896. },
  897. {
  898. "m_Id": "b6721192227d4a898d0bd581c5ed4616"
  899. }
  900. ],
  901. "m_CustomEditorGUI": "",
  902. "m_SupportVFX": false,
  903. "m_SupportLineRendering": false
  904. }
  905. {
  906. "m_SGVersion": 0,
  907. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  908. "m_ObjectId": "68d0588aefe745f981a85ed954397cc8",
  909. "m_Id": 0,
  910. "m_DisplayName": "Direction",
  911. "m_SlotType": 1,
  912. "m_Hidden": false,
  913. "m_ShaderOutputName": "Direction",
  914. "m_StageCapability": 3,
  915. "m_Value": {
  916. "x": 0.0,
  917. "y": 0.0,
  918. "z": 0.0
  919. },
  920. "m_DefaultValue": {
  921. "x": 0.0,
  922. "y": 0.0,
  923. "z": 0.0
  924. },
  925. "m_Labels": []
  926. }
  927. {
  928. "m_SGVersion": 0,
  929. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  930. "m_ObjectId": "68f032db7db046d5b3c170627b03606a",
  931. "m_Name": "",
  932. "m_ChildObjectList": []
  933. }
  934. {
  935. "m_SGVersion": 0,
  936. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  937. "m_ObjectId": "694a2eb050ef4d14bfe9cbd148f50155",
  938. "m_Title": "Bouncing",
  939. "m_Position": {
  940. "x": -743.5000610351563,
  941. "y": -1.9999656677246094
  942. }
  943. }
  944. {
  945. "m_SGVersion": 0,
  946. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  947. "m_ObjectId": "6b261cc7b6d8499d814dfbc5129438ba",
  948. "m_Id": 0,
  949. "m_DisplayName": "Position",
  950. "m_SlotType": 0,
  951. "m_Hidden": false,
  952. "m_ShaderOutputName": "Position",
  953. "m_StageCapability": 1,
  954. "m_Value": {
  955. "x": 0.0,
  956. "y": 0.0,
  957. "z": 0.0
  958. },
  959. "m_DefaultValue": {
  960. "x": 0.0,
  961. "y": 0.0,
  962. "z": 0.0
  963. },
  964. "m_Labels": [],
  965. "m_Space": 0
  966. }
  967. {
  968. "m_SGVersion": 0,
  969. "m_Type": "UnityEditor.ShaderGraph.MainLightDirectionNode",
  970. "m_ObjectId": "70417f4e71194afabdc4bd6e9b06e822",
  971. "m_Group": {
  972. "m_Id": "75ba5105445e4889b8e61d33dfaf696e"
  973. },
  974. "m_Name": "Main Light Direction",
  975. "m_DrawState": {
  976. "m_Expanded": true,
  977. "m_Position": {
  978. "serializedVersion": "2",
  979. "x": -1402.5001220703125,
  980. "y": 55.00002670288086,
  981. "width": 159.5001220703125,
  982. "height": 76.99998474121094
  983. }
  984. },
  985. "m_Slots": [
  986. {
  987. "m_Id": "68d0588aefe745f981a85ed954397cc8"
  988. }
  989. ],
  990. "synonyms": [
  991. "sun"
  992. ],
  993. "m_Precision": 0,
  994. "m_PreviewExpanded": false,
  995. "m_DismissedVersion": 0,
  996. "m_PreviewMode": 0,
  997. "m_CustomColors": {
  998. "m_SerializableColors": []
  999. }
  1000. }
  1001. {
  1002. "m_SGVersion": 0,
  1003. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  1004. "m_ObjectId": "75ba5105445e4889b8e61d33dfaf696e",
  1005. "m_Title": "Turn Negatives Positive",
  1006. "m_Position": {
  1007. "x": -1474.0,
  1008. "y": -3.5000228881835939
  1009. }
  1010. }
  1011. {
  1012. "m_SGVersion": 0,
  1013. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1014. "m_ObjectId": "7ceba854560b4751b4a058d727c220ff",
  1015. "m_Group": {
  1016. "m_Id": ""
  1017. },
  1018. "m_Name": "VertexDescription.Normal",
  1019. "m_DrawState": {
  1020. "m_Expanded": true,
  1021. "m_Position": {
  1022. "serializedVersion": "2",
  1023. "x": 0.0,
  1024. "y": 0.0,
  1025. "width": 0.0,
  1026. "height": 0.0
  1027. }
  1028. },
  1029. "m_Slots": [
  1030. {
  1031. "m_Id": "642d17bdcde248f4a65bedd1be4c6c15"
  1032. }
  1033. ],
  1034. "synonyms": [],
  1035. "m_Precision": 0,
  1036. "m_PreviewExpanded": false,
  1037. "m_DismissedVersion": 0,
  1038. "m_PreviewMode": 0,
  1039. "m_CustomColors": {
  1040. "m_SerializableColors": []
  1041. },
  1042. "m_SerializedDescriptor": "VertexDescription.Normal"
  1043. }
  1044. {
  1045. "m_SGVersion": 0,
  1046. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1047. "m_ObjectId": "904fb48e427a4649aec48d12a5be1d8f",
  1048. "m_Id": 1,
  1049. "m_DisplayName": "Sine Time",
  1050. "m_SlotType": 1,
  1051. "m_Hidden": false,
  1052. "m_ShaderOutputName": "Sine Time",
  1053. "m_StageCapability": 3,
  1054. "m_Value": 0.0,
  1055. "m_DefaultValue": 0.0,
  1056. "m_Labels": []
  1057. }
  1058. {
  1059. "m_SGVersion": 0,
  1060. "m_Type": "UnityEditor.ShaderGraph.AbsoluteNode",
  1061. "m_ObjectId": "93ff6cb5e8e1462d92d2cdf1534c1a60",
  1062. "m_Group": {
  1063. "m_Id": "694a2eb050ef4d14bfe9cbd148f50155"
  1064. },
  1065. "m_Name": "Absolute",
  1066. "m_DrawState": {
  1067. "m_Expanded": true,
  1068. "m_Position": {
  1069. "serializedVersion": "2",
  1070. "x": -381.49993896484377,
  1071. "y": 56.500038146972659,
  1072. "width": 207.99993896484376,
  1073. "height": 278.0
  1074. }
  1075. },
  1076. "m_Slots": [
  1077. {
  1078. "m_Id": "2e131bbf0e9f4aa1a5624b60959aa3dd"
  1079. },
  1080. {
  1081. "m_Id": "ea6873c64bae491abd856680a6b88240"
  1082. }
  1083. ],
  1084. "synonyms": [
  1085. "positive"
  1086. ],
  1087. "m_Precision": 0,
  1088. "m_PreviewExpanded": true,
  1089. "m_DismissedVersion": 0,
  1090. "m_PreviewMode": 0,
  1091. "m_CustomColors": {
  1092. "m_SerializableColors": []
  1093. }
  1094. }
  1095. {
  1096. "m_SGVersion": 0,
  1097. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1098. "m_ObjectId": "961cf1284f6f4cdb9578857ae3ca70ec",
  1099. "m_Group": {
  1100. "m_Id": ""
  1101. },
  1102. "m_Name": "SurfaceDescription.BaseColor",
  1103. "m_DrawState": {
  1104. "m_Expanded": true,
  1105. "m_Position": {
  1106. "serializedVersion": "2",
  1107. "x": 0.0,
  1108. "y": 0.0,
  1109. "width": 0.0,
  1110. "height": 0.0
  1111. }
  1112. },
  1113. "m_Slots": [
  1114. {
  1115. "m_Id": "424ee881ff814f5d9a68a559a517ca65"
  1116. }
  1117. ],
  1118. "synonyms": [],
  1119. "m_Precision": 0,
  1120. "m_PreviewExpanded": false,
  1121. "m_DismissedVersion": 0,
  1122. "m_PreviewMode": 0,
  1123. "m_CustomColors": {
  1124. "m_SerializableColors": []
  1125. },
  1126. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  1127. }
  1128. {
  1129. "m_SGVersion": 0,
  1130. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1131. "m_ObjectId": "a19b000549624fbbb063b6f29d5311b8",
  1132. "m_Id": 0,
  1133. "m_DisplayName": "Time",
  1134. "m_SlotType": 1,
  1135. "m_Hidden": false,
  1136. "m_ShaderOutputName": "Time",
  1137. "m_StageCapability": 3,
  1138. "m_Value": 0.0,
  1139. "m_DefaultValue": 0.0,
  1140. "m_Labels": []
  1141. }
  1142. {
  1143. "m_SGVersion": 0,
  1144. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  1145. "m_ObjectId": "a44f6a505fd54f02802805782d5f21c6",
  1146. "m_Id": 0,
  1147. "m_DisplayName": "Emission",
  1148. "m_SlotType": 0,
  1149. "m_Hidden": false,
  1150. "m_ShaderOutputName": "Emission",
  1151. "m_StageCapability": 2,
  1152. "m_Value": {
  1153. "x": 0.0,
  1154. "y": 0.0,
  1155. "z": 0.0
  1156. },
  1157. "m_DefaultValue": {
  1158. "x": 0.0,
  1159. "y": 0.0,
  1160. "z": 0.0
  1161. },
  1162. "m_Labels": [],
  1163. "m_ColorMode": 1,
  1164. "m_DefaultColor": {
  1165. "r": 0.0,
  1166. "g": 0.0,
  1167. "b": 0.0,
  1168. "a": 1.0
  1169. }
  1170. }
  1171. {
  1172. "m_SGVersion": 0,
  1173. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1174. "m_ObjectId": "a6d7bf8af2b640519805dfb5f45907cf",
  1175. "m_Title": "",
  1176. "m_Content": "In this example, the Sine of time gives us a value that oscilates back and forth between 1 and -1.",
  1177. "m_TextSize": 0,
  1178. "m_Theme": 0,
  1179. "m_Position": {
  1180. "serializedVersion": "2",
  1181. "x": -610.5000610351563,
  1182. "y": 335.5000305175781,
  1183. "width": 200.00003051757813,
  1184. "height": 100.0
  1185. },
  1186. "m_Group": {
  1187. "m_Id": "694a2eb050ef4d14bfe9cbd148f50155"
  1188. }
  1189. }
  1190. {
  1191. "m_SGVersion": 0,
  1192. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1193. "m_ObjectId": "aaee8e7380ca49f9a0a1f503d3cea304",
  1194. "m_Id": 2,
  1195. "m_DisplayName": "Cosine Time",
  1196. "m_SlotType": 1,
  1197. "m_Hidden": false,
  1198. "m_ShaderOutputName": "Cosine Time",
  1199. "m_StageCapability": 3,
  1200. "m_Value": 0.0,
  1201. "m_DefaultValue": 0.0,
  1202. "m_Labels": []
  1203. }
  1204. {
  1205. "m_SGVersion": 0,
  1206. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  1207. "m_ObjectId": "afb28065d6e841dfa39ebde7c7916239",
  1208. "m_Distortion": false,
  1209. "m_DistortionMode": 0,
  1210. "m_DistortionDepthTest": true,
  1211. "m_AddPrecomputedVelocity": false,
  1212. "m_TransparentWritesMotionVec": false,
  1213. "m_DepthOffset": false,
  1214. "m_ConservativeDepthOffset": false,
  1215. "m_TransparencyFog": true,
  1216. "m_AlphaTestShadow": false,
  1217. "m_BackThenFrontRendering": false,
  1218. "m_TransparentDepthPrepass": false,
  1219. "m_TransparentDepthPostpass": false,
  1220. "m_TransparentPerPixelSorting": false,
  1221. "m_SupportLodCrossFade": false
  1222. }
  1223. {
  1224. "m_SGVersion": 0,
  1225. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  1226. "m_ObjectId": "b6721192227d4a898d0bd581c5ed4616",
  1227. "m_EnableShadowMatte": false,
  1228. "m_DistortionOnly": false
  1229. }
  1230. {
  1231. "m_SGVersion": 0,
  1232. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  1233. "m_ObjectId": "b6b6a366edcb46fd83582b1e74da368c"
  1234. }
  1235. {
  1236. "m_SGVersion": 2,
  1237. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  1238. "m_ObjectId": "b9430ceb950842f08198fce17a640911",
  1239. "m_ActiveSubTarget": {
  1240. "m_Id": "0b16dce6e60646beb1a5a7d329e21e82"
  1241. },
  1242. "m_AllowMaterialOverride": false,
  1243. "m_SurfaceType": 0,
  1244. "m_ZWriteControl": 0,
  1245. "m_ZTestMode": 4,
  1246. "m_AlphaMode": 0,
  1247. "m_RenderFace": 2,
  1248. "m_AlphaClip": false,
  1249. "m_CustomEditorGUI": ""
  1250. }
  1251. {
  1252. "m_SGVersion": 2,
  1253. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  1254. "m_ObjectId": "ba7bc4c281d946d39891ce9ddd6bde8a"
  1255. }
  1256. {
  1257. "m_SGVersion": 0,
  1258. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1259. "m_ObjectId": "c61da8023a8d480e8bc99ba2abe0a993",
  1260. "m_Id": 1,
  1261. "m_DisplayName": "Out",
  1262. "m_SlotType": 1,
  1263. "m_Hidden": false,
  1264. "m_ShaderOutputName": "Out",
  1265. "m_StageCapability": 3,
  1266. "m_Value": {
  1267. "x": 0.0,
  1268. "y": 0.0,
  1269. "z": 0.0,
  1270. "w": 0.0
  1271. },
  1272. "m_DefaultValue": {
  1273. "x": 0.0,
  1274. "y": 0.0,
  1275. "z": 0.0,
  1276. "w": 0.0
  1277. }
  1278. }
  1279. {
  1280. "m_SGVersion": 0,
  1281. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1282. "m_ObjectId": "ceada34864b342c89345efa3201feb7a",
  1283. "m_Id": 1,
  1284. "m_DisplayName": "Out",
  1285. "m_SlotType": 1,
  1286. "m_Hidden": false,
  1287. "m_ShaderOutputName": "Out",
  1288. "m_StageCapability": 3,
  1289. "m_Value": {
  1290. "x": 0.0,
  1291. "y": 0.0,
  1292. "z": 0.0,
  1293. "w": 0.0
  1294. },
  1295. "m_DefaultValue": {
  1296. "x": 0.0,
  1297. "y": 0.0,
  1298. "z": 0.0,
  1299. "w": 0.0
  1300. }
  1301. }
  1302. {
  1303. "m_SGVersion": 0,
  1304. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1305. "m_ObjectId": "d74d5e1e691a4ef6b68160b68abf4df3",
  1306. "m_Id": 0,
  1307. "m_DisplayName": "Alpha",
  1308. "m_SlotType": 0,
  1309. "m_Hidden": false,
  1310. "m_ShaderOutputName": "Alpha",
  1311. "m_StageCapability": 2,
  1312. "m_Value": 1.0,
  1313. "m_DefaultValue": 1.0,
  1314. "m_Labels": []
  1315. }
  1316. {
  1317. "m_SGVersion": 0,
  1318. "m_Type": "UnityEditor.ShaderGraph.TimeNode",
  1319. "m_ObjectId": "e02866e1cf0a4249bce499152394935d",
  1320. "m_Group": {
  1321. "m_Id": "694a2eb050ef4d14bfe9cbd148f50155"
  1322. },
  1323. "m_Name": "Time",
  1324. "m_DrawState": {
  1325. "m_Expanded": false,
  1326. "m_Position": {
  1327. "serializedVersion": "2",
  1328. "x": -718.5001220703125,
  1329. "y": 56.500038146972659,
  1330. "width": 79.00006103515625,
  1331. "height": 76.99999237060547
  1332. }
  1333. },
  1334. "m_Slots": [
  1335. {
  1336. "m_Id": "a19b000549624fbbb063b6f29d5311b8"
  1337. },
  1338. {
  1339. "m_Id": "904fb48e427a4649aec48d12a5be1d8f"
  1340. },
  1341. {
  1342. "m_Id": "aaee8e7380ca49f9a0a1f503d3cea304"
  1343. },
  1344. {
  1345. "m_Id": "01df67e1f6dc47e290b4dcf44015bdb8"
  1346. },
  1347. {
  1348. "m_Id": "291e1fa75c304d03a7f2be53c85787bb"
  1349. }
  1350. ],
  1351. "synonyms": [],
  1352. "m_Precision": 0,
  1353. "m_PreviewExpanded": false,
  1354. "m_DismissedVersion": 0,
  1355. "m_PreviewMode": 0,
  1356. "m_CustomColors": {
  1357. "m_SerializableColors": []
  1358. }
  1359. }
  1360. {
  1361. "m_SGVersion": 0,
  1362. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1363. "m_ObjectId": "e21eec8e25454aa393aad0d2f4c19ff3",
  1364. "m_Title": "",
  1365. "m_Content": "The dot product between the light direction and the normal gives us 1 when the two vectors are pointed the same direction, but -1 when they're pointed in opposite directions.",
  1366. "m_TextSize": 0,
  1367. "m_Theme": 0,
  1368. "m_Position": {
  1369. "serializedVersion": "2",
  1370. "x": -1204.5001220703125,
  1371. "y": 387.5000305175781,
  1372. "width": 200.00006103515626,
  1373. "height": 102.00003051757813
  1374. },
  1375. "m_Group": {
  1376. "m_Id": "75ba5105445e4889b8e61d33dfaf696e"
  1377. }
  1378. }
  1379. {
  1380. "m_SGVersion": 0,
  1381. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1382. "m_ObjectId": "ea6873c64bae491abd856680a6b88240",
  1383. "m_Id": 1,
  1384. "m_DisplayName": "Out",
  1385. "m_SlotType": 1,
  1386. "m_Hidden": false,
  1387. "m_ShaderOutputName": "Out",
  1388. "m_StageCapability": 3,
  1389. "m_Value": {
  1390. "x": 0.0,
  1391. "y": 0.0,
  1392. "z": 0.0,
  1393. "w": 0.0
  1394. },
  1395. "m_DefaultValue": {
  1396. "x": 0.0,
  1397. "y": 0.0,
  1398. "z": 0.0,
  1399. "w": 0.0
  1400. }
  1401. }
  1402. {
  1403. "m_SGVersion": 0,
  1404. "m_Type": "UnityEditor.ShaderGraph.DotProductNode",
  1405. "m_ObjectId": "ee684125d72345988b8fe7896a23092c",
  1406. "m_Group": {
  1407. "m_Id": "75ba5105445e4889b8e61d33dfaf696e"
  1408. },
  1409. "m_Name": "Dot Product",
  1410. "m_DrawState": {
  1411. "m_Expanded": true,
  1412. "m_Position": {
  1413. "serializedVersion": "2",
  1414. "x": -1209.5001220703125,
  1415. "y": 82.50000762939453,
  1416. "width": 208.00006103515626,
  1417. "height": 302.00006103515627
  1418. }
  1419. },
  1420. "m_Slots": [
  1421. {
  1422. "m_Id": "64923652c7004846877ac42b87b2cf39"
  1423. },
  1424. {
  1425. "m_Id": "4a3a5c4f1f494af6815a1694c001d179"
  1426. },
  1427. {
  1428. "m_Id": "4fd89a6f55e44ea78644ba50d4919084"
  1429. }
  1430. ],
  1431. "synonyms": [
  1432. "scalar product"
  1433. ],
  1434. "m_Precision": 0,
  1435. "m_PreviewExpanded": true,
  1436. "m_DismissedVersion": 0,
  1437. "m_PreviewMode": 0,
  1438. "m_CustomColors": {
  1439. "m_SerializableColors": []
  1440. }
  1441. }
  1442. {
  1443. "m_SGVersion": 0,
  1444. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  1445. "m_ObjectId": "f8303fd091b74bcc8e6dc818b5e48fb1",
  1446. "m_Id": 0,
  1447. "m_DisplayName": "Tangent",
  1448. "m_SlotType": 0,
  1449. "m_Hidden": false,
  1450. "m_ShaderOutputName": "Tangent",
  1451. "m_StageCapability": 1,
  1452. "m_Value": {
  1453. "x": 0.0,
  1454. "y": 0.0,
  1455. "z": 0.0
  1456. },
  1457. "m_DefaultValue": {
  1458. "x": 0.0,
  1459. "y": 0.0,
  1460. "z": 0.0
  1461. },
  1462. "m_Labels": [],
  1463. "m_Space": 0
  1464. }