No Description
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.

DDY.shadergraph 53KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "a6a2c084b83c48dd8da3ccd3c87a8680",
  5. "m_Properties": [],
  6. "m_Keywords": [],
  7. "m_Dropdowns": [],
  8. "m_CategoryData": [
  9. {
  10. "m_Id": "fe4c3cc527364c06b551d113c4e0fb2f"
  11. }
  12. ],
  13. "m_Nodes": [
  14. {
  15. "m_Id": "60b69faeaa0b4a2bb8158bfebe048214"
  16. },
  17. {
  18. "m_Id": "45f91cf7fd434f8a91c5ef6ff7fd6043"
  19. },
  20. {
  21. "m_Id": "e05ec86b78a747e982591b586d73fa7f"
  22. },
  23. {
  24. "m_Id": "d1e9246b2c0c441786c33e492c72e7d8"
  25. },
  26. {
  27. "m_Id": "502f9eb8b4d54c549f374a170bf3c6c5"
  28. },
  29. {
  30. "m_Id": "d5750300ed654bab86d8bc4c2a237d5a"
  31. },
  32. {
  33. "m_Id": "7d60ed2d45894499bfd63a62a3480828"
  34. },
  35. {
  36. "m_Id": "1d29654110be4cb0bb650a6622f5d732"
  37. },
  38. {
  39. "m_Id": "657f1cf219a94cd7a2310cb268b68f65"
  40. },
  41. {
  42. "m_Id": "c8f8e7f6846d46b196fb24d3efa0cf0c"
  43. },
  44. {
  45. "m_Id": "6af27eea542940ca93202993596f97cc"
  46. },
  47. {
  48. "m_Id": "5709936673d54dc087a5dc83b02f67f7"
  49. },
  50. {
  51. "m_Id": "ddc7448660f345db93a17963f1c89d4b"
  52. },
  53. {
  54. "m_Id": "4b738cc89e5545ec9176eb648c74cdaf"
  55. },
  56. {
  57. "m_Id": "7ec8fc34c10b45769dfba44fa288e347"
  58. },
  59. {
  60. "m_Id": "760c77d738124ec0b1ab818ce52f20af"
  61. },
  62. {
  63. "m_Id": "0727670469e04b478aca47089e0f5fc1"
  64. },
  65. {
  66. "m_Id": "d22dcef498794ebcb87bf13ecbc76adf"
  67. }
  68. ],
  69. "m_GroupDatas": [
  70. {
  71. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  72. },
  73. {
  74. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  75. }
  76. ],
  77. "m_StickyNoteDatas": [
  78. {
  79. "m_Id": "aa110b4d7c0b482eaed378ff91dbd031"
  80. },
  81. {
  82. "m_Id": "f6e28907f1984a54bb766b660adddbd6"
  83. },
  84. {
  85. "m_Id": "3792d264843e49b2a45b266a0c9f30e5"
  86. },
  87. {
  88. "m_Id": "858faf9f38fb4cbbb5b37f9bd006bc9b"
  89. },
  90. {
  91. "m_Id": "14a4a7ad6ec74a649a3185d23e7ee435"
  92. },
  93. {
  94. "m_Id": "c3880d0b64a44c279e66d77307533054"
  95. },
  96. {
  97. "m_Id": "a5281e60769f4e56b27bed6767caff1b"
  98. }
  99. ],
  100. "m_Edges": [
  101. {
  102. "m_OutputSlot": {
  103. "m_Node": {
  104. "m_Id": "1d29654110be4cb0bb650a6622f5d732"
  105. },
  106. "m_SlotId": 2
  107. },
  108. "m_InputSlot": {
  109. "m_Node": {
  110. "m_Id": "657f1cf219a94cd7a2310cb268b68f65"
  111. },
  112. "m_SlotId": 0
  113. }
  114. },
  115. {
  116. "m_OutputSlot": {
  117. "m_Node": {
  118. "m_Id": "4b738cc89e5545ec9176eb648c74cdaf"
  119. },
  120. "m_SlotId": 1
  121. },
  122. "m_InputSlot": {
  123. "m_Node": {
  124. "m_Id": "5709936673d54dc087a5dc83b02f67f7"
  125. },
  126. "m_SlotId": 10
  127. }
  128. },
  129. {
  130. "m_OutputSlot": {
  131. "m_Node": {
  132. "m_Id": "502f9eb8b4d54c549f374a170bf3c6c5"
  133. },
  134. "m_SlotId": 0
  135. },
  136. "m_InputSlot": {
  137. "m_Node": {
  138. "m_Id": "7d60ed2d45894499bfd63a62a3480828"
  139. },
  140. "m_SlotId": 0
  141. }
  142. },
  143. {
  144. "m_OutputSlot": {
  145. "m_Node": {
  146. "m_Id": "502f9eb8b4d54c549f374a170bf3c6c5"
  147. },
  148. "m_SlotId": 0
  149. },
  150. "m_InputSlot": {
  151. "m_Node": {
  152. "m_Id": "d5750300ed654bab86d8bc4c2a237d5a"
  153. },
  154. "m_SlotId": 0
  155. }
  156. },
  157. {
  158. "m_OutputSlot": {
  159. "m_Node": {
  160. "m_Id": "657f1cf219a94cd7a2310cb268b68f65"
  161. },
  162. "m_SlotId": 1
  163. },
  164. "m_InputSlot": {
  165. "m_Node": {
  166. "m_Id": "c8f8e7f6846d46b196fb24d3efa0cf0c"
  167. },
  168. "m_SlotId": 0
  169. }
  170. },
  171. {
  172. "m_OutputSlot": {
  173. "m_Node": {
  174. "m_Id": "760c77d738124ec0b1ab818ce52f20af"
  175. },
  176. "m_SlotId": 4
  177. },
  178. "m_InputSlot": {
  179. "m_Node": {
  180. "m_Id": "5709936673d54dc087a5dc83b02f67f7"
  181. },
  182. "m_SlotId": 2
  183. }
  184. },
  185. {
  186. "m_OutputSlot": {
  187. "m_Node": {
  188. "m_Id": "7d60ed2d45894499bfd63a62a3480828"
  189. },
  190. "m_SlotId": 1
  191. },
  192. "m_InputSlot": {
  193. "m_Node": {
  194. "m_Id": "1d29654110be4cb0bb650a6622f5d732"
  195. },
  196. "m_SlotId": 0
  197. }
  198. },
  199. {
  200. "m_OutputSlot": {
  201. "m_Node": {
  202. "m_Id": "7ec8fc34c10b45769dfba44fa288e347"
  203. },
  204. "m_SlotId": 1
  205. },
  206. "m_InputSlot": {
  207. "m_Node": {
  208. "m_Id": "5709936673d54dc087a5dc83b02f67f7"
  209. },
  210. "m_SlotId": 11
  211. }
  212. },
  213. {
  214. "m_OutputSlot": {
  215. "m_Node": {
  216. "m_Id": "d5750300ed654bab86d8bc4c2a237d5a"
  217. },
  218. "m_SlotId": 1
  219. },
  220. "m_InputSlot": {
  221. "m_Node": {
  222. "m_Id": "1d29654110be4cb0bb650a6622f5d732"
  223. },
  224. "m_SlotId": 1
  225. }
  226. },
  227. {
  228. "m_OutputSlot": {
  229. "m_Node": {
  230. "m_Id": "ddc7448660f345db93a17963f1c89d4b"
  231. },
  232. "m_SlotId": 0
  233. },
  234. "m_InputSlot": {
  235. "m_Node": {
  236. "m_Id": "4b738cc89e5545ec9176eb648c74cdaf"
  237. },
  238. "m_SlotId": 0
  239. }
  240. },
  241. {
  242. "m_OutputSlot": {
  243. "m_Node": {
  244. "m_Id": "ddc7448660f345db93a17963f1c89d4b"
  245. },
  246. "m_SlotId": 0
  247. },
  248. "m_InputSlot": {
  249. "m_Node": {
  250. "m_Id": "7ec8fc34c10b45769dfba44fa288e347"
  251. },
  252. "m_SlotId": 0
  253. }
  254. }
  255. ],
  256. "m_VertexContext": {
  257. "m_Position": {
  258. "x": 0.0,
  259. "y": 0.0
  260. },
  261. "m_Blocks": [
  262. {
  263. "m_Id": "60b69faeaa0b4a2bb8158bfebe048214"
  264. },
  265. {
  266. "m_Id": "45f91cf7fd434f8a91c5ef6ff7fd6043"
  267. },
  268. {
  269. "m_Id": "e05ec86b78a747e982591b586d73fa7f"
  270. }
  271. ]
  272. },
  273. "m_FragmentContext": {
  274. "m_Position": {
  275. "x": 0.0,
  276. "y": 200.0
  277. },
  278. "m_Blocks": [
  279. {
  280. "m_Id": "d1e9246b2c0c441786c33e492c72e7d8"
  281. },
  282. {
  283. "m_Id": "0727670469e04b478aca47089e0f5fc1"
  284. },
  285. {
  286. "m_Id": "d22dcef498794ebcb87bf13ecbc76adf"
  287. }
  288. ]
  289. },
  290. "m_PreviewData": {
  291. "serializedMesh": {
  292. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  293. "m_Guid": ""
  294. },
  295. "preventRotation": false
  296. },
  297. "m_Path": "Shader Graphs",
  298. "m_GraphPrecision": 1,
  299. "m_PreviewMode": 2,
  300. "m_OutputNode": {
  301. "m_Id": ""
  302. },
  303. "m_ActiveTargets": [
  304. {
  305. "m_Id": "2bc7a627f0e348898dee024ea701938b"
  306. },
  307. {
  308. "m_Id": "06c4c5168e9c47258ce594da7643fd3a"
  309. },
  310. {
  311. "m_Id": "ee1e4c88cb064cf88766bfda4fb0106b"
  312. }
  313. ]
  314. }
  315. {
  316. "m_SGVersion": 0,
  317. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  318. "m_ObjectId": "03e21359f2304ae892036fa830a2e2be",
  319. "m_Id": 1,
  320. "m_DisplayName": "B",
  321. "m_SlotType": 0,
  322. "m_Hidden": false,
  323. "m_ShaderOutputName": "B",
  324. "m_StageCapability": 3,
  325. "m_Value": {
  326. "x": 0.0,
  327. "y": 1.0,
  328. "z": 0.0
  329. },
  330. "m_DefaultValue": {
  331. "x": 0.0,
  332. "y": 0.0,
  333. "z": 0.0
  334. },
  335. "m_Labels": []
  336. }
  337. {
  338. "m_SGVersion": 0,
  339. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  340. "m_ObjectId": "04f5cfd7130c4e0ea45ccbf12e362151",
  341. "m_Id": 0,
  342. "m_DisplayName": "In",
  343. "m_SlotType": 0,
  344. "m_Hidden": false,
  345. "m_ShaderOutputName": "In",
  346. "m_StageCapability": 3,
  347. "m_Value": {
  348. "x": 0.0,
  349. "y": 0.0,
  350. "z": 0.0,
  351. "w": 0.0
  352. },
  353. "m_DefaultValue": {
  354. "x": 0.0,
  355. "y": 0.0,
  356. "z": 0.0,
  357. "w": 0.0
  358. }
  359. }
  360. {
  361. "m_SGVersion": 0,
  362. "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
  363. "m_ObjectId": "05746b51af734863b728d28236d8e2c7",
  364. "m_Id": 4,
  365. "m_DisplayName": "Out",
  366. "m_SlotType": 1,
  367. "m_Hidden": false,
  368. "m_ShaderOutputName": "Out",
  369. "m_StageCapability": 3,
  370. "m_Value": {
  371. "x": 0.0,
  372. "y": 0.0
  373. },
  374. "m_DefaultValue": {
  375. "x": 0.0,
  376. "y": 0.0
  377. },
  378. "m_Labels": []
  379. }
  380. {
  381. "m_SGVersion": 0,
  382. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  383. "m_ObjectId": "06c4c5168e9c47258ce594da7643fd3a",
  384. "m_ActiveSubTarget": {
  385. "m_Id": "eca9a1892f5f44619758a8a8f8688630"
  386. },
  387. "m_Datas": [
  388. {
  389. "m_Id": "54f18cfc71e14a4984aa0f2a344d84eb"
  390. },
  391. {
  392. "m_Id": "8baa8a4e83434c26836a078408b015b9"
  393. },
  394. {
  395. "m_Id": "8d23bdc81d6841b49626e72f5bc59ab1"
  396. }
  397. ],
  398. "m_CustomEditorGUI": "",
  399. "m_SupportVFX": false,
  400. "m_SupportLineRendering": false
  401. }
  402. {
  403. "m_SGVersion": 0,
  404. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  405. "m_ObjectId": "0727670469e04b478aca47089e0f5fc1",
  406. "m_Group": {
  407. "m_Id": ""
  408. },
  409. "m_Name": "SurfaceDescription.Emission",
  410. "m_DrawState": {
  411. "m_Expanded": true,
  412. "m_Position": {
  413. "serializedVersion": "2",
  414. "x": 0.0,
  415. "y": 0.0,
  416. "width": 0.0,
  417. "height": 0.0
  418. }
  419. },
  420. "m_Slots": [
  421. {
  422. "m_Id": "842fb949ee2c46ee971e3165d52e7320"
  423. }
  424. ],
  425. "synonyms": [],
  426. "m_Precision": 0,
  427. "m_PreviewExpanded": true,
  428. "m_DismissedVersion": 0,
  429. "m_PreviewMode": 0,
  430. "m_CustomColors": {
  431. "m_SerializableColors": []
  432. },
  433. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  434. }
  435. {
  436. "m_SGVersion": 0,
  437. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  438. "m_ObjectId": "0c3364d3ed664b8ab749033b6f3cebfb",
  439. "m_Id": 7,
  440. "m_DisplayName": "A",
  441. "m_SlotType": 1,
  442. "m_Hidden": false,
  443. "m_ShaderOutputName": "A",
  444. "m_StageCapability": 3,
  445. "m_Value": 0.0,
  446. "m_DefaultValue": 0.0,
  447. "m_Labels": []
  448. }
  449. {
  450. "m_SGVersion": 0,
  451. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  452. "m_ObjectId": "0c36a0cb6f0540d19e52e321f3ce5947"
  453. }
  454. {
  455. "m_SGVersion": 0,
  456. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  457. "m_ObjectId": "14a4a7ad6ec74a649a3185d23e7ee435",
  458. "m_Title": "",
  459. "m_Content": "This illustrates how to create Face Normals using DDX and DDY. This is useful for meshes where you've altered the vertex normals - like you might for foliage - but you still need to use the real normal for some things.",
  460. "m_TextSize": 0,
  461. "m_Theme": 0,
  462. "m_Position": {
  463. "serializedVersion": "2",
  464. "x": -1946.5001220703125,
  465. "y": 407.0000305175781,
  466. "width": 200.0,
  467. "height": 118.50003051757813
  468. },
  469. "m_Group": {
  470. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  471. }
  472. }
  473. {
  474. "m_SGVersion": 0,
  475. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  476. "m_ObjectId": "162162b5d3fa403393ac21e67c0d6529",
  477. "m_Id": 1,
  478. "m_DisplayName": "Out",
  479. "m_SlotType": 1,
  480. "m_Hidden": false,
  481. "m_ShaderOutputName": "Out",
  482. "m_StageCapability": 2,
  483. "m_Value": {
  484. "x": 0.0,
  485. "y": 0.0,
  486. "z": 0.0,
  487. "w": 0.0
  488. },
  489. "m_DefaultValue": {
  490. "x": 0.0,
  491. "y": 0.0,
  492. "z": 0.0,
  493. "w": 0.0
  494. }
  495. }
  496. {
  497. "m_SGVersion": 0,
  498. "m_Type": "UnityEditor.ShaderGraph.CrossProductNode",
  499. "m_ObjectId": "1d29654110be4cb0bb650a6622f5d732",
  500. "m_Group": {
  501. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  502. },
  503. "m_Name": "Cross Product",
  504. "m_DrawState": {
  505. "m_Expanded": true,
  506. "m_Position": {
  507. "serializedVersion": "2",
  508. "x": -1529.000244140625,
  509. "y": 81.99996948242188,
  510. "width": 129.5,
  511. "height": 118.0
  512. }
  513. },
  514. "m_Slots": [
  515. {
  516. "m_Id": "93355243d2cb4a958865044033e8ebd7"
  517. },
  518. {
  519. "m_Id": "03e21359f2304ae892036fa830a2e2be"
  520. },
  521. {
  522. "m_Id": "a915288d689b4ea1ae429469c9a34c38"
  523. }
  524. ],
  525. "synonyms": [
  526. "perpendicular"
  527. ],
  528. "m_Precision": 0,
  529. "m_PreviewExpanded": false,
  530. "m_DismissedVersion": 0,
  531. "m_PreviewMode": 0,
  532. "m_CustomColors": {
  533. "m_SerializableColors": []
  534. }
  535. }
  536. {
  537. "m_SGVersion": 0,
  538. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  539. "m_ObjectId": "1e6fe2c5e7834a709519e5d31d54cbe1",
  540. "m_Id": 1,
  541. "m_DisplayName": "Out",
  542. "m_SlotType": 1,
  543. "m_Hidden": false,
  544. "m_ShaderOutputName": "Out",
  545. "m_StageCapability": 3,
  546. "m_Value": {
  547. "x": 0.0,
  548. "y": 0.0,
  549. "z": 0.0,
  550. "w": 0.0
  551. },
  552. "m_DefaultValue": {
  553. "x": 0.0,
  554. "y": 0.0,
  555. "z": 0.0,
  556. "w": 0.0
  557. }
  558. }
  559. {
  560. "m_SGVersion": 0,
  561. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  562. "m_ObjectId": "2505d721f0514a0e9afa9633771a0692",
  563. "m_Id": 1,
  564. "m_DisplayName": "Out",
  565. "m_SlotType": 1,
  566. "m_Hidden": false,
  567. "m_ShaderOutputName": "Out",
  568. "m_StageCapability": 3,
  569. "m_Value": {
  570. "x": 0.0,
  571. "y": 0.0,
  572. "z": 0.0
  573. },
  574. "m_DefaultValue": {
  575. "x": 0.0,
  576. "y": 0.0,
  577. "z": 0.0
  578. },
  579. "m_Labels": []
  580. }
  581. {
  582. "m_SGVersion": 0,
  583. "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
  584. "m_ObjectId": "27b530bdc2de483886c08ab551dff173",
  585. "m_Id": 11,
  586. "m_DisplayName": "DDY",
  587. "m_SlotType": 0,
  588. "m_Hidden": false,
  589. "m_ShaderOutputName": "DDY",
  590. "m_StageCapability": 3,
  591. "m_Value": {
  592. "x": 0.0,
  593. "y": 0.0
  594. },
  595. "m_DefaultValue": {
  596. "x": 0.0,
  597. "y": 0.0
  598. },
  599. "m_Labels": []
  600. }
  601. {
  602. "m_SGVersion": 2,
  603. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  604. "m_ObjectId": "2bc7a627f0e348898dee024ea701938b",
  605. "m_ActiveSubTarget": {
  606. "m_Id": "d0335300a26b40da9d292c9dee62ba76"
  607. },
  608. "m_AllowMaterialOverride": false,
  609. "m_SurfaceType": 0,
  610. "m_ZWriteControl": 0,
  611. "m_ZTestMode": 4,
  612. "m_AlphaMode": 0,
  613. "m_RenderFace": 2,
  614. "m_AlphaClip": false,
  615. "m_CustomEditorGUI": ""
  616. }
  617. {
  618. "m_SGVersion": 2,
  619. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  620. "m_ObjectId": "316c1535eded4ac9bf05c74ad5c2fb3d"
  621. }
  622. {
  623. "m_SGVersion": 0,
  624. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  625. "m_ObjectId": "31b7e95a3bb94710a322c7c1a4481b4e",
  626. "m_Id": 0,
  627. "m_DisplayName": "Out",
  628. "m_SlotType": 1,
  629. "m_Hidden": false,
  630. "m_ShaderOutputName": "Out",
  631. "m_StageCapability": 3,
  632. "m_Value": {
  633. "x": 0.0,
  634. "y": 0.0,
  635. "z": 0.0,
  636. "w": 0.0
  637. },
  638. "m_DefaultValue": {
  639. "x": 0.0,
  640. "y": 0.0,
  641. "z": 0.0,
  642. "w": 0.0
  643. },
  644. "m_Labels": []
  645. }
  646. {
  647. "m_SGVersion": 0,
  648. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  649. "m_ObjectId": "3792d264843e49b2a45b266a0c9f30e5",
  650. "m_Title": "",
  651. "m_Content": "Doing a cross product between those two slope vectors creates a surface normal. Notice that it's faceted. This is because we're not using the smoothed vertex normals, but instead, we're generating the normals purely from the shape of the geometry.",
  652. "m_TextSize": 0,
  653. "m_Theme": 0,
  654. "m_Position": {
  655. "serializedVersion": "2",
  656. "x": -1488.0001220703125,
  657. "y": 367.5000305175781,
  658. "width": 200.0,
  659. "height": 125.00003051757813
  660. },
  661. "m_Group": {
  662. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  663. }
  664. }
  665. {
  666. "m_SGVersion": 0,
  667. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  668. "m_ObjectId": "45f91cf7fd434f8a91c5ef6ff7fd6043",
  669. "m_Group": {
  670. "m_Id": ""
  671. },
  672. "m_Name": "VertexDescription.Normal",
  673. "m_DrawState": {
  674. "m_Expanded": true,
  675. "m_Position": {
  676. "serializedVersion": "2",
  677. "x": 0.0,
  678. "y": 0.0,
  679. "width": 0.0,
  680. "height": 0.0
  681. }
  682. },
  683. "m_Slots": [
  684. {
  685. "m_Id": "8187c346069145e3bfbf5e8d27025cf9"
  686. }
  687. ],
  688. "synonyms": [],
  689. "m_Precision": 0,
  690. "m_PreviewExpanded": true,
  691. "m_DismissedVersion": 0,
  692. "m_PreviewMode": 0,
  693. "m_CustomColors": {
  694. "m_SerializableColors": []
  695. },
  696. "m_SerializedDescriptor": "VertexDescription.Normal"
  697. }
  698. {
  699. "m_SGVersion": 0,
  700. "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
  701. "m_ObjectId": "465b07be7f3f421e80358e1a381b3cb8",
  702. "m_Id": 0,
  703. "m_DisplayName": "UV",
  704. "m_SlotType": 0,
  705. "m_Hidden": false,
  706. "m_ShaderOutputName": "UV",
  707. "m_StageCapability": 3,
  708. "m_Value": {
  709. "x": 0.0,
  710. "y": 0.0
  711. },
  712. "m_DefaultValue": {
  713. "x": 0.0,
  714. "y": 0.0
  715. },
  716. "m_Labels": [],
  717. "m_Channel": 0
  718. }
  719. {
  720. "m_SGVersion": 0,
  721. "m_Type": "UnityEditor.ShaderGraph.DDXNode",
  722. "m_ObjectId": "4b738cc89e5545ec9176eb648c74cdaf",
  723. "m_Group": {
  724. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  725. },
  726. "m_Name": "DDX",
  727. "m_DrawState": {
  728. "m_Expanded": true,
  729. "m_Position": {
  730. "serializedVersion": "2",
  731. "x": -706.5000610351563,
  732. "y": 146.50001525878907,
  733. "width": 131.5,
  734. "height": 94.0
  735. }
  736. },
  737. "m_Slots": [
  738. {
  739. "m_Id": "04f5cfd7130c4e0ea45ccbf12e362151"
  740. },
  741. {
  742. "m_Id": "b21df695904d4f96a28ddfdf30e3d391"
  743. }
  744. ],
  745. "synonyms": [
  746. "derivative"
  747. ],
  748. "m_Precision": 0,
  749. "m_PreviewExpanded": false,
  750. "m_DismissedVersion": 0,
  751. "m_PreviewMode": 0,
  752. "m_CustomColors": {
  753. "m_SerializableColors": []
  754. }
  755. }
  756. {
  757. "m_SGVersion": 1,
  758. "m_Type": "UnityEditor.ShaderGraph.PositionNode",
  759. "m_ObjectId": "502f9eb8b4d54c549f374a170bf3c6c5",
  760. "m_Group": {
  761. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  762. },
  763. "m_Name": "Position",
  764. "m_DrawState": {
  765. "m_Expanded": true,
  766. "m_Position": {
  767. "serializedVersion": "2",
  768. "x": -1944.000244140625,
  769. "y": 91.0000228881836,
  770. "width": 206.0,
  771. "height": 130.5
  772. }
  773. },
  774. "m_Slots": [
  775. {
  776. "m_Id": "65ee3446f8ca4b74a7e93f35ccc30c0e"
  777. }
  778. ],
  779. "synonyms": [
  780. "location"
  781. ],
  782. "m_Precision": 1,
  783. "m_PreviewExpanded": false,
  784. "m_DismissedVersion": 0,
  785. "m_PreviewMode": 2,
  786. "m_CustomColors": {
  787. "m_SerializableColors": []
  788. },
  789. "m_Space": 2,
  790. "m_PositionSource": 0
  791. }
  792. {
  793. "m_SGVersion": 0,
  794. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  795. "m_ObjectId": "54f18cfc71e14a4984aa0f2a344d84eb",
  796. "m_Distortion": false,
  797. "m_DistortionMode": 0,
  798. "m_DistortionDepthTest": true,
  799. "m_AddPrecomputedVelocity": false,
  800. "m_TransparentWritesMotionVec": false,
  801. "m_DepthOffset": false,
  802. "m_ConservativeDepthOffset": false,
  803. "m_TransparencyFog": true,
  804. "m_AlphaTestShadow": false,
  805. "m_BackThenFrontRendering": false,
  806. "m_TransparentDepthPrepass": false,
  807. "m_TransparentDepthPostpass": false,
  808. "m_TransparentPerPixelSorting": false,
  809. "m_SupportLodCrossFade": false
  810. }
  811. {
  812. "m_SGVersion": 0,
  813. "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
  814. "m_ObjectId": "5709936673d54dc087a5dc83b02f67f7",
  815. "m_Group": {
  816. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  817. },
  818. "m_Name": "Sample Texture 2D",
  819. "m_DrawState": {
  820. "m_Expanded": false,
  821. "m_Position": {
  822. "serializedVersion": "2",
  823. "x": -486.5,
  824. "y": 47.5,
  825. "width": 208.0,
  826. "height": 386.0
  827. }
  828. },
  829. "m_Slots": [
  830. {
  831. "m_Id": "ffcdf4d37c2846b69b87060346f00d86"
  832. },
  833. {
  834. "m_Id": "adcb591370fd4b33ae74a78c7ec87d25"
  835. },
  836. {
  837. "m_Id": "b1624783e7c84effadebc8802e9697f6"
  838. },
  839. {
  840. "m_Id": "6f9b0b7077b34668afa8aecf2252f5d6"
  841. },
  842. {
  843. "m_Id": "0c3364d3ed664b8ab749033b6f3cebfb"
  844. },
  845. {
  846. "m_Id": "a4fdbaeded03451f9d884639b74eea7f"
  847. },
  848. {
  849. "m_Id": "8e14d3b6cd0a407f8dbf54eedea2b0bd"
  850. },
  851. {
  852. "m_Id": "9745b326cd5442da8183b9f334737ae6"
  853. },
  854. {
  855. "m_Id": "b527a15f0cf14d1ab6851ae3bfa69050"
  856. },
  857. {
  858. "m_Id": "27b530bdc2de483886c08ab551dff173"
  859. }
  860. ],
  861. "synonyms": [
  862. "tex2d"
  863. ],
  864. "m_Precision": 0,
  865. "m_PreviewExpanded": true,
  866. "m_DismissedVersion": 0,
  867. "m_PreviewMode": 2,
  868. "m_CustomColors": {
  869. "m_SerializableColors": []
  870. },
  871. "m_TextureType": 0,
  872. "m_NormalMapSpace": 0,
  873. "m_EnableGlobalMipBias": true,
  874. "m_MipSamplingMode": 2
  875. }
  876. {
  877. "m_SGVersion": 0,
  878. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  879. "m_ObjectId": "60b69faeaa0b4a2bb8158bfebe048214",
  880. "m_Group": {
  881. "m_Id": ""
  882. },
  883. "m_Name": "VertexDescription.Position",
  884. "m_DrawState": {
  885. "m_Expanded": true,
  886. "m_Position": {
  887. "serializedVersion": "2",
  888. "x": 0.0,
  889. "y": 0.0,
  890. "width": 0.0,
  891. "height": 0.0
  892. }
  893. },
  894. "m_Slots": [
  895. {
  896. "m_Id": "efdf4183f23b467ca4bd049122142568"
  897. }
  898. ],
  899. "synonyms": [],
  900. "m_Precision": 0,
  901. "m_PreviewExpanded": true,
  902. "m_DismissedVersion": 0,
  903. "m_PreviewMode": 0,
  904. "m_CustomColors": {
  905. "m_SerializableColors": []
  906. },
  907. "m_SerializedDescriptor": "VertexDescription.Position"
  908. }
  909. {
  910. "m_SGVersion": 0,
  911. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  912. "m_ObjectId": "6251f5292d5b4c228867ceded03d9afe",
  913. "m_Title": "Generating Face Normals",
  914. "m_Position": {
  915. "x": -1971.500244140625,
  916. "y": -7.499958038330078
  917. }
  918. }
  919. {
  920. "m_SGVersion": 0,
  921. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  922. "m_ObjectId": "63fb1cfc046546db992e7a697ed1b372",
  923. "m_Id": 0,
  924. "m_DisplayName": "In",
  925. "m_SlotType": 0,
  926. "m_Hidden": false,
  927. "m_ShaderOutputName": "In",
  928. "m_StageCapability": 3,
  929. "m_Value": {
  930. "x": 0.0,
  931. "y": 0.0,
  932. "z": 0.0
  933. },
  934. "m_DefaultValue": {
  935. "x": 0.0,
  936. "y": 0.0,
  937. "z": 0.0
  938. },
  939. "m_Labels": []
  940. }
  941. {
  942. "m_SGVersion": 0,
  943. "m_Type": "UnityEditor.ShaderGraph.NormalizeNode",
  944. "m_ObjectId": "657f1cf219a94cd7a2310cb268b68f65",
  945. "m_Group": {
  946. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  947. },
  948. "m_Name": "Normalize",
  949. "m_DrawState": {
  950. "m_Expanded": true,
  951. "m_Position": {
  952. "serializedVersion": "2",
  953. "x": -1399.500244140625,
  954. "y": 81.99996948242188,
  955. "width": 208.0,
  956. "height": 278.0000305175781
  957. }
  958. },
  959. "m_Slots": [
  960. {
  961. "m_Id": "8f8236f0e3eb4ed7866febf3dbe4ecbf"
  962. },
  963. {
  964. "m_Id": "1e6fe2c5e7834a709519e5d31d54cbe1"
  965. }
  966. ],
  967. "synonyms": [],
  968. "m_Precision": 0,
  969. "m_PreviewExpanded": true,
  970. "m_DismissedVersion": 0,
  971. "m_PreviewMode": 0,
  972. "m_CustomColors": {
  973. "m_SerializableColors": []
  974. }
  975. }
  976. {
  977. "m_SGVersion": 0,
  978. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  979. "m_ObjectId": "65ee3446f8ca4b74a7e93f35ccc30c0e",
  980. "m_Id": 0,
  981. "m_DisplayName": "Out",
  982. "m_SlotType": 1,
  983. "m_Hidden": false,
  984. "m_ShaderOutputName": "Out",
  985. "m_StageCapability": 3,
  986. "m_Value": {
  987. "x": 0.0,
  988. "y": 0.0,
  989. "z": 0.0
  990. },
  991. "m_DefaultValue": {
  992. "x": 0.0,
  993. "y": 0.0,
  994. "z": 0.0
  995. },
  996. "m_Labels": []
  997. }
  998. {
  999. "m_SGVersion": 0,
  1000. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  1001. "m_ObjectId": "6a5f47ae933c41e99f226b6e60ba57ce",
  1002. "m_EnableShadowMatte": false,
  1003. "m_DistortionOnly": false
  1004. }
  1005. {
  1006. "m_SGVersion": 0,
  1007. "m_Type": "UnityEditor.ShaderGraph.DDYNode",
  1008. "m_ObjectId": "6af27eea542940ca93202993596f97cc",
  1009. "m_Group": {
  1010. "m_Id": ""
  1011. },
  1012. "m_Name": "DDY",
  1013. "m_DrawState": {
  1014. "m_Expanded": true,
  1015. "m_Position": {
  1016. "serializedVersion": "2",
  1017. "x": -1150.5001220703125,
  1018. "y": -189.0000457763672,
  1019. "width": 127.50006103515625,
  1020. "height": 94.00006103515625
  1021. }
  1022. },
  1023. "m_Slots": [
  1024. {
  1025. "m_Id": "faab6d0194c84d7692871ae36f87ac54"
  1026. },
  1027. {
  1028. "m_Id": "7bb41db0de014ee28a01845e2c5dfd92"
  1029. }
  1030. ],
  1031. "synonyms": [
  1032. "derivative"
  1033. ],
  1034. "m_Precision": 0,
  1035. "m_PreviewExpanded": false,
  1036. "m_DismissedVersion": 0,
  1037. "m_PreviewMode": 0,
  1038. "m_CustomColors": {
  1039. "m_SerializableColors": []
  1040. }
  1041. }
  1042. {
  1043. "m_SGVersion": 0,
  1044. "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
  1045. "m_ObjectId": "6c33847e82a64297b2453d99c5fedaba",
  1046. "m_Id": 1,
  1047. "m_DisplayName": "Center",
  1048. "m_SlotType": 0,
  1049. "m_Hidden": false,
  1050. "m_ShaderOutputName": "Center",
  1051. "m_StageCapability": 3,
  1052. "m_Value": {
  1053. "x": 0.5,
  1054. "y": 0.5
  1055. },
  1056. "m_DefaultValue": {
  1057. "x": 0.0,
  1058. "y": 0.0
  1059. },
  1060. "m_Labels": []
  1061. }
  1062. {
  1063. "m_SGVersion": 0,
  1064. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1065. "m_ObjectId": "6f9b0b7077b34668afa8aecf2252f5d6",
  1066. "m_Id": 6,
  1067. "m_DisplayName": "B",
  1068. "m_SlotType": 1,
  1069. "m_Hidden": false,
  1070. "m_ShaderOutputName": "B",
  1071. "m_StageCapability": 3,
  1072. "m_Value": 0.0,
  1073. "m_DefaultValue": 0.0,
  1074. "m_Labels": []
  1075. }
  1076. {
  1077. "m_SGVersion": 0,
  1078. "m_Type": "UnityEditor.ShaderGraph.PolarCoordinatesNode",
  1079. "m_ObjectId": "760c77d738124ec0b1ab818ce52f20af",
  1080. "m_Group": {
  1081. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  1082. },
  1083. "m_Name": "Polar Coordinates",
  1084. "m_DrawState": {
  1085. "m_Expanded": false,
  1086. "m_Position": {
  1087. "serializedVersion": "2",
  1088. "x": -870.0000610351563,
  1089. "y": 47.5,
  1090. "width": 147.5,
  1091. "height": 94.00001525878906
  1092. }
  1093. },
  1094. "m_Slots": [
  1095. {
  1096. "m_Id": "465b07be7f3f421e80358e1a381b3cb8"
  1097. },
  1098. {
  1099. "m_Id": "6c33847e82a64297b2453d99c5fedaba"
  1100. },
  1101. {
  1102. "m_Id": "f17273a8d5214daa8e66c5077e6273ec"
  1103. },
  1104. {
  1105. "m_Id": "8763468e99e540529cb3463f45eb861a"
  1106. },
  1107. {
  1108. "m_Id": "05746b51af734863b728d28236d8e2c7"
  1109. }
  1110. ],
  1111. "synonyms": [],
  1112. "m_Precision": 0,
  1113. "m_PreviewExpanded": false,
  1114. "m_DismissedVersion": 0,
  1115. "m_PreviewMode": 0,
  1116. "m_CustomColors": {
  1117. "m_SerializableColors": []
  1118. }
  1119. }
  1120. {
  1121. "m_SGVersion": 0,
  1122. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1123. "m_ObjectId": "7bb41db0de014ee28a01845e2c5dfd92",
  1124. "m_Id": 1,
  1125. "m_DisplayName": "Out",
  1126. "m_SlotType": 1,
  1127. "m_Hidden": false,
  1128. "m_ShaderOutputName": "Out",
  1129. "m_StageCapability": 2,
  1130. "m_Value": {
  1131. "x": 0.0,
  1132. "y": 0.0,
  1133. "z": 0.0,
  1134. "w": 0.0
  1135. },
  1136. "m_DefaultValue": {
  1137. "x": 0.0,
  1138. "y": 0.0,
  1139. "z": 0.0,
  1140. "w": 0.0
  1141. }
  1142. }
  1143. {
  1144. "m_SGVersion": 0,
  1145. "m_Type": "UnityEditor.ShaderGraph.DDYNode",
  1146. "m_ObjectId": "7d60ed2d45894499bfd63a62a3480828",
  1147. "m_Group": {
  1148. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  1149. },
  1150. "m_Name": "DDY",
  1151. "m_DrawState": {
  1152. "m_Expanded": true,
  1153. "m_Position": {
  1154. "serializedVersion": "2",
  1155. "x": -1689.000244140625,
  1156. "y": 47.5,
  1157. "width": 131.5,
  1158. "height": 94.00003051757813
  1159. }
  1160. },
  1161. "m_Slots": [
  1162. {
  1163. "m_Id": "85cc5228dd8546338a8aefc6c0946192"
  1164. },
  1165. {
  1166. "m_Id": "162162b5d3fa403393ac21e67c0d6529"
  1167. }
  1168. ],
  1169. "synonyms": [
  1170. "derivative"
  1171. ],
  1172. "m_Precision": 0,
  1173. "m_PreviewExpanded": false,
  1174. "m_DismissedVersion": 0,
  1175. "m_PreviewMode": 0,
  1176. "m_CustomColors": {
  1177. "m_SerializableColors": []
  1178. }
  1179. }
  1180. {
  1181. "m_SGVersion": 0,
  1182. "m_Type": "UnityEditor.ShaderGraph.DDYNode",
  1183. "m_ObjectId": "7ec8fc34c10b45769dfba44fa288e347",
  1184. "m_Group": {
  1185. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  1186. },
  1187. "m_Name": "DDY",
  1188. "m_DrawState": {
  1189. "m_Expanded": true,
  1190. "m_Position": {
  1191. "serializedVersion": "2",
  1192. "x": -706.5000610351563,
  1193. "y": 240.50001525878907,
  1194. "width": 131.5,
  1195. "height": 93.99998474121094
  1196. }
  1197. },
  1198. "m_Slots": [
  1199. {
  1200. "m_Id": "cc1f9b13adf348b2b5b67b57f47e9142"
  1201. },
  1202. {
  1203. "m_Id": "e5a759d7b4b84b268097d8e1058a7efe"
  1204. }
  1205. ],
  1206. "synonyms": [
  1207. "derivative"
  1208. ],
  1209. "m_Precision": 0,
  1210. "m_PreviewExpanded": false,
  1211. "m_DismissedVersion": 0,
  1212. "m_PreviewMode": 0,
  1213. "m_CustomColors": {
  1214. "m_SerializableColors": []
  1215. }
  1216. }
  1217. {
  1218. "m_SGVersion": 0,
  1219. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  1220. "m_ObjectId": "8187c346069145e3bfbf5e8d27025cf9",
  1221. "m_Id": 0,
  1222. "m_DisplayName": "Normal",
  1223. "m_SlotType": 0,
  1224. "m_Hidden": false,
  1225. "m_ShaderOutputName": "Normal",
  1226. "m_StageCapability": 1,
  1227. "m_Value": {
  1228. "x": 0.0,
  1229. "y": 0.0,
  1230. "z": 0.0
  1231. },
  1232. "m_DefaultValue": {
  1233. "x": 0.0,
  1234. "y": 0.0,
  1235. "z": 0.0
  1236. },
  1237. "m_Labels": [],
  1238. "m_Space": 0
  1239. }
  1240. {
  1241. "m_SGVersion": 0,
  1242. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  1243. "m_ObjectId": "842fb949ee2c46ee971e3165d52e7320",
  1244. "m_Id": 0,
  1245. "m_DisplayName": "Emission",
  1246. "m_SlotType": 0,
  1247. "m_Hidden": false,
  1248. "m_ShaderOutputName": "Emission",
  1249. "m_StageCapability": 2,
  1250. "m_Value": {
  1251. "x": 0.0,
  1252. "y": 0.0,
  1253. "z": 0.0
  1254. },
  1255. "m_DefaultValue": {
  1256. "x": 0.0,
  1257. "y": 0.0,
  1258. "z": 0.0
  1259. },
  1260. "m_Labels": [],
  1261. "m_ColorMode": 1,
  1262. "m_DefaultColor": {
  1263. "r": 0.0,
  1264. "g": 0.0,
  1265. "b": 0.0,
  1266. "a": 1.0
  1267. }
  1268. }
  1269. {
  1270. "m_SGVersion": 0,
  1271. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1272. "m_ObjectId": "843e28aca1ea4059a9038add136eaa51",
  1273. "m_Id": 0,
  1274. "m_DisplayName": "In",
  1275. "m_SlotType": 0,
  1276. "m_Hidden": false,
  1277. "m_ShaderOutputName": "In",
  1278. "m_StageCapability": 3,
  1279. "m_Value": {
  1280. "x": 0.0,
  1281. "y": 0.0,
  1282. "z": 0.0,
  1283. "w": 0.0
  1284. },
  1285. "m_DefaultValue": {
  1286. "x": 0.0,
  1287. "y": 0.0,
  1288. "z": 0.0,
  1289. "w": 0.0
  1290. }
  1291. }
  1292. {
  1293. "m_SGVersion": 0,
  1294. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1295. "m_ObjectId": "858faf9f38fb4cbbb5b37f9bd006bc9b",
  1296. "m_Title": "",
  1297. "m_Content": "The results are in World space, so we have to transform to Tangent space if we want to plug the result into the Master Stack.",
  1298. "m_TextSize": 0,
  1299. "m_Theme": 0,
  1300. "m_Position": {
  1301. "serializedVersion": "2",
  1302. "x": -1166.0001220703125,
  1303. "y": 425.0000305175781,
  1304. "width": 200.00006103515626,
  1305. "height": 100.00003051757813
  1306. },
  1307. "m_Group": {
  1308. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  1309. }
  1310. }
  1311. {
  1312. "m_SGVersion": 0,
  1313. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1314. "m_ObjectId": "85cc5228dd8546338a8aefc6c0946192",
  1315. "m_Id": 0,
  1316. "m_DisplayName": "In",
  1317. "m_SlotType": 0,
  1318. "m_Hidden": false,
  1319. "m_ShaderOutputName": "In",
  1320. "m_StageCapability": 3,
  1321. "m_Value": {
  1322. "x": 0.0,
  1323. "y": 0.0,
  1324. "z": 0.0,
  1325. "w": 0.0
  1326. },
  1327. "m_DefaultValue": {
  1328. "x": 0.0,
  1329. "y": 0.0,
  1330. "z": 0.0,
  1331. "w": 0.0
  1332. }
  1333. }
  1334. {
  1335. "m_SGVersion": 0,
  1336. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1337. "m_ObjectId": "8763468e99e540529cb3463f45eb861a",
  1338. "m_Id": 3,
  1339. "m_DisplayName": "Length Scale",
  1340. "m_SlotType": 0,
  1341. "m_Hidden": false,
  1342. "m_ShaderOutputName": "LengthScale",
  1343. "m_StageCapability": 3,
  1344. "m_Value": 4.0,
  1345. "m_DefaultValue": 1.0,
  1346. "m_Labels": []
  1347. }
  1348. {
  1349. "m_SGVersion": 0,
  1350. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  1351. "m_ObjectId": "8a8e4fdd30af4113858058452dd4b863",
  1352. "m_Title": "Manually Create Texture UV Derivatives",
  1353. "m_Position": {
  1354. "x": -915.5000610351563,
  1355. "y": -11.0
  1356. }
  1357. }
  1358. {
  1359. "m_SGVersion": 0,
  1360. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  1361. "m_ObjectId": "8baa8a4e83434c26836a078408b015b9",
  1362. "m_MaterialNeedsUpdateHash": 0,
  1363. "m_SurfaceType": 0,
  1364. "m_RenderingPass": 1,
  1365. "m_BlendMode": 0,
  1366. "m_ZTest": 4,
  1367. "m_ZWrite": false,
  1368. "m_TransparentCullMode": 2,
  1369. "m_OpaqueCullMode": 2,
  1370. "m_SortPriority": 0,
  1371. "m_AlphaTest": false,
  1372. "m_TransparentDepthPrepass": false,
  1373. "m_TransparentDepthPostpass": false,
  1374. "m_SupportLodCrossFade": false,
  1375. "m_DoubleSidedMode": 0,
  1376. "m_DOTSInstancing": false,
  1377. "m_CustomVelocity": false,
  1378. "m_Tessellation": false,
  1379. "m_TessellationMode": 0,
  1380. "m_TessellationFactorMinDistance": 20.0,
  1381. "m_TessellationFactorMaxDistance": 50.0,
  1382. "m_TessellationFactorTriangleSize": 100.0,
  1383. "m_TessellationShapeFactor": 0.75,
  1384. "m_TessellationBackFaceCullEpsilon": -0.25,
  1385. "m_TessellationMaxDisplacement": 0.009999999776482582,
  1386. "m_DebugSymbols": false,
  1387. "m_Version": 2,
  1388. "inspectorFoldoutMask": 0
  1389. }
  1390. {
  1391. "m_SGVersion": 0,
  1392. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  1393. "m_ObjectId": "8d23bdc81d6841b49626e72f5bc59ab1",
  1394. "m_EnableShadowMatte": false,
  1395. "m_DistortionOnly": false
  1396. }
  1397. {
  1398. "m_SGVersion": 0,
  1399. "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
  1400. "m_ObjectId": "8e14d3b6cd0a407f8dbf54eedea2b0bd",
  1401. "m_Id": 2,
  1402. "m_DisplayName": "UV",
  1403. "m_SlotType": 0,
  1404. "m_Hidden": false,
  1405. "m_ShaderOutputName": "UV",
  1406. "m_StageCapability": 3,
  1407. "m_Value": {
  1408. "x": 0.0,
  1409. "y": 0.0
  1410. },
  1411. "m_DefaultValue": {
  1412. "x": 0.0,
  1413. "y": 0.0
  1414. },
  1415. "m_Labels": [],
  1416. "m_Channel": 0
  1417. }
  1418. {
  1419. "m_SGVersion": 0,
  1420. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1421. "m_ObjectId": "8f8236f0e3eb4ed7866febf3dbe4ecbf",
  1422. "m_Id": 0,
  1423. "m_DisplayName": "In",
  1424. "m_SlotType": 0,
  1425. "m_Hidden": false,
  1426. "m_ShaderOutputName": "In",
  1427. "m_StageCapability": 3,
  1428. "m_Value": {
  1429. "x": 0.0,
  1430. "y": 0.0,
  1431. "z": 0.0,
  1432. "w": 0.0
  1433. },
  1434. "m_DefaultValue": {
  1435. "x": 0.0,
  1436. "y": 0.0,
  1437. "z": 0.0,
  1438. "w": 0.0
  1439. }
  1440. }
  1441. {
  1442. "m_SGVersion": 0,
  1443. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  1444. "m_ObjectId": "93355243d2cb4a958865044033e8ebd7",
  1445. "m_Id": 0,
  1446. "m_DisplayName": "A",
  1447. "m_SlotType": 0,
  1448. "m_Hidden": false,
  1449. "m_ShaderOutputName": "A",
  1450. "m_StageCapability": 3,
  1451. "m_Value": {
  1452. "x": 0.0,
  1453. "y": 0.0,
  1454. "z": 0.0
  1455. },
  1456. "m_DefaultValue": {
  1457. "x": 0.0,
  1458. "y": 0.0,
  1459. "z": 0.0
  1460. },
  1461. "m_Labels": []
  1462. }
  1463. {
  1464. "m_SGVersion": 0,
  1465. "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
  1466. "m_ObjectId": "9745b326cd5442da8183b9f334737ae6",
  1467. "m_Id": 3,
  1468. "m_DisplayName": "Sampler",
  1469. "m_SlotType": 0,
  1470. "m_Hidden": false,
  1471. "m_ShaderOutputName": "Sampler",
  1472. "m_StageCapability": 3,
  1473. "m_BareResource": false
  1474. }
  1475. {
  1476. "m_SGVersion": 0,
  1477. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1478. "m_ObjectId": "9ea975d2954b4edc86fb5d0d133d5965",
  1479. "m_Id": 1,
  1480. "m_DisplayName": "Out",
  1481. "m_SlotType": 1,
  1482. "m_Hidden": false,
  1483. "m_ShaderOutputName": "Out",
  1484. "m_StageCapability": 2,
  1485. "m_Value": {
  1486. "x": 0.0,
  1487. "y": 0.0,
  1488. "z": 0.0,
  1489. "w": 0.0
  1490. },
  1491. "m_DefaultValue": {
  1492. "x": 0.0,
  1493. "y": 0.0,
  1494. "z": 0.0,
  1495. "w": 0.0
  1496. }
  1497. }
  1498. {
  1499. "m_SGVersion": 0,
  1500. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  1501. "m_ObjectId": "a1b8b00a8937468789ac1216bf31e6e3",
  1502. "m_Id": 0,
  1503. "m_DisplayName": "Tangent",
  1504. "m_SlotType": 0,
  1505. "m_Hidden": false,
  1506. "m_ShaderOutputName": "Tangent",
  1507. "m_StageCapability": 1,
  1508. "m_Value": {
  1509. "x": 0.0,
  1510. "y": 0.0,
  1511. "z": 0.0
  1512. },
  1513. "m_DefaultValue": {
  1514. "x": 0.0,
  1515. "y": 0.0,
  1516. "z": 0.0
  1517. },
  1518. "m_Labels": [],
  1519. "m_Space": 0
  1520. }
  1521. {
  1522. "m_SGVersion": 0,
  1523. "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
  1524. "m_ObjectId": "a4fdbaeded03451f9d884639b74eea7f",
  1525. "m_Id": 1,
  1526. "m_DisplayName": "Texture",
  1527. "m_SlotType": 0,
  1528. "m_Hidden": false,
  1529. "m_ShaderOutputName": "Texture",
  1530. "m_StageCapability": 3,
  1531. "m_BareResource": false,
  1532. "m_Texture": {
  1533. "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"583384ba064432b41891bec94e35c8af\",\"type\":3}}",
  1534. "m_Guid": ""
  1535. },
  1536. "m_DefaultType": 0
  1537. }
  1538. {
  1539. "m_SGVersion": 0,
  1540. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1541. "m_ObjectId": "a5281e60769f4e56b27bed6767caff1b",
  1542. "m_Title": "",
  1543. "m_Content": "By default, a texture sampler uses DDX and DDY internally to compute the proper mip level. Here we're doing it manually to fix a discontinuity seam.",
  1544. "m_TextSize": 0,
  1545. "m_Theme": 0,
  1546. "m_Position": {
  1547. "serializedVersion": "2",
  1548. "x": -798.0000610351563,
  1549. "y": 383.0000305175781,
  1550. "width": 200.0,
  1551. "height": 100.00003051757813
  1552. },
  1553. "m_Group": {
  1554. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  1555. }
  1556. }
  1557. {
  1558. "m_SGVersion": 0,
  1559. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  1560. "m_ObjectId": "a915288d689b4ea1ae429469c9a34c38",
  1561. "m_Id": 2,
  1562. "m_DisplayName": "Out",
  1563. "m_SlotType": 1,
  1564. "m_Hidden": false,
  1565. "m_ShaderOutputName": "Out",
  1566. "m_StageCapability": 3,
  1567. "m_Value": {
  1568. "x": 0.0,
  1569. "y": 0.0,
  1570. "z": 0.0
  1571. },
  1572. "m_DefaultValue": {
  1573. "x": 0.0,
  1574. "y": 0.0,
  1575. "z": 0.0
  1576. },
  1577. "m_Labels": []
  1578. }
  1579. {
  1580. "m_SGVersion": 0,
  1581. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  1582. "m_ObjectId": "a9617e2b910c43c5933b5416d6bdae9a",
  1583. "m_Id": 0,
  1584. "m_DisplayName": "Base Color",
  1585. "m_SlotType": 0,
  1586. "m_Hidden": false,
  1587. "m_ShaderOutputName": "BaseColor",
  1588. "m_StageCapability": 2,
  1589. "m_Value": {
  1590. "x": 0.5,
  1591. "y": 0.5,
  1592. "z": 0.5
  1593. },
  1594. "m_DefaultValue": {
  1595. "x": 0.0,
  1596. "y": 0.0,
  1597. "z": 0.0
  1598. },
  1599. "m_Labels": [],
  1600. "m_ColorMode": 0,
  1601. "m_DefaultColor": {
  1602. "r": 0.5,
  1603. "g": 0.5,
  1604. "b": 0.5,
  1605. "a": 1.0
  1606. }
  1607. }
  1608. {
  1609. "m_SGVersion": 0,
  1610. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1611. "m_ObjectId": "aa110b4d7c0b482eaed378ff91dbd031",
  1612. "m_Title": "DDY Node",
  1613. "m_Content": "The DDY Node allows you to find the difference (the partial derivative) between data in the current pixel and data in the next pixel above in screen space.\n\nThis node only works in the fragment stage.",
  1614. "m_TextSize": 0,
  1615. "m_Theme": 0,
  1616. "m_Position": {
  1617. "serializedVersion": "2",
  1618. "x": -1013.0000610351563,
  1619. "y": -199.50001525878907,
  1620. "width": 200.0,
  1621. "height": 143.89132690429688
  1622. },
  1623. "m_Group": {
  1624. "m_Id": ""
  1625. }
  1626. }
  1627. {
  1628. "m_SGVersion": 0,
  1629. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1630. "m_ObjectId": "adcb591370fd4b33ae74a78c7ec87d25",
  1631. "m_Id": 4,
  1632. "m_DisplayName": "R",
  1633. "m_SlotType": 1,
  1634. "m_Hidden": false,
  1635. "m_ShaderOutputName": "R",
  1636. "m_StageCapability": 3,
  1637. "m_Value": 0.0,
  1638. "m_DefaultValue": 0.0,
  1639. "m_Labels": []
  1640. }
  1641. {
  1642. "m_SGVersion": 0,
  1643. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1644. "m_ObjectId": "b1624783e7c84effadebc8802e9697f6",
  1645. "m_Id": 5,
  1646. "m_DisplayName": "G",
  1647. "m_SlotType": 1,
  1648. "m_Hidden": false,
  1649. "m_ShaderOutputName": "G",
  1650. "m_StageCapability": 3,
  1651. "m_Value": 0.0,
  1652. "m_DefaultValue": 0.0,
  1653. "m_Labels": []
  1654. }
  1655. {
  1656. "m_SGVersion": 0,
  1657. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1658. "m_ObjectId": "b21df695904d4f96a28ddfdf30e3d391",
  1659. "m_Id": 1,
  1660. "m_DisplayName": "Out",
  1661. "m_SlotType": 1,
  1662. "m_Hidden": false,
  1663. "m_ShaderOutputName": "Out",
  1664. "m_StageCapability": 2,
  1665. "m_Value": {
  1666. "x": 0.0,
  1667. "y": 0.0,
  1668. "z": 0.0,
  1669. "w": 0.0
  1670. },
  1671. "m_DefaultValue": {
  1672. "x": 0.0,
  1673. "y": 0.0,
  1674. "z": 0.0,
  1675. "w": 0.0
  1676. }
  1677. }
  1678. {
  1679. "m_SGVersion": 0,
  1680. "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
  1681. "m_ObjectId": "b527a15f0cf14d1ab6851ae3bfa69050",
  1682. "m_Id": 10,
  1683. "m_DisplayName": "DDX",
  1684. "m_SlotType": 0,
  1685. "m_Hidden": false,
  1686. "m_ShaderOutputName": "DDX",
  1687. "m_StageCapability": 3,
  1688. "m_Value": {
  1689. "x": 0.0,
  1690. "y": 0.0
  1691. },
  1692. "m_DefaultValue": {
  1693. "x": 0.0,
  1694. "y": 0.0
  1695. },
  1696. "m_Labels": []
  1697. }
  1698. {
  1699. "m_SGVersion": 0,
  1700. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1701. "m_ObjectId": "c3880d0b64a44c279e66d77307533054",
  1702. "m_Title": "",
  1703. "m_Content": "When using polar coordinates, you get an ugly seam where the UVs wrap around and meet up. This can be fixed by manually computing the texture mip map derivatives using DDX and DDY. You need to set the Sample Texture 2D node to \"Gradient\" mode in the Graph Inspector first.",
  1704. "m_TextSize": 0,
  1705. "m_Theme": 0,
  1706. "m_Position": {
  1707. "serializedVersion": "2",
  1708. "x": -482.0000305175781,
  1709. "y": 440.5000305175781,
  1710. "width": 200.0,
  1711. "height": 148.00003051757813
  1712. },
  1713. "m_Group": {
  1714. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  1715. }
  1716. }
  1717. {
  1718. "m_SGVersion": 2,
  1719. "m_Type": "UnityEditor.ShaderGraph.TransformNode",
  1720. "m_ObjectId": "c8f8e7f6846d46b196fb24d3efa0cf0c",
  1721. "m_Group": {
  1722. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  1723. },
  1724. "m_Name": "Transform",
  1725. "m_DrawState": {
  1726. "m_Expanded": true,
  1727. "m_Position": {
  1728. "serializedVersion": "2",
  1729. "x": -1170.000244140625,
  1730. "y": 81.99996948242188,
  1731. "width": 212.50006103515626,
  1732. "height": 340.00006103515627
  1733. }
  1734. },
  1735. "m_Slots": [
  1736. {
  1737. "m_Id": "63fb1cfc046546db992e7a697ed1b372"
  1738. },
  1739. {
  1740. "m_Id": "2505d721f0514a0e9afa9633771a0692"
  1741. }
  1742. ],
  1743. "synonyms": [
  1744. "world",
  1745. "tangent",
  1746. "object",
  1747. "view",
  1748. "screen",
  1749. "convert"
  1750. ],
  1751. "m_Precision": 0,
  1752. "m_PreviewExpanded": true,
  1753. "m_DismissedVersion": 0,
  1754. "m_PreviewMode": 0,
  1755. "m_CustomColors": {
  1756. "m_SerializableColors": []
  1757. },
  1758. "m_Conversion": {
  1759. "from": 2,
  1760. "to": 3
  1761. },
  1762. "m_ConversionType": 2,
  1763. "m_Normalize": true
  1764. }
  1765. {
  1766. "m_SGVersion": 0,
  1767. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1768. "m_ObjectId": "cc1f9b13adf348b2b5b67b57f47e9142",
  1769. "m_Id": 0,
  1770. "m_DisplayName": "In",
  1771. "m_SlotType": 0,
  1772. "m_Hidden": false,
  1773. "m_ShaderOutputName": "In",
  1774. "m_StageCapability": 3,
  1775. "m_Value": {
  1776. "x": 0.0,
  1777. "y": 0.0,
  1778. "z": 0.0,
  1779. "w": 0.0
  1780. },
  1781. "m_DefaultValue": {
  1782. "x": 0.0,
  1783. "y": 0.0,
  1784. "z": 0.0,
  1785. "w": 0.0
  1786. }
  1787. }
  1788. {
  1789. "m_SGVersion": 0,
  1790. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  1791. "m_ObjectId": "d0335300a26b40da9d292c9dee62ba76"
  1792. }
  1793. {
  1794. "m_SGVersion": 0,
  1795. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1796. "m_ObjectId": "d1198a697b654d34bd8d50bf2fb53343",
  1797. "m_Id": 0,
  1798. "m_DisplayName": "Alpha",
  1799. "m_SlotType": 0,
  1800. "m_Hidden": false,
  1801. "m_ShaderOutputName": "Alpha",
  1802. "m_StageCapability": 2,
  1803. "m_Value": 1.0,
  1804. "m_DefaultValue": 1.0,
  1805. "m_Labels": []
  1806. }
  1807. {
  1808. "m_SGVersion": 0,
  1809. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1810. "m_ObjectId": "d1e9246b2c0c441786c33e492c72e7d8",
  1811. "m_Group": {
  1812. "m_Id": ""
  1813. },
  1814. "m_Name": "SurfaceDescription.BaseColor",
  1815. "m_DrawState": {
  1816. "m_Expanded": true,
  1817. "m_Position": {
  1818. "serializedVersion": "2",
  1819. "x": 0.0,
  1820. "y": 0.0,
  1821. "width": 0.0,
  1822. "height": 0.0
  1823. }
  1824. },
  1825. "m_Slots": [
  1826. {
  1827. "m_Id": "a9617e2b910c43c5933b5416d6bdae9a"
  1828. }
  1829. ],
  1830. "synonyms": [],
  1831. "m_Precision": 0,
  1832. "m_PreviewExpanded": true,
  1833. "m_DismissedVersion": 0,
  1834. "m_PreviewMode": 0,
  1835. "m_CustomColors": {
  1836. "m_SerializableColors": []
  1837. },
  1838. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  1839. }
  1840. {
  1841. "m_SGVersion": 0,
  1842. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1843. "m_ObjectId": "d22dcef498794ebcb87bf13ecbc76adf",
  1844. "m_Group": {
  1845. "m_Id": ""
  1846. },
  1847. "m_Name": "SurfaceDescription.Alpha",
  1848. "m_DrawState": {
  1849. "m_Expanded": true,
  1850. "m_Position": {
  1851. "serializedVersion": "2",
  1852. "x": 0.0,
  1853. "y": 0.0,
  1854. "width": 0.0,
  1855. "height": 0.0
  1856. }
  1857. },
  1858. "m_Slots": [
  1859. {
  1860. "m_Id": "d1198a697b654d34bd8d50bf2fb53343"
  1861. }
  1862. ],
  1863. "synonyms": [],
  1864. "m_Precision": 0,
  1865. "m_PreviewExpanded": true,
  1866. "m_DismissedVersion": 0,
  1867. "m_PreviewMode": 0,
  1868. "m_CustomColors": {
  1869. "m_SerializableColors": []
  1870. },
  1871. "m_SerializedDescriptor": "SurfaceDescription.Alpha"
  1872. }
  1873. {
  1874. "m_SGVersion": 0,
  1875. "m_Type": "UnityEditor.ShaderGraph.DDXNode",
  1876. "m_ObjectId": "d5750300ed654bab86d8bc4c2a237d5a",
  1877. "m_Group": {
  1878. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  1879. },
  1880. "m_Name": "DDX",
  1881. "m_DrawState": {
  1882. "m_Expanded": true,
  1883. "m_Position": {
  1884. "serializedVersion": "2",
  1885. "x": -1689.000244140625,
  1886. "y": 141.50003051757813,
  1887. "width": 131.5,
  1888. "height": 94.0
  1889. }
  1890. },
  1891. "m_Slots": [
  1892. {
  1893. "m_Id": "843e28aca1ea4059a9038add136eaa51"
  1894. },
  1895. {
  1896. "m_Id": "9ea975d2954b4edc86fb5d0d133d5965"
  1897. }
  1898. ],
  1899. "synonyms": [
  1900. "derivative"
  1901. ],
  1902. "m_Precision": 0,
  1903. "m_PreviewExpanded": false,
  1904. "m_DismissedVersion": 0,
  1905. "m_PreviewMode": 0,
  1906. "m_CustomColors": {
  1907. "m_SerializableColors": []
  1908. }
  1909. }
  1910. {
  1911. "m_SGVersion": 0,
  1912. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  1913. "m_ObjectId": "dd748b3793824a8fb308932007f01b4c",
  1914. "m_Distortion": false,
  1915. "m_DistortionMode": 0,
  1916. "m_DistortionDepthTest": true,
  1917. "m_AddPrecomputedVelocity": false,
  1918. "m_TransparentWritesMotionVec": false,
  1919. "m_DepthOffset": false,
  1920. "m_ConservativeDepthOffset": false,
  1921. "m_TransparencyFog": true,
  1922. "m_AlphaTestShadow": false,
  1923. "m_BackThenFrontRendering": false,
  1924. "m_TransparentDepthPrepass": false,
  1925. "m_TransparentDepthPostpass": false,
  1926. "m_TransparentPerPixelSorting": false,
  1927. "m_SupportLodCrossFade": false
  1928. }
  1929. {
  1930. "m_SGVersion": 0,
  1931. "m_Type": "UnityEditor.ShaderGraph.UVNode",
  1932. "m_ObjectId": "ddc7448660f345db93a17963f1c89d4b",
  1933. "m_Group": {
  1934. "m_Id": "8a8e4fdd30af4113858058452dd4b863"
  1935. },
  1936. "m_Name": "UV",
  1937. "m_DrawState": {
  1938. "m_Expanded": true,
  1939. "m_Position": {
  1940. "serializedVersion": "2",
  1941. "x": -890.5000610351563,
  1942. "y": 180.50001525878907,
  1943. "width": 145.0,
  1944. "height": 128.49998474121095
  1945. }
  1946. },
  1947. "m_Slots": [
  1948. {
  1949. "m_Id": "31b7e95a3bb94710a322c7c1a4481b4e"
  1950. }
  1951. ],
  1952. "synonyms": [
  1953. "texcoords",
  1954. "coords",
  1955. "coordinates"
  1956. ],
  1957. "m_Precision": 0,
  1958. "m_PreviewExpanded": false,
  1959. "m_DismissedVersion": 0,
  1960. "m_PreviewMode": 0,
  1961. "m_CustomColors": {
  1962. "m_SerializableColors": []
  1963. },
  1964. "m_OutputChannel": 0
  1965. }
  1966. {
  1967. "m_SGVersion": 0,
  1968. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1969. "m_ObjectId": "e05ec86b78a747e982591b586d73fa7f",
  1970. "m_Group": {
  1971. "m_Id": ""
  1972. },
  1973. "m_Name": "VertexDescription.Tangent",
  1974. "m_DrawState": {
  1975. "m_Expanded": true,
  1976. "m_Position": {
  1977. "serializedVersion": "2",
  1978. "x": 0.0,
  1979. "y": 0.0,
  1980. "width": 0.0,
  1981. "height": 0.0
  1982. }
  1983. },
  1984. "m_Slots": [
  1985. {
  1986. "m_Id": "a1b8b00a8937468789ac1216bf31e6e3"
  1987. }
  1988. ],
  1989. "synonyms": [],
  1990. "m_Precision": 0,
  1991. "m_PreviewExpanded": true,
  1992. "m_DismissedVersion": 0,
  1993. "m_PreviewMode": 0,
  1994. "m_CustomColors": {
  1995. "m_SerializableColors": []
  1996. },
  1997. "m_SerializedDescriptor": "VertexDescription.Tangent"
  1998. }
  1999. {
  2000. "m_SGVersion": 0,
  2001. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  2002. "m_ObjectId": "e5a759d7b4b84b268097d8e1058a7efe",
  2003. "m_Id": 1,
  2004. "m_DisplayName": "Out",
  2005. "m_SlotType": 1,
  2006. "m_Hidden": false,
  2007. "m_ShaderOutputName": "Out",
  2008. "m_StageCapability": 2,
  2009. "m_Value": {
  2010. "x": 0.0,
  2011. "y": 0.0,
  2012. "z": 0.0,
  2013. "w": 0.0
  2014. },
  2015. "m_DefaultValue": {
  2016. "x": 0.0,
  2017. "y": 0.0,
  2018. "z": 0.0,
  2019. "w": 0.0
  2020. }
  2021. }
  2022. {
  2023. "m_SGVersion": 0,
  2024. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  2025. "m_ObjectId": "eca9a1892f5f44619758a8a8f8688630"
  2026. }
  2027. {
  2028. "m_SGVersion": 1,
  2029. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  2030. "m_ObjectId": "ee1e4c88cb064cf88766bfda4fb0106b",
  2031. "m_Datas": [],
  2032. "m_ActiveSubTarget": {
  2033. "m_Id": "316c1535eded4ac9bf05c74ad5c2fb3d"
  2034. },
  2035. "m_AllowMaterialOverride": false,
  2036. "m_SurfaceType": 0,
  2037. "m_ZTestMode": 4,
  2038. "m_ZWriteControl": 0,
  2039. "m_AlphaMode": 0,
  2040. "m_RenderFace": 2,
  2041. "m_AlphaClip": false,
  2042. "m_CastShadows": true,
  2043. "m_ReceiveShadows": true,
  2044. "m_AdditionalMotionVectorMode": 0,
  2045. "m_AlembicMotionVectors": false,
  2046. "m_SupportsLODCrossFade": false,
  2047. "m_CustomEditorGUI": "",
  2048. "m_SupportVFX": false
  2049. }
  2050. {
  2051. "m_SGVersion": 0,
  2052. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  2053. "m_ObjectId": "efdf4183f23b467ca4bd049122142568",
  2054. "m_Id": 0,
  2055. "m_DisplayName": "Position",
  2056. "m_SlotType": 0,
  2057. "m_Hidden": false,
  2058. "m_ShaderOutputName": "Position",
  2059. "m_StageCapability": 1,
  2060. "m_Value": {
  2061. "x": 0.0,
  2062. "y": 0.0,
  2063. "z": 0.0
  2064. },
  2065. "m_DefaultValue": {
  2066. "x": 0.0,
  2067. "y": 0.0,
  2068. "z": 0.0
  2069. },
  2070. "m_Labels": [],
  2071. "m_Space": 0
  2072. }
  2073. {
  2074. "m_SGVersion": 0,
  2075. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  2076. "m_ObjectId": "f17273a8d5214daa8e66c5077e6273ec",
  2077. "m_Id": 2,
  2078. "m_DisplayName": "Radial Scale",
  2079. "m_SlotType": 0,
  2080. "m_Hidden": false,
  2081. "m_ShaderOutputName": "RadialScale",
  2082. "m_StageCapability": 3,
  2083. "m_Value": 1.0,
  2084. "m_DefaultValue": 1.0,
  2085. "m_Labels": []
  2086. }
  2087. {
  2088. "m_SGVersion": 0,
  2089. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  2090. "m_ObjectId": "f3526e0cf4ce4d72bcd7f5d8c68fe538",
  2091. "m_MaterialNeedsUpdateHash": 0,
  2092. "m_SurfaceType": 0,
  2093. "m_RenderingPass": 1,
  2094. "m_BlendMode": 0,
  2095. "m_ZTest": 4,
  2096. "m_ZWrite": false,
  2097. "m_TransparentCullMode": 2,
  2098. "m_OpaqueCullMode": 2,
  2099. "m_SortPriority": 0,
  2100. "m_AlphaTest": false,
  2101. "m_TransparentDepthPrepass": false,
  2102. "m_TransparentDepthPostpass": false,
  2103. "m_SupportLodCrossFade": false,
  2104. "m_DoubleSidedMode": 0,
  2105. "m_DOTSInstancing": false,
  2106. "m_CustomVelocity": false,
  2107. "m_Tessellation": false,
  2108. "m_TessellationMode": 0,
  2109. "m_TessellationFactorMinDistance": 20.0,
  2110. "m_TessellationFactorMaxDistance": 50.0,
  2111. "m_TessellationFactorTriangleSize": 100.0,
  2112. "m_TessellationShapeFactor": 0.75,
  2113. "m_TessellationBackFaceCullEpsilon": -0.25,
  2114. "m_TessellationMaxDisplacement": 0.009999999776482582,
  2115. "m_DebugSymbols": false,
  2116. "m_Version": 2,
  2117. "inspectorFoldoutMask": 0
  2118. }
  2119. {
  2120. "m_SGVersion": 0,
  2121. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  2122. "m_ObjectId": "f6e28907f1984a54bb766b660adddbd6",
  2123. "m_Title": "",
  2124. "m_Content": "DDX and DDY find the difference between the position of the current pixel and the one next to it - horizontally (for DDX), and vertically (for DDY). ",
  2125. "m_TextSize": 0,
  2126. "m_Theme": 0,
  2127. "m_Position": {
  2128. "serializedVersion": "2",
  2129. "x": -1774.0001220703125,
  2130. "y": 244.50003051757813,
  2131. "width": 200.0,
  2132. "height": 100.0
  2133. },
  2134. "m_Group": {
  2135. "m_Id": "6251f5292d5b4c228867ceded03d9afe"
  2136. }
  2137. }
  2138. {
  2139. "m_SGVersion": 0,
  2140. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  2141. "m_ObjectId": "faab6d0194c84d7692871ae36f87ac54",
  2142. "m_Id": 0,
  2143. "m_DisplayName": "In",
  2144. "m_SlotType": 0,
  2145. "m_Hidden": false,
  2146. "m_ShaderOutputName": "In",
  2147. "m_StageCapability": 3,
  2148. "m_Value": {
  2149. "x": 0.0,
  2150. "y": 0.0,
  2151. "z": 0.0,
  2152. "w": 0.0
  2153. },
  2154. "m_DefaultValue": {
  2155. "x": 0.0,
  2156. "y": 0.0,
  2157. "z": 0.0,
  2158. "w": 0.0
  2159. }
  2160. }
  2161. {
  2162. "m_SGVersion": 0,
  2163. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  2164. "m_ObjectId": "fe4c3cc527364c06b551d113c4e0fb2f",
  2165. "m_Name": "",
  2166. "m_ChildObjectList": []
  2167. }
  2168. {
  2169. "m_SGVersion": 0,
  2170. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  2171. "m_ObjectId": "ffcdf4d37c2846b69b87060346f00d86",
  2172. "m_Id": 0,
  2173. "m_DisplayName": "RGBA",
  2174. "m_SlotType": 1,
  2175. "m_Hidden": false,
  2176. "m_ShaderOutputName": "RGBA",
  2177. "m_StageCapability": 3,
  2178. "m_Value": {
  2179. "x": 0.0,
  2180. "y": 0.0,
  2181. "z": 0.0,
  2182. "w": 0.0
  2183. },
  2184. "m_DefaultValue": {
  2185. "x": 0.0,
  2186. "y": 0.0,
  2187. "z": 0.0,
  2188. "w": 0.0
  2189. },
  2190. "m_Labels": []
  2191. }