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

CrossProduct.shadergraph 28KB

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