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.

ViewDirection.shadergraph 42KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "85bfb06210dd471bbd8269b5c70d605e",
  5. "m_Properties": [
  6. {
  7. "m_Id": "abd0c7a1c344469e9c8cf8ac8823d2df"
  8. },
  9. {
  10. "m_Id": "009b99837e1a4ffb92ac1b290148e6f7"
  11. }
  12. ],
  13. "m_Keywords": [],
  14. "m_Dropdowns": [],
  15. "m_CategoryData": [
  16. {
  17. "m_Id": "e40d238ad26243c3b8658facfd122aa6"
  18. }
  19. ],
  20. "m_Nodes": [
  21. {
  22. "m_Id": "256528849f3b4b60aeb128c6cc61b5d3"
  23. },
  24. {
  25. "m_Id": "4357dc94eeae42fdb8127bd345eb4684"
  26. },
  27. {
  28. "m_Id": "08f1a591b88f4e298f38a3a06e636675"
  29. },
  30. {
  31. "m_Id": "29b9f1e5a70e4df58bef8083041e8c43"
  32. },
  33. {
  34. "m_Id": "1764121c7b494329b91744739c9cb926"
  35. },
  36. {
  37. "m_Id": "3754a4970366400282ed96821fedf43a"
  38. },
  39. {
  40. "m_Id": "a2bc300e0d41436d9c429b829142ba76"
  41. },
  42. {
  43. "m_Id": "54052261ae4c487e85baabdbb5e2ec75"
  44. },
  45. {
  46. "m_Id": "138c294ae2e543a1940f96ee2dd7539e"
  47. },
  48. {
  49. "m_Id": "d31bad90162946d09cec22215af3f737"
  50. },
  51. {
  52. "m_Id": "e8b4ab3b3316488097e55471d134a918"
  53. },
  54. {
  55. "m_Id": "3354edb3c048425f9ca419369de37d6f"
  56. },
  57. {
  58. "m_Id": "dc2a36e1ea704c56a8c90d36146378c2"
  59. },
  60. {
  61. "m_Id": "125b6b455dd64ad19a1fb9fb65c99aa8"
  62. },
  63. {
  64. "m_Id": "b7a474f6b91c4a2a9c46c57da4edc60f"
  65. },
  66. {
  67. "m_Id": "0f6e7d5dae064723ab7a79525af53c9d"
  68. }
  69. ],
  70. "m_GroupDatas": [
  71. {
  72. "m_Id": "139c589797e542bdbbb9e44bd2755931"
  73. },
  74. {
  75. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  76. }
  77. ],
  78. "m_StickyNoteDatas": [
  79. {
  80. "m_Id": "386b15c1dc1648baafb431bddfacec09"
  81. },
  82. {
  83. "m_Id": "b8a6d3f0b4c84905b9e6a482e4fb722d"
  84. },
  85. {
  86. "m_Id": "86955fa0fc3847678635b41c7eada382"
  87. },
  88. {
  89. "m_Id": "d77f029b49c642cb93ed4f6c7c27e65f"
  90. },
  91. {
  92. "m_Id": "ec684f36441041c7973af8b279363de0"
  93. },
  94. {
  95. "m_Id": "d3b20b59934145c6a709313de0129b0e"
  96. },
  97. {
  98. "m_Id": "ced46a388db94855858e5d9dec9fce6f"
  99. },
  100. {
  101. "m_Id": "f5dcf059ae434a2cb27dc88799b1a731"
  102. }
  103. ],
  104. "m_Edges": [
  105. {
  106. "m_OutputSlot": {
  107. "m_Node": {
  108. "m_Id": "138c294ae2e543a1940f96ee2dd7539e"
  109. },
  110. "m_SlotId": 2
  111. },
  112. "m_InputSlot": {
  113. "m_Node": {
  114. "m_Id": "3354edb3c048425f9ca419369de37d6f"
  115. },
  116. "m_SlotId": 0
  117. }
  118. },
  119. {
  120. "m_OutputSlot": {
  121. "m_Node": {
  122. "m_Id": "1764121c7b494329b91744739c9cb926"
  123. },
  124. "m_SlotId": 0
  125. },
  126. "m_InputSlot": {
  127. "m_Node": {
  128. "m_Id": "3754a4970366400282ed96821fedf43a"
  129. },
  130. "m_SlotId": 0
  131. }
  132. },
  133. {
  134. "m_OutputSlot": {
  135. "m_Node": {
  136. "m_Id": "3354edb3c048425f9ca419369de37d6f"
  137. },
  138. "m_SlotId": 1
  139. },
  140. "m_InputSlot": {
  141. "m_Node": {
  142. "m_Id": "dc2a36e1ea704c56a8c90d36146378c2"
  143. },
  144. "m_SlotId": 0
  145. }
  146. },
  147. {
  148. "m_OutputSlot": {
  149. "m_Node": {
  150. "m_Id": "a2bc300e0d41436d9c429b829142ba76"
  151. },
  152. "m_SlotId": 0
  153. },
  154. "m_InputSlot": {
  155. "m_Node": {
  156. "m_Id": "3754a4970366400282ed96821fedf43a"
  157. },
  158. "m_SlotId": 1
  159. }
  160. },
  161. {
  162. "m_OutputSlot": {
  163. "m_Node": {
  164. "m_Id": "d31bad90162946d09cec22215af3f737"
  165. },
  166. "m_SlotId": 0
  167. },
  168. "m_InputSlot": {
  169. "m_Node": {
  170. "m_Id": "138c294ae2e543a1940f96ee2dd7539e"
  171. },
  172. "m_SlotId": 1
  173. }
  174. },
  175. {
  176. "m_OutputSlot": {
  177. "m_Node": {
  178. "m_Id": "dc2a36e1ea704c56a8c90d36146378c2"
  179. },
  180. "m_SlotId": 1
  181. },
  182. "m_InputSlot": {
  183. "m_Node": {
  184. "m_Id": "125b6b455dd64ad19a1fb9fb65c99aa8"
  185. },
  186. "m_SlotId": 0
  187. }
  188. },
  189. {
  190. "m_OutputSlot": {
  191. "m_Node": {
  192. "m_Id": "e8b4ab3b3316488097e55471d134a918"
  193. },
  194. "m_SlotId": 0
  195. },
  196. "m_InputSlot": {
  197. "m_Node": {
  198. "m_Id": "138c294ae2e543a1940f96ee2dd7539e"
  199. },
  200. "m_SlotId": 0
  201. }
  202. }
  203. ],
  204. "m_VertexContext": {
  205. "m_Position": {
  206. "x": 0.0,
  207. "y": 0.0
  208. },
  209. "m_Blocks": [
  210. {
  211. "m_Id": "256528849f3b4b60aeb128c6cc61b5d3"
  212. },
  213. {
  214. "m_Id": "4357dc94eeae42fdb8127bd345eb4684"
  215. },
  216. {
  217. "m_Id": "08f1a591b88f4e298f38a3a06e636675"
  218. }
  219. ]
  220. },
  221. "m_FragmentContext": {
  222. "m_Position": {
  223. "x": 0.0,
  224. "y": 200.0
  225. },
  226. "m_Blocks": [
  227. {
  228. "m_Id": "29b9f1e5a70e4df58bef8083041e8c43"
  229. },
  230. {
  231. "m_Id": "b7a474f6b91c4a2a9c46c57da4edc60f"
  232. },
  233. {
  234. "m_Id": "0f6e7d5dae064723ab7a79525af53c9d"
  235. }
  236. ]
  237. },
  238. "m_PreviewData": {
  239. "serializedMesh": {
  240. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  241. "m_Guid": ""
  242. },
  243. "preventRotation": false
  244. },
  245. "m_Path": "Shader Graphs",
  246. "m_GraphPrecision": 1,
  247. "m_PreviewMode": 2,
  248. "m_OutputNode": {
  249. "m_Id": ""
  250. },
  251. "m_ActiveTargets": [
  252. {
  253. "m_Id": "3a95811082ec4aa09acd1d382fdc864d"
  254. },
  255. {
  256. "m_Id": "70284f50b7d54e2eb7f1473408dee8d6"
  257. },
  258. {
  259. "m_Id": "70612408391f4688b8fb956853837bdf"
  260. }
  261. ]
  262. }
  263. {
  264. "m_SGVersion": 1,
  265. "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
  266. "m_ObjectId": "009b99837e1a4ffb92ac1b290148e6f7",
  267. "m_Guid": {
  268. "m_GuidSerialized": "7062c1d0-4d34-4713-a1ba-d82d847e773f"
  269. },
  270. "m_Name": "Mask Length",
  271. "m_DefaultRefNameVersion": 1,
  272. "m_RefNameGeneratedByDisplayName": "Mask Length",
  273. "m_DefaultReferenceName": "_Mask_Length",
  274. "m_OverrideReferenceName": "",
  275. "m_GeneratePropertyBlock": true,
  276. "m_UseCustomSlotLabel": false,
  277. "m_CustomSlotLabel": "",
  278. "m_DismissedVersion": 0,
  279. "m_Precision": 0,
  280. "overrideHLSLDeclaration": false,
  281. "hlslDeclarationOverride": 0,
  282. "m_Hidden": false,
  283. "m_Value": 0.0,
  284. "m_FloatType": 0,
  285. "m_RangeValues": {
  286. "x": 0.0,
  287. "y": 1.0
  288. }
  289. }
  290. {
  291. "m_SGVersion": 0,
  292. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  293. "m_ObjectId": "053966ed3bdb49debeb3145a7c71bbb6",
  294. "m_Id": 2,
  295. "m_DisplayName": "Out",
  296. "m_SlotType": 1,
  297. "m_Hidden": false,
  298. "m_ShaderOutputName": "Out",
  299. "m_StageCapability": 3,
  300. "m_Value": 0.0,
  301. "m_DefaultValue": 0.0,
  302. "m_Labels": []
  303. }
  304. {
  305. "m_SGVersion": 0,
  306. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  307. "m_ObjectId": "08f1a591b88f4e298f38a3a06e636675",
  308. "m_Group": {
  309. "m_Id": ""
  310. },
  311. "m_Name": "VertexDescription.Tangent",
  312. "m_DrawState": {
  313. "m_Expanded": true,
  314. "m_Position": {
  315. "serializedVersion": "2",
  316. "x": 0.0,
  317. "y": 0.0,
  318. "width": 0.0,
  319. "height": 0.0
  320. }
  321. },
  322. "m_Slots": [
  323. {
  324. "m_Id": "c6046aa3999b4df1941340bfe394a13f"
  325. }
  326. ],
  327. "synonyms": [],
  328. "m_Precision": 0,
  329. "m_PreviewExpanded": true,
  330. "m_DismissedVersion": 0,
  331. "m_PreviewMode": 0,
  332. "m_CustomColors": {
  333. "m_SerializableColors": []
  334. },
  335. "m_SerializedDescriptor": "VertexDescription.Tangent"
  336. }
  337. {
  338. "m_SGVersion": 0,
  339. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  340. "m_ObjectId": "0bc209d7dde24006b2f879abf0766999",
  341. "m_Id": 0,
  342. "m_DisplayName": "Out",
  343. "m_SlotType": 1,
  344. "m_Hidden": false,
  345. "m_ShaderOutputName": "Out",
  346. "m_StageCapability": 3,
  347. "m_Value": {
  348. "x": 0.0,
  349. "y": 0.0,
  350. "z": 0.0
  351. },
  352. "m_DefaultValue": {
  353. "x": 0.0,
  354. "y": 0.0,
  355. "z": 0.0
  356. },
  357. "m_Labels": []
  358. }
  359. {
  360. "m_SGVersion": 0,
  361. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  362. "m_ObjectId": "0f6e7d5dae064723ab7a79525af53c9d",
  363. "m_Group": {
  364. "m_Id": ""
  365. },
  366. "m_Name": "SurfaceDescription.Alpha",
  367. "m_DrawState": {
  368. "m_Expanded": true,
  369. "m_Position": {
  370. "serializedVersion": "2",
  371. "x": 0.0,
  372. "y": 0.0,
  373. "width": 0.0,
  374. "height": 0.0
  375. }
  376. },
  377. "m_Slots": [
  378. {
  379. "m_Id": "7931ddd363be4afe8ecba63d0de405d8"
  380. }
  381. ],
  382. "synonyms": [],
  383. "m_Precision": 0,
  384. "m_PreviewExpanded": true,
  385. "m_DismissedVersion": 0,
  386. "m_PreviewMode": 0,
  387. "m_CustomColors": {
  388. "m_SerializableColors": []
  389. },
  390. "m_SerializedDescriptor": "SurfaceDescription.Alpha"
  391. }
  392. {
  393. "m_SGVersion": 2,
  394. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  395. "m_ObjectId": "0fa9908ad6574e76a9fe9cf0a8df7576"
  396. }
  397. {
  398. "m_SGVersion": 0,
  399. "m_Type": "UnityEditor.ShaderGraph.PowerNode",
  400. "m_ObjectId": "125b6b455dd64ad19a1fb9fb65c99aa8",
  401. "m_Group": {
  402. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  403. },
  404. "m_Name": "Power",
  405. "m_DrawState": {
  406. "m_Expanded": true,
  407. "m_Position": {
  408. "serializedVersion": "2",
  409. "x": -739.0000610351563,
  410. "y": 427.5000305175781,
  411. "width": 208.00006103515626,
  412. "height": 302.0000305175781
  413. }
  414. },
  415. "m_Slots": [
  416. {
  417. "m_Id": "c350b5f56ff545c0bc5e633e39b04497"
  418. },
  419. {
  420. "m_Id": "64c2d71a967f4344aa8066210e046559"
  421. },
  422. {
  423. "m_Id": "d146042b9ea14109bc26432a1b084e50"
  424. }
  425. ],
  426. "synonyms": [],
  427. "m_Precision": 0,
  428. "m_PreviewExpanded": true,
  429. "m_DismissedVersion": 0,
  430. "m_PreviewMode": 0,
  431. "m_CustomColors": {
  432. "m_SerializableColors": []
  433. }
  434. }
  435. {
  436. "m_SGVersion": 0,
  437. "m_Type": "UnityEditor.ShaderGraph.DotProductNode",
  438. "m_ObjectId": "138c294ae2e543a1940f96ee2dd7539e",
  439. "m_Group": {
  440. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  441. },
  442. "m_Name": "Dot Product",
  443. "m_DrawState": {
  444. "m_Expanded": true,
  445. "m_Position": {
  446. "serializedVersion": "2",
  447. "x": -1327.0,
  448. "y": 427.5000305175781,
  449. "width": 207.9998779296875,
  450. "height": 302.0000305175781
  451. }
  452. },
  453. "m_Slots": [
  454. {
  455. "m_Id": "50cd89c2de944bbd893e450521ba0f88"
  456. },
  457. {
  458. "m_Id": "ddfb5ee618ef4264af962f71b4e19b68"
  459. },
  460. {
  461. "m_Id": "053966ed3bdb49debeb3145a7c71bbb6"
  462. }
  463. ],
  464. "synonyms": [
  465. "scalar product"
  466. ],
  467. "m_Precision": 0,
  468. "m_PreviewExpanded": true,
  469. "m_DismissedVersion": 0,
  470. "m_PreviewMode": 0,
  471. "m_CustomColors": {
  472. "m_SerializableColors": []
  473. }
  474. }
  475. {
  476. "m_SGVersion": 0,
  477. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  478. "m_ObjectId": "139c589797e542bdbbb9e44bd2755931",
  479. "m_Title": "Camera Facing",
  480. "m_Position": {
  481. "x": -2109.500244140625,
  482. "y": 298.00006103515627
  483. }
  484. }
  485. {
  486. "m_SGVersion": 1,
  487. "m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode",
  488. "m_ObjectId": "1764121c7b494329b91744739c9cb926",
  489. "m_Group": {
  490. "m_Id": "139c589797e542bdbbb9e44bd2755931"
  491. },
  492. "m_Name": "View Direction",
  493. "m_DrawState": {
  494. "m_Expanded": true,
  495. "m_Position": {
  496. "serializedVersion": "2",
  497. "x": -2084.500244140625,
  498. "y": 356.5000305175781,
  499. "width": 206.000244140625,
  500. "height": 130.50003051757813
  501. }
  502. },
  503. "m_Slots": [
  504. {
  505. "m_Id": "a61f96cfbb7b4c39b72b61c6e8c7259a"
  506. }
  507. ],
  508. "synonyms": [
  509. "eye direction"
  510. ],
  511. "m_Precision": 0,
  512. "m_PreviewExpanded": false,
  513. "m_DismissedVersion": 0,
  514. "m_PreviewMode": 2,
  515. "m_CustomColors": {
  516. "m_SerializableColors": []
  517. },
  518. "m_Space": 2
  519. }
  520. {
  521. "m_SGVersion": 0,
  522. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  523. "m_ObjectId": "23478e0a7d7a4a9596e844ffb869f8a7"
  524. }
  525. {
  526. "m_SGVersion": 0,
  527. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  528. "m_ObjectId": "24cd877f518c45aea05210820718e938",
  529. "m_Id": 0,
  530. "m_DisplayName": "Out",
  531. "m_SlotType": 1,
  532. "m_Hidden": false,
  533. "m_ShaderOutputName": "Out",
  534. "m_StageCapability": 3,
  535. "m_Value": {
  536. "x": 0.0,
  537. "y": 0.0,
  538. "z": 0.0
  539. },
  540. "m_DefaultValue": {
  541. "x": 0.0,
  542. "y": 0.0,
  543. "z": 0.0
  544. },
  545. "m_Labels": []
  546. }
  547. {
  548. "m_SGVersion": 0,
  549. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  550. "m_ObjectId": "256528849f3b4b60aeb128c6cc61b5d3",
  551. "m_Group": {
  552. "m_Id": ""
  553. },
  554. "m_Name": "VertexDescription.Position",
  555. "m_DrawState": {
  556. "m_Expanded": true,
  557. "m_Position": {
  558. "serializedVersion": "2",
  559. "x": 0.0,
  560. "y": 0.0,
  561. "width": 0.0,
  562. "height": 0.0
  563. }
  564. },
  565. "m_Slots": [
  566. {
  567. "m_Id": "632259da20534eb68acafe232cefff67"
  568. }
  569. ],
  570. "synonyms": [],
  571. "m_Precision": 0,
  572. "m_PreviewExpanded": true,
  573. "m_DismissedVersion": 0,
  574. "m_PreviewMode": 0,
  575. "m_CustomColors": {
  576. "m_SerializableColors": []
  577. },
  578. "m_SerializedDescriptor": "VertexDescription.Position"
  579. }
  580. {
  581. "m_SGVersion": 0,
  582. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  583. "m_ObjectId": "29b9f1e5a70e4df58bef8083041e8c43",
  584. "m_Group": {
  585. "m_Id": ""
  586. },
  587. "m_Name": "SurfaceDescription.BaseColor",
  588. "m_DrawState": {
  589. "m_Expanded": true,
  590. "m_Position": {
  591. "serializedVersion": "2",
  592. "x": 0.0,
  593. "y": 0.0,
  594. "width": 0.0,
  595. "height": 0.0
  596. }
  597. },
  598. "m_Slots": [
  599. {
  600. "m_Id": "cdbb46f907e14f27a7545940ee4852d5"
  601. }
  602. ],
  603. "synonyms": [],
  604. "m_Precision": 0,
  605. "m_PreviewExpanded": true,
  606. "m_DismissedVersion": 0,
  607. "m_PreviewMode": 0,
  608. "m_CustomColors": {
  609. "m_SerializableColors": []
  610. },
  611. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  612. }
  613. {
  614. "m_SGVersion": 0,
  615. "m_Type": "UnityEditor.ShaderGraph.SaturateNode",
  616. "m_ObjectId": "3354edb3c048425f9ca419369de37d6f",
  617. "m_Group": {
  618. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  619. },
  620. "m_Name": "Saturate",
  621. "m_DrawState": {
  622. "m_Expanded": true,
  623. "m_Position": {
  624. "serializedVersion": "2",
  625. "x": -1119.0001220703125,
  626. "y": 427.5000305175781,
  627. "width": 127.5001220703125,
  628. "height": 93.99996948242188
  629. }
  630. },
  631. "m_Slots": [
  632. {
  633. "m_Id": "f374a56ca9994a318fb99cf8965674e4"
  634. },
  635. {
  636. "m_Id": "9528f22ccebb408cbc10224517b93646"
  637. }
  638. ],
  639. "synonyms": [
  640. "clamp"
  641. ],
  642. "m_Precision": 0,
  643. "m_PreviewExpanded": false,
  644. "m_DismissedVersion": 0,
  645. "m_PreviewMode": 0,
  646. "m_CustomColors": {
  647. "m_SerializableColors": []
  648. }
  649. }
  650. {
  651. "m_SGVersion": 0,
  652. "m_Type": "UnityEditor.ShaderGraph.DotProductNode",
  653. "m_ObjectId": "3754a4970366400282ed96821fedf43a",
  654. "m_Group": {
  655. "m_Id": "139c589797e542bdbbb9e44bd2755931"
  656. },
  657. "m_Name": "Dot Product",
  658. "m_DrawState": {
  659. "m_Expanded": true,
  660. "m_Position": {
  661. "serializedVersion": "2",
  662. "x": -1843.5,
  663. "y": 408.5000305175781,
  664. "width": 208.0,
  665. "height": 302.0000305175781
  666. }
  667. },
  668. "m_Slots": [
  669. {
  670. "m_Id": "6f3b6282934b405da247cee68d4a9b11"
  671. },
  672. {
  673. "m_Id": "fbfe7c389c114d3eb982d246fff60312"
  674. },
  675. {
  676. "m_Id": "e1d65796981f4ab7bed1cd13c7f21cdb"
  677. }
  678. ],
  679. "synonyms": [
  680. "scalar product"
  681. ],
  682. "m_Precision": 0,
  683. "m_PreviewExpanded": true,
  684. "m_DismissedVersion": 0,
  685. "m_PreviewMode": 0,
  686. "m_CustomColors": {
  687. "m_SerializableColors": []
  688. }
  689. }
  690. {
  691. "m_SGVersion": 0,
  692. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  693. "m_ObjectId": "386b15c1dc1648baafb431bddfacec09",
  694. "m_Title": "View Direction Node",
  695. "m_Content": "The View Direction Node brings in a unit length vector that points in the direction of the camera.",
  696. "m_TextSize": 0,
  697. "m_Theme": 0,
  698. "m_Position": {
  699. "serializedVersion": "2",
  700. "x": -1306.0001220703125,
  701. "y": -68.50000762939453,
  702. "width": 213.1502685546875,
  703. "height": 82.658203125
  704. },
  705. "m_Group": {
  706. "m_Id": ""
  707. }
  708. }
  709. {
  710. "m_SGVersion": 2,
  711. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  712. "m_ObjectId": "3a95811082ec4aa09acd1d382fdc864d",
  713. "m_ActiveSubTarget": {
  714. "m_Id": "9640d0caa7ab49d49602a15f0f6cf19a"
  715. },
  716. "m_AllowMaterialOverride": false,
  717. "m_SurfaceType": 0,
  718. "m_ZWriteControl": 0,
  719. "m_ZTestMode": 4,
  720. "m_AlphaMode": 0,
  721. "m_RenderFace": 2,
  722. "m_AlphaClip": false,
  723. "m_CustomEditorGUI": ""
  724. }
  725. {
  726. "m_SGVersion": 0,
  727. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  728. "m_ObjectId": "4357dc94eeae42fdb8127bd345eb4684",
  729. "m_Group": {
  730. "m_Id": ""
  731. },
  732. "m_Name": "VertexDescription.Normal",
  733. "m_DrawState": {
  734. "m_Expanded": true,
  735. "m_Position": {
  736. "serializedVersion": "2",
  737. "x": 0.0,
  738. "y": 0.0,
  739. "width": 0.0,
  740. "height": 0.0
  741. }
  742. },
  743. "m_Slots": [
  744. {
  745. "m_Id": "5ba9ff0c80f44f1684d1b2bdeb998f6b"
  746. }
  747. ],
  748. "synonyms": [],
  749. "m_Precision": 0,
  750. "m_PreviewExpanded": true,
  751. "m_DismissedVersion": 0,
  752. "m_PreviewMode": 0,
  753. "m_CustomColors": {
  754. "m_SerializableColors": []
  755. },
  756. "m_SerializedDescriptor": "VertexDescription.Normal"
  757. }
  758. {
  759. "m_SGVersion": 0,
  760. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  761. "m_ObjectId": "44c1288091aa4a41a30f56c4a2d9aff7",
  762. "m_Id": 1,
  763. "m_DisplayName": "Out",
  764. "m_SlotType": 1,
  765. "m_Hidden": false,
  766. "m_ShaderOutputName": "Out",
  767. "m_StageCapability": 3,
  768. "m_Value": {
  769. "x": 0.0,
  770. "y": 0.0,
  771. "z": 0.0,
  772. "w": 0.0
  773. },
  774. "m_DefaultValue": {
  775. "x": 0.0,
  776. "y": 0.0,
  777. "z": 0.0,
  778. "w": 0.0
  779. }
  780. }
  781. {
  782. "m_SGVersion": 0,
  783. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  784. "m_ObjectId": "50cd89c2de944bbd893e450521ba0f88",
  785. "m_Id": 0,
  786. "m_DisplayName": "A",
  787. "m_SlotType": 0,
  788. "m_Hidden": false,
  789. "m_ShaderOutputName": "A",
  790. "m_StageCapability": 3,
  791. "m_Value": {
  792. "x": 0.0,
  793. "y": 0.0,
  794. "z": 0.0,
  795. "w": 0.0
  796. },
  797. "m_DefaultValue": {
  798. "x": 0.0,
  799. "y": 0.0,
  800. "z": 0.0,
  801. "w": 0.0
  802. }
  803. }
  804. {
  805. "m_SGVersion": 1,
  806. "m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode",
  807. "m_ObjectId": "54052261ae4c487e85baabdbb5e2ec75",
  808. "m_Group": {
  809. "m_Id": ""
  810. },
  811. "m_Name": "View Direction",
  812. "m_DrawState": {
  813. "m_Expanded": true,
  814. "m_Position": {
  815. "serializedVersion": "2",
  816. "x": -1522.5001220703125,
  817. "y": -70.00001525878906,
  818. "width": 208.0,
  819. "height": 314.50006103515627
  820. }
  821. },
  822. "m_Slots": [
  823. {
  824. "m_Id": "24cd877f518c45aea05210820718e938"
  825. }
  826. ],
  827. "synonyms": [
  828. "eye direction"
  829. ],
  830. "m_Precision": 0,
  831. "m_PreviewExpanded": true,
  832. "m_DismissedVersion": 0,
  833. "m_PreviewMode": 2,
  834. "m_CustomColors": {
  835. "m_SerializableColors": []
  836. },
  837. "m_Space": 2
  838. }
  839. {
  840. "m_SGVersion": 0,
  841. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  842. "m_ObjectId": "5ba9ff0c80f44f1684d1b2bdeb998f6b",
  843. "m_Id": 0,
  844. "m_DisplayName": "Normal",
  845. "m_SlotType": 0,
  846. "m_Hidden": false,
  847. "m_ShaderOutputName": "Normal",
  848. "m_StageCapability": 1,
  849. "m_Value": {
  850. "x": 0.0,
  851. "y": 0.0,
  852. "z": 0.0
  853. },
  854. "m_DefaultValue": {
  855. "x": 0.0,
  856. "y": 0.0,
  857. "z": 0.0
  858. },
  859. "m_Labels": [],
  860. "m_Space": 0
  861. }
  862. {
  863. "m_SGVersion": 0,
  864. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  865. "m_ObjectId": "60d83e9204744dfa9109b3d6df146d77",
  866. "m_Id": 0,
  867. "m_DisplayName": "Out",
  868. "m_SlotType": 1,
  869. "m_Hidden": false,
  870. "m_ShaderOutputName": "Out",
  871. "m_StageCapability": 3,
  872. "m_Value": {
  873. "x": 0.0,
  874. "y": 0.0,
  875. "z": 1.0
  876. },
  877. "m_DefaultValue": {
  878. "x": 0.0,
  879. "y": 0.0,
  880. "z": 0.0
  881. },
  882. "m_Labels": []
  883. }
  884. {
  885. "m_SGVersion": 0,
  886. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  887. "m_ObjectId": "622ee3d03331483f9d1a64ea4d51e578",
  888. "m_MaterialNeedsUpdateHash": 0,
  889. "m_SurfaceType": 0,
  890. "m_RenderingPass": 1,
  891. "m_BlendMode": 0,
  892. "m_ZTest": 4,
  893. "m_ZWrite": false,
  894. "m_TransparentCullMode": 2,
  895. "m_OpaqueCullMode": 2,
  896. "m_SortPriority": 0,
  897. "m_AlphaTest": false,
  898. "m_TransparentDepthPrepass": false,
  899. "m_TransparentDepthPostpass": false,
  900. "m_SupportLodCrossFade": false,
  901. "m_DoubleSidedMode": 0,
  902. "m_DOTSInstancing": false,
  903. "m_CustomVelocity": false,
  904. "m_Tessellation": false,
  905. "m_TessellationMode": 0,
  906. "m_TessellationFactorMinDistance": 20.0,
  907. "m_TessellationFactorMaxDistance": 50.0,
  908. "m_TessellationFactorTriangleSize": 100.0,
  909. "m_TessellationShapeFactor": 0.75,
  910. "m_TessellationBackFaceCullEpsilon": -0.25,
  911. "m_TessellationMaxDisplacement": 0.009999999776482582,
  912. "m_DebugSymbols": false,
  913. "m_Version": 2,
  914. "inspectorFoldoutMask": 0
  915. }
  916. {
  917. "m_SGVersion": 0,
  918. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  919. "m_ObjectId": "632259da20534eb68acafe232cefff67",
  920. "m_Id": 0,
  921. "m_DisplayName": "Position",
  922. "m_SlotType": 0,
  923. "m_Hidden": false,
  924. "m_ShaderOutputName": "Position",
  925. "m_StageCapability": 1,
  926. "m_Value": {
  927. "x": 0.0,
  928. "y": 0.0,
  929. "z": 0.0
  930. },
  931. "m_DefaultValue": {
  932. "x": 0.0,
  933. "y": 0.0,
  934. "z": 0.0
  935. },
  936. "m_Labels": [],
  937. "m_Space": 0
  938. }
  939. {
  940. "m_SGVersion": 0,
  941. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  942. "m_ObjectId": "64c2d71a967f4344aa8066210e046559",
  943. "m_Id": 1,
  944. "m_DisplayName": "B",
  945. "m_SlotType": 0,
  946. "m_Hidden": false,
  947. "m_ShaderOutputName": "B",
  948. "m_StageCapability": 3,
  949. "m_Value": {
  950. "x": 2.0,
  951. "y": 2.0,
  952. "z": 2.0,
  953. "w": 2.0
  954. },
  955. "m_DefaultValue": {
  956. "x": 0.0,
  957. "y": 0.0,
  958. "z": 0.0,
  959. "w": 0.0
  960. }
  961. }
  962. {
  963. "m_SGVersion": 0,
  964. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  965. "m_ObjectId": "6f3b6282934b405da247cee68d4a9b11",
  966. "m_Id": 0,
  967. "m_DisplayName": "A",
  968. "m_SlotType": 0,
  969. "m_Hidden": false,
  970. "m_ShaderOutputName": "A",
  971. "m_StageCapability": 3,
  972. "m_Value": {
  973. "x": 0.0,
  974. "y": 0.0,
  975. "z": 0.0,
  976. "w": 0.0
  977. },
  978. "m_DefaultValue": {
  979. "x": 0.0,
  980. "y": 0.0,
  981. "z": 0.0,
  982. "w": 0.0
  983. }
  984. }
  985. {
  986. "m_SGVersion": 0,
  987. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  988. "m_ObjectId": "70284f50b7d54e2eb7f1473408dee8d6",
  989. "m_ActiveSubTarget": {
  990. "m_Id": "23478e0a7d7a4a9596e844ffb869f8a7"
  991. },
  992. "m_Datas": [
  993. {
  994. "m_Id": "9f3ca3768c524798b95f3bd98940a4a4"
  995. },
  996. {
  997. "m_Id": "622ee3d03331483f9d1a64ea4d51e578"
  998. },
  999. {
  1000. "m_Id": "f73754bea63e4eee9eaae60f05a37f2a"
  1001. }
  1002. ],
  1003. "m_CustomEditorGUI": "",
  1004. "m_SupportVFX": false,
  1005. "m_SupportLineRendering": false
  1006. }
  1007. {
  1008. "m_SGVersion": 1,
  1009. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  1010. "m_ObjectId": "70612408391f4688b8fb956853837bdf",
  1011. "m_Datas": [],
  1012. "m_ActiveSubTarget": {
  1013. "m_Id": "0fa9908ad6574e76a9fe9cf0a8df7576"
  1014. },
  1015. "m_AllowMaterialOverride": false,
  1016. "m_SurfaceType": 0,
  1017. "m_ZTestMode": 4,
  1018. "m_ZWriteControl": 0,
  1019. "m_AlphaMode": 0,
  1020. "m_RenderFace": 2,
  1021. "m_AlphaClip": false,
  1022. "m_CastShadows": true,
  1023. "m_ReceiveShadows": true,
  1024. "m_AdditionalMotionVectorMode": 0,
  1025. "m_AlembicMotionVectors": false,
  1026. "m_SupportsLODCrossFade": false,
  1027. "m_CustomEditorGUI": "",
  1028. "m_SupportVFX": false
  1029. }
  1030. {
  1031. "m_SGVersion": 0,
  1032. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1033. "m_ObjectId": "7931ddd363be4afe8ecba63d0de405d8",
  1034. "m_Id": 0,
  1035. "m_DisplayName": "Alpha",
  1036. "m_SlotType": 0,
  1037. "m_Hidden": false,
  1038. "m_ShaderOutputName": "Alpha",
  1039. "m_StageCapability": 2,
  1040. "m_Value": 1.0,
  1041. "m_DefaultValue": 1.0,
  1042. "m_Labels": []
  1043. }
  1044. {
  1045. "m_SGVersion": 0,
  1046. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  1047. "m_ObjectId": "7ef8ac2de3a54424922789d150698ad0",
  1048. "m_Title": "Fresnel Effect",
  1049. "m_Position": {
  1050. "x": -1601.5,
  1051. "y": 295.50006103515627
  1052. }
  1053. }
  1054. {
  1055. "m_SGVersion": 0,
  1056. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1057. "m_ObjectId": "86955fa0fc3847678635b41c7eada382",
  1058. "m_Title": "",
  1059. "m_Content": "By doing a dot product between the View Direction and the Normal Vector, you can create a mask that's white when the surface is facing the camera and black when it's facing away.",
  1060. "m_TextSize": 0,
  1061. "m_Theme": 0,
  1062. "m_Position": {
  1063. "serializedVersion": "2",
  1064. "x": -2078.000244140625,
  1065. "y": 625.5000610351563,
  1066. "width": 200.0001220703125,
  1067. "height": 106.5
  1068. },
  1069. "m_Group": {
  1070. "m_Id": "139c589797e542bdbbb9e44bd2755931"
  1071. }
  1072. }
  1073. {
  1074. "m_SGVersion": 0,
  1075. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1076. "m_ObjectId": "9528f22ccebb408cbc10224517b93646",
  1077. "m_Id": 1,
  1078. "m_DisplayName": "Out",
  1079. "m_SlotType": 1,
  1080. "m_Hidden": false,
  1081. "m_ShaderOutputName": "Out",
  1082. "m_StageCapability": 3,
  1083. "m_Value": {
  1084. "x": 0.0,
  1085. "y": 0.0,
  1086. "z": 0.0,
  1087. "w": 0.0
  1088. },
  1089. "m_DefaultValue": {
  1090. "x": 0.0,
  1091. "y": 0.0,
  1092. "z": 0.0,
  1093. "w": 0.0
  1094. }
  1095. }
  1096. {
  1097. "m_SGVersion": 0,
  1098. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  1099. "m_ObjectId": "9640d0caa7ab49d49602a15f0f6cf19a"
  1100. }
  1101. {
  1102. "m_SGVersion": 0,
  1103. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  1104. "m_ObjectId": "97c4f93bb8674d5892cb999f36ab3371",
  1105. "m_Id": 0,
  1106. "m_DisplayName": "Out",
  1107. "m_SlotType": 1,
  1108. "m_Hidden": false,
  1109. "m_ShaderOutputName": "Out",
  1110. "m_StageCapability": 3,
  1111. "m_Value": {
  1112. "x": 0.0,
  1113. "y": 0.0,
  1114. "z": 1.0
  1115. },
  1116. "m_DefaultValue": {
  1117. "x": 0.0,
  1118. "y": 0.0,
  1119. "z": 0.0
  1120. },
  1121. "m_Labels": []
  1122. }
  1123. {
  1124. "m_SGVersion": 0,
  1125. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1126. "m_ObjectId": "9a4601fad6bf4116aff1e460d0929d8f",
  1127. "m_Id": 0,
  1128. "m_DisplayName": "In",
  1129. "m_SlotType": 0,
  1130. "m_Hidden": false,
  1131. "m_ShaderOutputName": "In",
  1132. "m_StageCapability": 3,
  1133. "m_Value": {
  1134. "x": 1.0,
  1135. "y": 1.0,
  1136. "z": 1.0,
  1137. "w": 1.0
  1138. },
  1139. "m_DefaultValue": {
  1140. "x": 0.0,
  1141. "y": 0.0,
  1142. "z": 0.0,
  1143. "w": 0.0
  1144. }
  1145. }
  1146. {
  1147. "m_SGVersion": 0,
  1148. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  1149. "m_ObjectId": "9f3ca3768c524798b95f3bd98940a4a4",
  1150. "m_Distortion": false,
  1151. "m_DistortionMode": 0,
  1152. "m_DistortionDepthTest": true,
  1153. "m_AddPrecomputedVelocity": false,
  1154. "m_TransparentWritesMotionVec": false,
  1155. "m_DepthOffset": false,
  1156. "m_ConservativeDepthOffset": false,
  1157. "m_TransparencyFog": true,
  1158. "m_AlphaTestShadow": false,
  1159. "m_BackThenFrontRendering": false,
  1160. "m_TransparentDepthPrepass": false,
  1161. "m_TransparentDepthPostpass": false,
  1162. "m_TransparentPerPixelSorting": false,
  1163. "m_SupportLodCrossFade": false
  1164. }
  1165. {
  1166. "m_SGVersion": 0,
  1167. "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
  1168. "m_ObjectId": "a2bc300e0d41436d9c429b829142ba76",
  1169. "m_Group": {
  1170. "m_Id": "139c589797e542bdbbb9e44bd2755931"
  1171. },
  1172. "m_Name": "Normal Vector",
  1173. "m_DrawState": {
  1174. "m_Expanded": true,
  1175. "m_Position": {
  1176. "serializedVersion": "2",
  1177. "x": -2084.500244140625,
  1178. "y": 487.00006103515627,
  1179. "width": 206.000244140625,
  1180. "height": 130.49993896484376
  1181. }
  1182. },
  1183. "m_Slots": [
  1184. {
  1185. "m_Id": "97c4f93bb8674d5892cb999f36ab3371"
  1186. }
  1187. ],
  1188. "synonyms": [
  1189. "surface direction"
  1190. ],
  1191. "m_Precision": 0,
  1192. "m_PreviewExpanded": false,
  1193. "m_DismissedVersion": 0,
  1194. "m_PreviewMode": 2,
  1195. "m_CustomColors": {
  1196. "m_SerializableColors": []
  1197. },
  1198. "m_Space": 2
  1199. }
  1200. {
  1201. "m_SGVersion": 0,
  1202. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  1203. "m_ObjectId": "a61f96cfbb7b4c39b72b61c6e8c7259a",
  1204. "m_Id": 0,
  1205. "m_DisplayName": "Out",
  1206. "m_SlotType": 1,
  1207. "m_Hidden": false,
  1208. "m_ShaderOutputName": "Out",
  1209. "m_StageCapability": 3,
  1210. "m_Value": {
  1211. "x": 0.0,
  1212. "y": 0.0,
  1213. "z": 0.0
  1214. },
  1215. "m_DefaultValue": {
  1216. "x": 0.0,
  1217. "y": 0.0,
  1218. "z": 0.0
  1219. },
  1220. "m_Labels": []
  1221. }
  1222. {
  1223. "m_SGVersion": 1,
  1224. "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
  1225. "m_ObjectId": "abd0c7a1c344469e9c8cf8ac8823d2df",
  1226. "m_Guid": {
  1227. "m_GuidSerialized": "430c58cb-aa46-4b18-8dc0-1eaf3425540b"
  1228. },
  1229. "m_Name": "Mask Start Distance",
  1230. "m_DefaultRefNameVersion": 1,
  1231. "m_RefNameGeneratedByDisplayName": "Mask Start Distance",
  1232. "m_DefaultReferenceName": "_Mask_Start_Distance",
  1233. "m_OverrideReferenceName": "",
  1234. "m_GeneratePropertyBlock": true,
  1235. "m_UseCustomSlotLabel": false,
  1236. "m_CustomSlotLabel": "",
  1237. "m_DismissedVersion": 0,
  1238. "m_Precision": 0,
  1239. "overrideHLSLDeclaration": false,
  1240. "hlslDeclarationOverride": 0,
  1241. "m_Hidden": false,
  1242. "m_Value": 0.0,
  1243. "m_FloatType": 0,
  1244. "m_RangeValues": {
  1245. "x": 0.0,
  1246. "y": 1.0
  1247. }
  1248. }
  1249. {
  1250. "m_SGVersion": 0,
  1251. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  1252. "m_ObjectId": "b7a474f6b91c4a2a9c46c57da4edc60f",
  1253. "m_Group": {
  1254. "m_Id": ""
  1255. },
  1256. "m_Name": "SurfaceDescription.Emission",
  1257. "m_DrawState": {
  1258. "m_Expanded": true,
  1259. "m_Position": {
  1260. "serializedVersion": "2",
  1261. "x": 0.0,
  1262. "y": 0.0,
  1263. "width": 0.0,
  1264. "height": 0.0
  1265. }
  1266. },
  1267. "m_Slots": [
  1268. {
  1269. "m_Id": "ec75ec60f1594dc88f6063c521c5f092"
  1270. }
  1271. ],
  1272. "synonyms": [],
  1273. "m_Precision": 0,
  1274. "m_PreviewExpanded": true,
  1275. "m_DismissedVersion": 0,
  1276. "m_PreviewMode": 0,
  1277. "m_CustomColors": {
  1278. "m_SerializableColors": []
  1279. },
  1280. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  1281. }
  1282. {
  1283. "m_SGVersion": 0,
  1284. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1285. "m_ObjectId": "b8a6d3f0b4c84905b9e6a482e4fb722d",
  1286. "m_Title": "",
  1287. "m_Content": "The difference between the View Vector and the View Direction:\n\nThe View Vector is a line that extends all the way from the current fragment or vertex to the camera - so it can be used to get the DISTANCE to the camera.\n\nThe View Direction is a normalized vector (so it's only 1 unit long). It's best used to find the ANGLE of the camera and other vectors.\n\nBoth vectors point in the same direction.",
  1288. "m_TextSize": 0,
  1289. "m_Theme": 0,
  1290. "m_Position": {
  1291. "serializedVersion": "2",
  1292. "x": -1091.5001220703125,
  1293. "y": -69.00000762939453,
  1294. "width": 200.00006103515626,
  1295. "height": 234.50001525878907
  1296. },
  1297. "m_Group": {
  1298. "m_Id": ""
  1299. }
  1300. }
  1301. {
  1302. "m_SGVersion": 0,
  1303. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1304. "m_ObjectId": "c350b5f56ff545c0bc5e633e39b04497",
  1305. "m_Id": 0,
  1306. "m_DisplayName": "A",
  1307. "m_SlotType": 0,
  1308. "m_Hidden": false,
  1309. "m_ShaderOutputName": "A",
  1310. "m_StageCapability": 3,
  1311. "m_Value": {
  1312. "x": 0.0,
  1313. "y": 0.0,
  1314. "z": 0.0,
  1315. "w": 0.0
  1316. },
  1317. "m_DefaultValue": {
  1318. "x": 0.0,
  1319. "y": 0.0,
  1320. "z": 0.0,
  1321. "w": 0.0
  1322. }
  1323. }
  1324. {
  1325. "m_SGVersion": 0,
  1326. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  1327. "m_ObjectId": "c6046aa3999b4df1941340bfe394a13f",
  1328. "m_Id": 0,
  1329. "m_DisplayName": "Tangent",
  1330. "m_SlotType": 0,
  1331. "m_Hidden": false,
  1332. "m_ShaderOutputName": "Tangent",
  1333. "m_StageCapability": 1,
  1334. "m_Value": {
  1335. "x": 0.0,
  1336. "y": 0.0,
  1337. "z": 0.0
  1338. },
  1339. "m_DefaultValue": {
  1340. "x": 0.0,
  1341. "y": 0.0,
  1342. "z": 0.0
  1343. },
  1344. "m_Labels": [],
  1345. "m_Space": 0
  1346. }
  1347. {
  1348. "m_SGVersion": 0,
  1349. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  1350. "m_ObjectId": "cdbb46f907e14f27a7545940ee4852d5",
  1351. "m_Id": 0,
  1352. "m_DisplayName": "Base Color",
  1353. "m_SlotType": 0,
  1354. "m_Hidden": false,
  1355. "m_ShaderOutputName": "BaseColor",
  1356. "m_StageCapability": 2,
  1357. "m_Value": {
  1358. "x": 0.5,
  1359. "y": 0.5,
  1360. "z": 0.5
  1361. },
  1362. "m_DefaultValue": {
  1363. "x": 0.0,
  1364. "y": 0.0,
  1365. "z": 0.0
  1366. },
  1367. "m_Labels": [],
  1368. "m_ColorMode": 0,
  1369. "m_DefaultColor": {
  1370. "r": 0.5,
  1371. "g": 0.5,
  1372. "b": 0.5,
  1373. "a": 1.0
  1374. }
  1375. }
  1376. {
  1377. "m_SGVersion": 0,
  1378. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1379. "m_ObjectId": "ced46a388db94855858e5d9dec9fce6f",
  1380. "m_Title": "",
  1381. "m_Content": "Raising the result to a power controls the falloff curve.",
  1382. "m_TextSize": 0,
  1383. "m_Theme": 0,
  1384. "m_Position": {
  1385. "serializedVersion": "2",
  1386. "x": -705.0000610351563,
  1387. "y": 767.0000610351563,
  1388. "width": 200.00003051757813,
  1389. "height": 100.0
  1390. },
  1391. "m_Group": {
  1392. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1393. }
  1394. }
  1395. {
  1396. "m_SGVersion": 0,
  1397. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1398. "m_ObjectId": "d146042b9ea14109bc26432a1b084e50",
  1399. "m_Id": 2,
  1400. "m_DisplayName": "Out",
  1401. "m_SlotType": 1,
  1402. "m_Hidden": false,
  1403. "m_ShaderOutputName": "Out",
  1404. "m_StageCapability": 3,
  1405. "m_Value": {
  1406. "x": 0.0,
  1407. "y": 0.0,
  1408. "z": 0.0,
  1409. "w": 0.0
  1410. },
  1411. "m_DefaultValue": {
  1412. "x": 0.0,
  1413. "y": 0.0,
  1414. "z": 0.0,
  1415. "w": 0.0
  1416. }
  1417. }
  1418. {
  1419. "m_SGVersion": 0,
  1420. "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
  1421. "m_ObjectId": "d31bad90162946d09cec22215af3f737",
  1422. "m_Group": {
  1423. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1424. },
  1425. "m_Name": "Normal Vector",
  1426. "m_DrawState": {
  1427. "m_Expanded": true,
  1428. "m_Position": {
  1429. "serializedVersion": "2",
  1430. "x": -1576.5001220703125,
  1431. "y": 493.0000915527344,
  1432. "width": 206.0,
  1433. "height": 130.49996948242188
  1434. }
  1435. },
  1436. "m_Slots": [
  1437. {
  1438. "m_Id": "60d83e9204744dfa9109b3d6df146d77"
  1439. }
  1440. ],
  1441. "synonyms": [
  1442. "surface direction"
  1443. ],
  1444. "m_Precision": 0,
  1445. "m_PreviewExpanded": false,
  1446. "m_DismissedVersion": 0,
  1447. "m_PreviewMode": 2,
  1448. "m_CustomColors": {
  1449. "m_SerializableColors": []
  1450. },
  1451. "m_Space": 2
  1452. }
  1453. {
  1454. "m_SGVersion": 0,
  1455. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1456. "m_ObjectId": "d3b20b59934145c6a709313de0129b0e",
  1457. "m_Title": "",
  1458. "m_Content": "Most use-cases call for the mask to be inverted so we do that with the One Minus node.",
  1459. "m_TextSize": 0,
  1460. "m_Theme": 0,
  1461. "m_Position": {
  1462. "serializedVersion": "2",
  1463. "x": -958.0000610351563,
  1464. "y": 744.5000610351563,
  1465. "width": 200.0,
  1466. "height": 100.0
  1467. },
  1468. "m_Group": {
  1469. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1470. }
  1471. }
  1472. {
  1473. "m_SGVersion": 0,
  1474. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1475. "m_ObjectId": "d77f029b49c642cb93ed4f6c7c27e65f",
  1476. "m_Title": "",
  1477. "m_Content": "This is the math that the Fresnel Effect node does to generate the mask.",
  1478. "m_TextSize": 0,
  1479. "m_Theme": 0,
  1480. "m_Position": {
  1481. "serializedVersion": "2",
  1482. "x": -704.0000610351563,
  1483. "y": 354.0000305175781,
  1484. "width": 200.00003051757813,
  1485. "height": 100.0
  1486. },
  1487. "m_Group": {
  1488. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1489. }
  1490. }
  1491. {
  1492. "m_SGVersion": 0,
  1493. "m_Type": "UnityEditor.ShaderGraph.OneMinusNode",
  1494. "m_ObjectId": "dc2a36e1ea704c56a8c90d36146378c2",
  1495. "m_Group": {
  1496. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1497. },
  1498. "m_Name": "One Minus",
  1499. "m_DrawState": {
  1500. "m_Expanded": true,
  1501. "m_Position": {
  1502. "serializedVersion": "2",
  1503. "x": -991.5,
  1504. "y": 427.5000305175781,
  1505. "width": 208.0,
  1506. "height": 278.0000305175781
  1507. }
  1508. },
  1509. "m_Slots": [
  1510. {
  1511. "m_Id": "9a4601fad6bf4116aff1e460d0929d8f"
  1512. },
  1513. {
  1514. "m_Id": "44c1288091aa4a41a30f56c4a2d9aff7"
  1515. }
  1516. ],
  1517. "synonyms": [
  1518. "complement",
  1519. "invert",
  1520. "opposite"
  1521. ],
  1522. "m_Precision": 0,
  1523. "m_PreviewExpanded": true,
  1524. "m_DismissedVersion": 0,
  1525. "m_PreviewMode": 0,
  1526. "m_CustomColors": {
  1527. "m_SerializableColors": []
  1528. }
  1529. }
  1530. {
  1531. "m_SGVersion": 0,
  1532. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1533. "m_ObjectId": "ddfb5ee618ef4264af962f71b4e19b68",
  1534. "m_Id": 1,
  1535. "m_DisplayName": "B",
  1536. "m_SlotType": 0,
  1537. "m_Hidden": false,
  1538. "m_ShaderOutputName": "B",
  1539. "m_StageCapability": 3,
  1540. "m_Value": {
  1541. "x": 0.0,
  1542. "y": 1.0,
  1543. "z": 0.0,
  1544. "w": 0.0
  1545. },
  1546. "m_DefaultValue": {
  1547. "x": 0.0,
  1548. "y": 0.0,
  1549. "z": 0.0,
  1550. "w": 0.0
  1551. }
  1552. }
  1553. {
  1554. "m_SGVersion": 0,
  1555. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  1556. "m_ObjectId": "e1d65796981f4ab7bed1cd13c7f21cdb",
  1557. "m_Id": 2,
  1558. "m_DisplayName": "Out",
  1559. "m_SlotType": 1,
  1560. "m_Hidden": false,
  1561. "m_ShaderOutputName": "Out",
  1562. "m_StageCapability": 3,
  1563. "m_Value": 0.0,
  1564. "m_DefaultValue": 0.0,
  1565. "m_Labels": []
  1566. }
  1567. {
  1568. "m_SGVersion": 0,
  1569. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  1570. "m_ObjectId": "e40d238ad26243c3b8658facfd122aa6",
  1571. "m_Name": "",
  1572. "m_ChildObjectList": [
  1573. {
  1574. "m_Id": "abd0c7a1c344469e9c8cf8ac8823d2df"
  1575. },
  1576. {
  1577. "m_Id": "009b99837e1a4ffb92ac1b290148e6f7"
  1578. }
  1579. ]
  1580. }
  1581. {
  1582. "m_SGVersion": 1,
  1583. "m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode",
  1584. "m_ObjectId": "e8b4ab3b3316488097e55471d134a918",
  1585. "m_Group": {
  1586. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1587. },
  1588. "m_Name": "View Direction",
  1589. "m_DrawState": {
  1590. "m_Expanded": true,
  1591. "m_Position": {
  1592. "serializedVersion": "2",
  1593. "x": -1576.5001220703125,
  1594. "y": 362.50006103515627,
  1595. "width": 206.0,
  1596. "height": 130.50003051757813
  1597. }
  1598. },
  1599. "m_Slots": [
  1600. {
  1601. "m_Id": "0bc209d7dde24006b2f879abf0766999"
  1602. }
  1603. ],
  1604. "synonyms": [
  1605. "eye direction"
  1606. ],
  1607. "m_Precision": 0,
  1608. "m_PreviewExpanded": false,
  1609. "m_DismissedVersion": 0,
  1610. "m_PreviewMode": 2,
  1611. "m_CustomColors": {
  1612. "m_SerializableColors": []
  1613. },
  1614. "m_Space": 2
  1615. }
  1616. {
  1617. "m_SGVersion": 0,
  1618. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1619. "m_ObjectId": "ec684f36441041c7973af8b279363de0",
  1620. "m_Title": "",
  1621. "m_Content": "The dot product is white where the normal and view vector are parallel and black where they're perpendicular.",
  1622. "m_TextSize": 0,
  1623. "m_Theme": 0,
  1624. "m_Position": {
  1625. "serializedVersion": "2",
  1626. "x": -1294.0001220703125,
  1627. "y": 764.0000610351563,
  1628. "width": 200.0,
  1629. "height": 100.0
  1630. },
  1631. "m_Group": {
  1632. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1633. }
  1634. }
  1635. {
  1636. "m_SGVersion": 0,
  1637. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  1638. "m_ObjectId": "ec75ec60f1594dc88f6063c521c5f092",
  1639. "m_Id": 0,
  1640. "m_DisplayName": "Emission",
  1641. "m_SlotType": 0,
  1642. "m_Hidden": false,
  1643. "m_ShaderOutputName": "Emission",
  1644. "m_StageCapability": 2,
  1645. "m_Value": {
  1646. "x": 0.0,
  1647. "y": 0.0,
  1648. "z": 0.0
  1649. },
  1650. "m_DefaultValue": {
  1651. "x": 0.0,
  1652. "y": 0.0,
  1653. "z": 0.0
  1654. },
  1655. "m_Labels": [],
  1656. "m_ColorMode": 1,
  1657. "m_DefaultColor": {
  1658. "r": 0.0,
  1659. "g": 0.0,
  1660. "b": 0.0,
  1661. "a": 1.0
  1662. }
  1663. }
  1664. {
  1665. "m_SGVersion": 0,
  1666. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1667. "m_ObjectId": "f374a56ca9994a318fb99cf8965674e4",
  1668. "m_Id": 0,
  1669. "m_DisplayName": "In",
  1670. "m_SlotType": 0,
  1671. "m_Hidden": false,
  1672. "m_ShaderOutputName": "In",
  1673. "m_StageCapability": 3,
  1674. "m_Value": {
  1675. "x": 0.0,
  1676. "y": 0.0,
  1677. "z": 0.0,
  1678. "w": 0.0
  1679. },
  1680. "m_DefaultValue": {
  1681. "x": 0.0,
  1682. "y": 0.0,
  1683. "z": 0.0,
  1684. "w": 0.0
  1685. }
  1686. }
  1687. {
  1688. "m_SGVersion": 0,
  1689. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  1690. "m_ObjectId": "f5dcf059ae434a2cb27dc88799b1a731",
  1691. "m_Title": "",
  1692. "m_Content": "Building on the Camera Facing example to the left, we can also create an edge glow effect using the View Direction node. This is what the Fresnel Effect node does under the hood.",
  1693. "m_TextSize": 0,
  1694. "m_Theme": 0,
  1695. "m_Position": {
  1696. "serializedVersion": "2",
  1697. "x": -1194.0001220703125,
  1698. "y": 341.0000305175781,
  1699. "width": 337.50006103515627,
  1700. "height": 100.0
  1701. },
  1702. "m_Group": {
  1703. "m_Id": "7ef8ac2de3a54424922789d150698ad0"
  1704. }
  1705. }
  1706. {
  1707. "m_SGVersion": 0,
  1708. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  1709. "m_ObjectId": "f73754bea63e4eee9eaae60f05a37f2a",
  1710. "m_EnableShadowMatte": false,
  1711. "m_DistortionOnly": false
  1712. }
  1713. {
  1714. "m_SGVersion": 0,
  1715. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1716. "m_ObjectId": "fbfe7c389c114d3eb982d246fff60312",
  1717. "m_Id": 1,
  1718. "m_DisplayName": "B",
  1719. "m_SlotType": 0,
  1720. "m_Hidden": false,
  1721. "m_ShaderOutputName": "B",
  1722. "m_StageCapability": 3,
  1723. "m_Value": {
  1724. "x": 0.0,
  1725. "y": 1.0,
  1726. "z": 0.0,
  1727. "w": 0.0
  1728. },
  1729. "m_DefaultValue": {
  1730. "x": 0.0,
  1731. "y": 0.0,
  1732. "z": 0.0,
  1733. "w": 0.0
  1734. }
  1735. }