설명 없음
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.

TextureSize.shadergraph 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "3de6f69a278d498db54780635b275639",
  5. "m_Properties": [],
  6. "m_Keywords": [],
  7. "m_Dropdowns": [],
  8. "m_CategoryData": [
  9. {
  10. "m_Id": "658d12ecc7304bc7bf5dce82c2d77157"
  11. }
  12. ],
  13. "m_Nodes": [
  14. {
  15. "m_Id": "81a56b8d6e604be5b40b33276fcd781a"
  16. },
  17. {
  18. "m_Id": "c904cb2ffb6a46658772accca0cd227a"
  19. },
  20. {
  21. "m_Id": "5f38ac0dc2a74ea88a4564e87e928539"
  22. },
  23. {
  24. "m_Id": "60187cfe49a146db9a886f3ef6ca532e"
  25. },
  26. {
  27. "m_Id": "0e8a448d3ed647a18cdddc71d9a5035d"
  28. },
  29. {
  30. "m_Id": "c0b3ce2799dc4d7cafd0cd9c2dbd41a0"
  31. },
  32. {
  33. "m_Id": "d709fc56b15448d58cc8df21580cffb2"
  34. },
  35. {
  36. "m_Id": "70ad95a316934e1ebfa32e2a02cd75db"
  37. },
  38. {
  39. "m_Id": "eb37015b22534791a37fc2ce6e2b2312"
  40. }
  41. ],
  42. "m_GroupDatas": [
  43. {
  44. "m_Id": "f97946e512a34aec8ba83459edbe205a"
  45. }
  46. ],
  47. "m_StickyNoteDatas": [
  48. {
  49. "m_Id": "cfaf0278f4f54d55acecf488f916631d"
  50. },
  51. {
  52. "m_Id": "7ba144c61a124091a76c446fbe861c46"
  53. }
  54. ],
  55. "m_Edges": [
  56. {
  57. "m_OutputSlot": {
  58. "m_Node": {
  59. "m_Id": "eb37015b22534791a37fc2ce6e2b2312"
  60. },
  61. "m_SlotId": 0
  62. },
  63. "m_InputSlot": {
  64. "m_Node": {
  65. "m_Id": "70ad95a316934e1ebfa32e2a02cd75db"
  66. },
  67. "m_SlotId": 1
  68. }
  69. }
  70. ],
  71. "m_VertexContext": {
  72. "m_Position": {
  73. "x": 0.0,
  74. "y": 0.0
  75. },
  76. "m_Blocks": [
  77. {
  78. "m_Id": "81a56b8d6e604be5b40b33276fcd781a"
  79. },
  80. {
  81. "m_Id": "c904cb2ffb6a46658772accca0cd227a"
  82. },
  83. {
  84. "m_Id": "5f38ac0dc2a74ea88a4564e87e928539"
  85. }
  86. ]
  87. },
  88. "m_FragmentContext": {
  89. "m_Position": {
  90. "x": 0.0,
  91. "y": 200.0
  92. },
  93. "m_Blocks": [
  94. {
  95. "m_Id": "60187cfe49a146db9a886f3ef6ca532e"
  96. },
  97. {
  98. "m_Id": "0e8a448d3ed647a18cdddc71d9a5035d"
  99. },
  100. {
  101. "m_Id": "c0b3ce2799dc4d7cafd0cd9c2dbd41a0"
  102. }
  103. ]
  104. },
  105. "m_PreviewData": {
  106. "serializedMesh": {
  107. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  108. "m_Guid": ""
  109. },
  110. "preventRotation": false
  111. },
  112. "m_Path": "Shader Graphs",
  113. "m_GraphPrecision": 1,
  114. "m_PreviewMode": 2,
  115. "m_OutputNode": {
  116. "m_Id": ""
  117. },
  118. "m_ActiveTargets": [
  119. {
  120. "m_Id": "0a9c60b043ff4287b3ab88c8ca06a3ca"
  121. },
  122. {
  123. "m_Id": "789967c9c2c9452bbcdbfe59e9806445"
  124. },
  125. {
  126. "m_Id": "5d89afac3f7d43c1a3921a27afdaa385"
  127. }
  128. ]
  129. }
  130. {
  131. "m_SGVersion": 2,
  132. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  133. "m_ObjectId": "0a9c60b043ff4287b3ab88c8ca06a3ca",
  134. "m_ActiveSubTarget": {
  135. "m_Id": "98a4ecc6280543c68eac05ab3601ec55"
  136. },
  137. "m_AllowMaterialOverride": false,
  138. "m_SurfaceType": 0,
  139. "m_ZWriteControl": 0,
  140. "m_ZTestMode": 4,
  141. "m_AlphaMode": 0,
  142. "m_RenderFace": 2,
  143. "m_AlphaClip": false,
  144. "m_CustomEditorGUI": ""
  145. }
  146. {
  147. "m_SGVersion": 0,
  148. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  149. "m_ObjectId": "0e1110e38f6f4bf4aacda6c4cc2a14f0",
  150. "m_EnableShadowMatte": false,
  151. "m_DistortionOnly": false
  152. }
  153. {
  154. "m_SGVersion": 0,
  155. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  156. "m_ObjectId": "0e8a448d3ed647a18cdddc71d9a5035d",
  157. "m_Group": {
  158. "m_Id": ""
  159. },
  160. "m_Name": "SurfaceDescription.Emission",
  161. "m_DrawState": {
  162. "m_Expanded": true,
  163. "m_Position": {
  164. "serializedVersion": "2",
  165. "x": 0.0,
  166. "y": 0.0,
  167. "width": 0.0,
  168. "height": 0.0
  169. }
  170. },
  171. "m_Slots": [
  172. {
  173. "m_Id": "5ad48242c2c24f73a0aee7e1da3a0ec0"
  174. }
  175. ],
  176. "synonyms": [],
  177. "m_Precision": 0,
  178. "m_PreviewExpanded": true,
  179. "m_DismissedVersion": 0,
  180. "m_PreviewMode": 0,
  181. "m_CustomColors": {
  182. "m_SerializableColors": []
  183. },
  184. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  185. }
  186. {
  187. "m_SGVersion": 0,
  188. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  189. "m_ObjectId": "0ed4e02e6c7c407ca54d9fc0e5379e18",
  190. "m_Id": 2,
  191. "m_DisplayName": "Height",
  192. "m_SlotType": 1,
  193. "m_Hidden": false,
  194. "m_ShaderOutputName": "Height",
  195. "m_StageCapability": 3,
  196. "m_Value": 0.0,
  197. "m_DefaultValue": 0.0,
  198. "m_Labels": []
  199. }
  200. {
  201. "m_SGVersion": 0,
  202. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  203. "m_ObjectId": "1587efc28c7b498ba788558b058cbf0c",
  204. "m_Id": 0,
  205. "m_DisplayName": "Tangent",
  206. "m_SlotType": 0,
  207. "m_Hidden": false,
  208. "m_ShaderOutputName": "Tangent",
  209. "m_StageCapability": 1,
  210. "m_Value": {
  211. "x": 0.0,
  212. "y": 0.0,
  213. "z": 0.0
  214. },
  215. "m_DefaultValue": {
  216. "x": 0.0,
  217. "y": 0.0,
  218. "z": 0.0
  219. },
  220. "m_Labels": [],
  221. "m_Space": 0
  222. }
  223. {
  224. "m_SGVersion": 0,
  225. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  226. "m_ObjectId": "159fe07bfeb546a994ab863f2ab9624b",
  227. "m_Id": 2,
  228. "m_DisplayName": "Height",
  229. "m_SlotType": 1,
  230. "m_Hidden": false,
  231. "m_ShaderOutputName": "Height",
  232. "m_StageCapability": 3,
  233. "m_Value": 0.0,
  234. "m_DefaultValue": 0.0,
  235. "m_Labels": []
  236. }
  237. {
  238. "m_SGVersion": 0,
  239. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  240. "m_ObjectId": "32ab7895d4d94041a59a75dfc6942fc7",
  241. "m_Id": 0,
  242. "m_DisplayName": "Alpha",
  243. "m_SlotType": 0,
  244. "m_Hidden": false,
  245. "m_ShaderOutputName": "Alpha",
  246. "m_StageCapability": 2,
  247. "m_Value": 1.0,
  248. "m_DefaultValue": 1.0,
  249. "m_Labels": []
  250. }
  251. {
  252. "m_SGVersion": 0,
  253. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  254. "m_ObjectId": "4470c56d5b1c4f49a28b2a7ce783d95f",
  255. "m_Id": 3,
  256. "m_DisplayName": "Texel Width",
  257. "m_SlotType": 1,
  258. "m_Hidden": false,
  259. "m_ShaderOutputName": "Texel Width",
  260. "m_StageCapability": 3,
  261. "m_Value": 0.0,
  262. "m_DefaultValue": 0.0,
  263. "m_Labels": []
  264. }
  265. {
  266. "m_SGVersion": 0,
  267. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  268. "m_ObjectId": "56cc6838918e46ee86306176bd57b924",
  269. "m_Id": 0,
  270. "m_DisplayName": "Position",
  271. "m_SlotType": 0,
  272. "m_Hidden": false,
  273. "m_ShaderOutputName": "Position",
  274. "m_StageCapability": 1,
  275. "m_Value": {
  276. "x": 0.0,
  277. "y": 0.0,
  278. "z": 0.0
  279. },
  280. "m_DefaultValue": {
  281. "x": 0.0,
  282. "y": 0.0,
  283. "z": 0.0
  284. },
  285. "m_Labels": [],
  286. "m_Space": 0
  287. }
  288. {
  289. "m_SGVersion": 0,
  290. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  291. "m_ObjectId": "5ad48242c2c24f73a0aee7e1da3a0ec0",
  292. "m_Id": 0,
  293. "m_DisplayName": "Emission",
  294. "m_SlotType": 0,
  295. "m_Hidden": false,
  296. "m_ShaderOutputName": "Emission",
  297. "m_StageCapability": 2,
  298. "m_Value": {
  299. "x": 0.0,
  300. "y": 0.0,
  301. "z": 0.0
  302. },
  303. "m_DefaultValue": {
  304. "x": 0.0,
  305. "y": 0.0,
  306. "z": 0.0
  307. },
  308. "m_Labels": [],
  309. "m_ColorMode": 1,
  310. "m_DefaultColor": {
  311. "r": 0.0,
  312. "g": 0.0,
  313. "b": 0.0,
  314. "a": 1.0
  315. }
  316. }
  317. {
  318. "m_SGVersion": 1,
  319. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  320. "m_ObjectId": "5d89afac3f7d43c1a3921a27afdaa385",
  321. "m_Datas": [],
  322. "m_ActiveSubTarget": {
  323. "m_Id": "e39c3db98e2d43a6bde4681d0c7a887e"
  324. },
  325. "m_AllowMaterialOverride": false,
  326. "m_SurfaceType": 0,
  327. "m_ZTestMode": 4,
  328. "m_ZWriteControl": 0,
  329. "m_AlphaMode": 0,
  330. "m_RenderFace": 2,
  331. "m_AlphaClip": false,
  332. "m_CastShadows": true,
  333. "m_ReceiveShadows": true,
  334. "m_AdditionalMotionVectorMode": 0,
  335. "m_AlembicMotionVectors": false,
  336. "m_SupportsLODCrossFade": false,
  337. "m_CustomEditorGUI": "",
  338. "m_SupportVFX": false
  339. }
  340. {
  341. "m_SGVersion": 0,
  342. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  343. "m_ObjectId": "5f38ac0dc2a74ea88a4564e87e928539",
  344. "m_Group": {
  345. "m_Id": ""
  346. },
  347. "m_Name": "VertexDescription.Tangent",
  348. "m_DrawState": {
  349. "m_Expanded": true,
  350. "m_Position": {
  351. "serializedVersion": "2",
  352. "x": 0.0,
  353. "y": 0.0,
  354. "width": 0.0,
  355. "height": 0.0
  356. }
  357. },
  358. "m_Slots": [
  359. {
  360. "m_Id": "1587efc28c7b498ba788558b058cbf0c"
  361. }
  362. ],
  363. "synonyms": [],
  364. "m_Precision": 0,
  365. "m_PreviewExpanded": true,
  366. "m_DismissedVersion": 0,
  367. "m_PreviewMode": 0,
  368. "m_CustomColors": {
  369. "m_SerializableColors": []
  370. },
  371. "m_SerializedDescriptor": "VertexDescription.Tangent"
  372. }
  373. {
  374. "m_SGVersion": 0,
  375. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  376. "m_ObjectId": "60187cfe49a146db9a886f3ef6ca532e",
  377. "m_Group": {
  378. "m_Id": ""
  379. },
  380. "m_Name": "SurfaceDescription.BaseColor",
  381. "m_DrawState": {
  382. "m_Expanded": true,
  383. "m_Position": {
  384. "serializedVersion": "2",
  385. "x": 0.0,
  386. "y": 0.0,
  387. "width": 0.0,
  388. "height": 0.0
  389. }
  390. },
  391. "m_Slots": [
  392. {
  393. "m_Id": "8422ab8ac9654b18908a7c6354a54f01"
  394. }
  395. ],
  396. "synonyms": [],
  397. "m_Precision": 0,
  398. "m_PreviewExpanded": true,
  399. "m_DismissedVersion": 0,
  400. "m_PreviewMode": 0,
  401. "m_CustomColors": {
  402. "m_SerializableColors": []
  403. },
  404. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  405. }
  406. {
  407. "m_SGVersion": 0,
  408. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  409. "m_ObjectId": "658d12ecc7304bc7bf5dce82c2d77157",
  410. "m_Name": "",
  411. "m_ChildObjectList": []
  412. }
  413. {
  414. "m_SGVersion": 0,
  415. "m_Type": "UnityEditor.ShaderGraph.Texture2DPropertiesNode",
  416. "m_ObjectId": "70ad95a316934e1ebfa32e2a02cd75db",
  417. "m_Group": {
  418. "m_Id": "f97946e512a34aec8ba83459edbe205a"
  419. },
  420. "m_Name": "Texture Size",
  421. "m_DrawState": {
  422. "m_Expanded": true,
  423. "m_Position": {
  424. "serializedVersion": "2",
  425. "x": -486.0,
  426. "y": 208.50001525878907,
  427. "width": 211.99993896484376,
  428. "height": 149.0000457763672
  429. }
  430. },
  431. "m_Slots": [
  432. {
  433. "m_Id": "91ecb84b0da245ab93aba9df4df15878"
  434. },
  435. {
  436. "m_Id": "0ed4e02e6c7c407ca54d9fc0e5379e18"
  437. },
  438. {
  439. "m_Id": "f7ee4f619fe44235b0798acbea59583d"
  440. },
  441. {
  442. "m_Id": "f2aed1f0dd594bc1bb7aa1b46e83a9c4"
  443. },
  444. {
  445. "m_Id": "943cc39fde324e95af08d689f9e40f4e"
  446. }
  447. ],
  448. "synonyms": [
  449. "texel size"
  450. ],
  451. "m_Precision": 0,
  452. "m_PreviewExpanded": true,
  453. "m_DismissedVersion": 0,
  454. "m_PreviewMode": 0,
  455. "m_CustomColors": {
  456. "m_SerializableColors": []
  457. }
  458. }
  459. {
  460. "m_SGVersion": 0,
  461. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  462. "m_ObjectId": "789967c9c2c9452bbcdbfe59e9806445",
  463. "m_ActiveSubTarget": {
  464. "m_Id": "b7aa968dec8a4f45978aec2c9b830acd"
  465. },
  466. "m_Datas": [
  467. {
  468. "m_Id": "c4b432566b11497fbf54aeb99530eda1"
  469. },
  470. {
  471. "m_Id": "ea1e3f483e084b43b03c5b113fbbe61f"
  472. },
  473. {
  474. "m_Id": "0e1110e38f6f4bf4aacda6c4cc2a14f0"
  475. }
  476. ],
  477. "m_CustomEditorGUI": "",
  478. "m_SupportVFX": false,
  479. "m_SupportLineRendering": false
  480. }
  481. {
  482. "m_SGVersion": 0,
  483. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  484. "m_ObjectId": "7ba144c61a124091a76c446fbe861c46",
  485. "m_Title": "",
  486. "m_Content": "In this example, the output of each port on the Texture Size node will be as follows:\n\nWidth: 256\nHeight: 256\nTexel Width: 0.00390625\nTexel Height: 0.00390625\n\nThe input texture is 256x256, so the first two output ports give you those values and the second two give you 1/256.",
  487. "m_TextSize": 0,
  488. "m_Theme": 0,
  489. "m_Position": {
  490. "serializedVersion": "2",
  491. "x": -470.5000305175781,
  492. "y": 363.5000305175781,
  493. "width": 200.0,
  494. "height": 207.00003051757813
  495. },
  496. "m_Group": {
  497. "m_Id": "f97946e512a34aec8ba83459edbe205a"
  498. }
  499. }
  500. {
  501. "m_SGVersion": 0,
  502. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  503. "m_ObjectId": "81a56b8d6e604be5b40b33276fcd781a",
  504. "m_Group": {
  505. "m_Id": ""
  506. },
  507. "m_Name": "VertexDescription.Position",
  508. "m_DrawState": {
  509. "m_Expanded": true,
  510. "m_Position": {
  511. "serializedVersion": "2",
  512. "x": 0.0,
  513. "y": 0.0,
  514. "width": 0.0,
  515. "height": 0.0
  516. }
  517. },
  518. "m_Slots": [
  519. {
  520. "m_Id": "56cc6838918e46ee86306176bd57b924"
  521. }
  522. ],
  523. "synonyms": [],
  524. "m_Precision": 0,
  525. "m_PreviewExpanded": true,
  526. "m_DismissedVersion": 0,
  527. "m_PreviewMode": 0,
  528. "m_CustomColors": {
  529. "m_SerializableColors": []
  530. },
  531. "m_SerializedDescriptor": "VertexDescription.Position"
  532. }
  533. {
  534. "m_SGVersion": 0,
  535. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  536. "m_ObjectId": "8422ab8ac9654b18908a7c6354a54f01",
  537. "m_Id": 0,
  538. "m_DisplayName": "Base Color",
  539. "m_SlotType": 0,
  540. "m_Hidden": false,
  541. "m_ShaderOutputName": "BaseColor",
  542. "m_StageCapability": 2,
  543. "m_Value": {
  544. "x": 0.5,
  545. "y": 0.5,
  546. "z": 0.5
  547. },
  548. "m_DefaultValue": {
  549. "x": 0.0,
  550. "y": 0.0,
  551. "z": 0.0
  552. },
  553. "m_Labels": [],
  554. "m_ColorMode": 0,
  555. "m_DefaultColor": {
  556. "r": 0.5,
  557. "g": 0.5,
  558. "b": 0.5,
  559. "a": 1.0
  560. }
  561. }
  562. {
  563. "m_SGVersion": 0,
  564. "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
  565. "m_ObjectId": "85dca1af0b3f4ee4b2cbda60ff6b72d0",
  566. "m_Id": 1,
  567. "m_DisplayName": "Texture",
  568. "m_SlotType": 0,
  569. "m_Hidden": false,
  570. "m_ShaderOutputName": "Texture",
  571. "m_StageCapability": 3,
  572. "m_BareResource": false,
  573. "m_Texture": {
  574. "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
  575. "m_Guid": ""
  576. },
  577. "m_DefaultType": 0
  578. }
  579. {
  580. "m_SGVersion": 0,
  581. "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
  582. "m_ObjectId": "8a11c749655e43f38231e13904f2d18b",
  583. "m_Id": 0,
  584. "m_DisplayName": "Out",
  585. "m_SlotType": 1,
  586. "m_Hidden": false,
  587. "m_ShaderOutputName": "Out",
  588. "m_StageCapability": 3,
  589. "m_BareResource": false
  590. }
  591. {
  592. "m_SGVersion": 0,
  593. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  594. "m_ObjectId": "91ecb84b0da245ab93aba9df4df15878",
  595. "m_Id": 0,
  596. "m_DisplayName": "Width",
  597. "m_SlotType": 1,
  598. "m_Hidden": false,
  599. "m_ShaderOutputName": "Width",
  600. "m_StageCapability": 3,
  601. "m_Value": 0.0,
  602. "m_DefaultValue": 0.0,
  603. "m_Labels": []
  604. }
  605. {
  606. "m_SGVersion": 0,
  607. "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
  608. "m_ObjectId": "943cc39fde324e95af08d689f9e40f4e",
  609. "m_Id": 1,
  610. "m_DisplayName": "Texture",
  611. "m_SlotType": 0,
  612. "m_Hidden": false,
  613. "m_ShaderOutputName": "Texture",
  614. "m_StageCapability": 3,
  615. "m_BareResource": false,
  616. "m_Texture": {
  617. "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
  618. "m_Guid": ""
  619. },
  620. "m_DefaultType": 0
  621. }
  622. {
  623. "m_SGVersion": 0,
  624. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  625. "m_ObjectId": "98a4ecc6280543c68eac05ab3601ec55"
  626. }
  627. {
  628. "m_SGVersion": 0,
  629. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  630. "m_ObjectId": "9c7c13db40f6456a8ee1e6e615047625",
  631. "m_Id": 0,
  632. "m_DisplayName": "Width",
  633. "m_SlotType": 1,
  634. "m_Hidden": false,
  635. "m_ShaderOutputName": "Width",
  636. "m_StageCapability": 3,
  637. "m_Value": 0.0,
  638. "m_DefaultValue": 0.0,
  639. "m_Labels": []
  640. }
  641. {
  642. "m_SGVersion": 0,
  643. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  644. "m_ObjectId": "b7aa968dec8a4f45978aec2c9b830acd"
  645. }
  646. {
  647. "m_SGVersion": 0,
  648. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  649. "m_ObjectId": "c0b3ce2799dc4d7cafd0cd9c2dbd41a0",
  650. "m_Group": {
  651. "m_Id": ""
  652. },
  653. "m_Name": "SurfaceDescription.Alpha",
  654. "m_DrawState": {
  655. "m_Expanded": true,
  656. "m_Position": {
  657. "serializedVersion": "2",
  658. "x": 0.0,
  659. "y": 0.0,
  660. "width": 0.0,
  661. "height": 0.0
  662. }
  663. },
  664. "m_Slots": [
  665. {
  666. "m_Id": "32ab7895d4d94041a59a75dfc6942fc7"
  667. }
  668. ],
  669. "synonyms": [],
  670. "m_Precision": 0,
  671. "m_PreviewExpanded": true,
  672. "m_DismissedVersion": 0,
  673. "m_PreviewMode": 0,
  674. "m_CustomColors": {
  675. "m_SerializableColors": []
  676. },
  677. "m_SerializedDescriptor": "SurfaceDescription.Alpha"
  678. }
  679. {
  680. "m_SGVersion": 0,
  681. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  682. "m_ObjectId": "c22007da85de4f1fbcfb041528822d45",
  683. "m_Id": 4,
  684. "m_DisplayName": "Texel Height",
  685. "m_SlotType": 1,
  686. "m_Hidden": false,
  687. "m_ShaderOutputName": "Texel Height",
  688. "m_StageCapability": 3,
  689. "m_Value": 0.0,
  690. "m_DefaultValue": 0.0,
  691. "m_Labels": []
  692. }
  693. {
  694. "m_SGVersion": 0,
  695. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  696. "m_ObjectId": "c4b432566b11497fbf54aeb99530eda1",
  697. "m_Distortion": false,
  698. "m_DistortionMode": 0,
  699. "m_DistortionDepthTest": true,
  700. "m_AddPrecomputedVelocity": false,
  701. "m_TransparentWritesMotionVec": false,
  702. "m_DepthOffset": false,
  703. "m_ConservativeDepthOffset": false,
  704. "m_TransparencyFog": true,
  705. "m_AlphaTestShadow": false,
  706. "m_BackThenFrontRendering": false,
  707. "m_TransparentDepthPrepass": false,
  708. "m_TransparentDepthPostpass": false,
  709. "m_TransparentPerPixelSorting": false,
  710. "m_SupportLodCrossFade": false
  711. }
  712. {
  713. "m_SGVersion": 0,
  714. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  715. "m_ObjectId": "c904cb2ffb6a46658772accca0cd227a",
  716. "m_Group": {
  717. "m_Id": ""
  718. },
  719. "m_Name": "VertexDescription.Normal",
  720. "m_DrawState": {
  721. "m_Expanded": true,
  722. "m_Position": {
  723. "serializedVersion": "2",
  724. "x": 0.0,
  725. "y": 0.0,
  726. "width": 0.0,
  727. "height": 0.0
  728. }
  729. },
  730. "m_Slots": [
  731. {
  732. "m_Id": "ebd6411c877d4c16b1279a0cb3e9618c"
  733. }
  734. ],
  735. "synonyms": [],
  736. "m_Precision": 0,
  737. "m_PreviewExpanded": true,
  738. "m_DismissedVersion": 0,
  739. "m_PreviewMode": 0,
  740. "m_CustomColors": {
  741. "m_SerializableColors": []
  742. },
  743. "m_SerializedDescriptor": "VertexDescription.Normal"
  744. }
  745. {
  746. "m_SGVersion": 0,
  747. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  748. "m_ObjectId": "cfaf0278f4f54d55acecf488f916631d",
  749. "m_Title": "Texture Size Node",
  750. "m_Content": "The Texture Size node gives you the number of pixels in a texture's height and width dimensions (512x512, 1024x1024 - for example), as well as the texel size height and width in UV space - which is the reciprocal of the width and height.\n\nThis information is useful when you want to do something in the shader that depends on the resolution of the texture being used.",
  751. "m_TextSize": 0,
  752. "m_Theme": 0,
  753. "m_Position": {
  754. "serializedVersion": "2",
  755. "x": -481.5000305175781,
  756. "y": -71.50000762939453,
  757. "width": 254.00001525878907,
  758. "height": 182.00001525878907
  759. },
  760. "m_Group": {
  761. "m_Id": ""
  762. }
  763. }
  764. {
  765. "m_SGVersion": 0,
  766. "m_Type": "UnityEditor.ShaderGraph.Texture2DPropertiesNode",
  767. "m_ObjectId": "d709fc56b15448d58cc8df21580cffb2",
  768. "m_Group": {
  769. "m_Id": ""
  770. },
  771. "m_Name": "Texture Size",
  772. "m_DrawState": {
  773. "m_Expanded": true,
  774. "m_Position": {
  775. "serializedVersion": "2",
  776. "x": -756.5000610351563,
  777. "y": -70.49999237060547,
  778. "width": 211.99993896484376,
  779. "height": 149.00003051757813
  780. }
  781. },
  782. "m_Slots": [
  783. {
  784. "m_Id": "9c7c13db40f6456a8ee1e6e615047625"
  785. },
  786. {
  787. "m_Id": "159fe07bfeb546a994ab863f2ab9624b"
  788. },
  789. {
  790. "m_Id": "4470c56d5b1c4f49a28b2a7ce783d95f"
  791. },
  792. {
  793. "m_Id": "c22007da85de4f1fbcfb041528822d45"
  794. },
  795. {
  796. "m_Id": "85dca1af0b3f4ee4b2cbda60ff6b72d0"
  797. }
  798. ],
  799. "synonyms": [
  800. "texel size"
  801. ],
  802. "m_Precision": 0,
  803. "m_PreviewExpanded": true,
  804. "m_DismissedVersion": 0,
  805. "m_PreviewMode": 0,
  806. "m_CustomColors": {
  807. "m_SerializableColors": []
  808. }
  809. }
  810. {
  811. "m_SGVersion": 2,
  812. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  813. "m_ObjectId": "e39c3db98e2d43a6bde4681d0c7a887e"
  814. }
  815. {
  816. "m_SGVersion": 0,
  817. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  818. "m_ObjectId": "ea1e3f483e084b43b03c5b113fbbe61f",
  819. "m_MaterialNeedsUpdateHash": 0,
  820. "m_SurfaceType": 0,
  821. "m_RenderingPass": 1,
  822. "m_BlendMode": 0,
  823. "m_ZTest": 4,
  824. "m_ZWrite": false,
  825. "m_TransparentCullMode": 2,
  826. "m_OpaqueCullMode": 2,
  827. "m_SortPriority": 0,
  828. "m_AlphaTest": false,
  829. "m_TransparentDepthPrepass": false,
  830. "m_TransparentDepthPostpass": false,
  831. "m_SupportLodCrossFade": false,
  832. "m_DoubleSidedMode": 0,
  833. "m_DOTSInstancing": false,
  834. "m_CustomVelocity": false,
  835. "m_Tessellation": false,
  836. "m_TessellationMode": 0,
  837. "m_TessellationFactorMinDistance": 20.0,
  838. "m_TessellationFactorMaxDistance": 50.0,
  839. "m_TessellationFactorTriangleSize": 100.0,
  840. "m_TessellationShapeFactor": 0.75,
  841. "m_TessellationBackFaceCullEpsilon": -0.25,
  842. "m_TessellationMaxDisplacement": 0.009999999776482582,
  843. "m_DebugSymbols": false,
  844. "m_Version": 2,
  845. "inspectorFoldoutMask": 0
  846. }
  847. {
  848. "m_SGVersion": 0,
  849. "m_Type": "UnityEditor.ShaderGraph.Texture2DAssetNode",
  850. "m_ObjectId": "eb37015b22534791a37fc2ce6e2b2312",
  851. "m_Group": {
  852. "m_Id": "f97946e512a34aec8ba83459edbe205a"
  853. },
  854. "m_Name": "Texture 2D Asset",
  855. "m_DrawState": {
  856. "m_Expanded": true,
  857. "m_Position": {
  858. "serializedVersion": "2",
  859. "x": -718.9999389648438,
  860. "y": 208.50001525878907,
  861. "width": 143.5,
  862. "height": 105.99998474121094
  863. }
  864. },
  865. "m_Slots": [
  866. {
  867. "m_Id": "8a11c749655e43f38231e13904f2d18b"
  868. }
  869. ],
  870. "synonyms": [],
  871. "m_Precision": 0,
  872. "m_PreviewExpanded": true,
  873. "m_DismissedVersion": 0,
  874. "m_PreviewMode": 0,
  875. "m_CustomColors": {
  876. "m_SerializableColors": []
  877. },
  878. "m_Texture": {
  879. "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"ca1502b9036d689468a5686c2adfa47e\",\"type\":3}}",
  880. "m_Guid": ""
  881. }
  882. }
  883. {
  884. "m_SGVersion": 0,
  885. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  886. "m_ObjectId": "ebd6411c877d4c16b1279a0cb3e9618c",
  887. "m_Id": 0,
  888. "m_DisplayName": "Normal",
  889. "m_SlotType": 0,
  890. "m_Hidden": false,
  891. "m_ShaderOutputName": "Normal",
  892. "m_StageCapability": 1,
  893. "m_Value": {
  894. "x": 0.0,
  895. "y": 0.0,
  896. "z": 0.0
  897. },
  898. "m_DefaultValue": {
  899. "x": 0.0,
  900. "y": 0.0,
  901. "z": 0.0
  902. },
  903. "m_Labels": [],
  904. "m_Space": 0
  905. }
  906. {
  907. "m_SGVersion": 0,
  908. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  909. "m_ObjectId": "f2aed1f0dd594bc1bb7aa1b46e83a9c4",
  910. "m_Id": 4,
  911. "m_DisplayName": "Texel Height",
  912. "m_SlotType": 1,
  913. "m_Hidden": false,
  914. "m_ShaderOutputName": "Texel Height",
  915. "m_StageCapability": 3,
  916. "m_Value": 0.0,
  917. "m_DefaultValue": 0.0,
  918. "m_Labels": []
  919. }
  920. {
  921. "m_SGVersion": 0,
  922. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  923. "m_ObjectId": "f7ee4f619fe44235b0798acbea59583d",
  924. "m_Id": 3,
  925. "m_DisplayName": "Texel Width",
  926. "m_SlotType": 1,
  927. "m_Hidden": false,
  928. "m_ShaderOutputName": "Texel Width",
  929. "m_StageCapability": 3,
  930. "m_Value": 0.0,
  931. "m_DefaultValue": 0.0,
  932. "m_Labels": []
  933. }
  934. {
  935. "m_SGVersion": 0,
  936. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  937. "m_ObjectId": "f97946e512a34aec8ba83459edbe205a",
  938. "m_Title": "The Basics",
  939. "m_Position": {
  940. "x": -743.9998168945313,
  941. "y": 150.00006103515626
  942. }
  943. }