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.

Truncate.shadergraph 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "1a8c4fd6cb874381993d58a68284795b",
  5. "m_Properties": [],
  6. "m_Keywords": [],
  7. "m_Dropdowns": [],
  8. "m_CategoryData": [
  9. {
  10. "m_Id": "7c64e98696b041f5b97e00eaf75e640d"
  11. }
  12. ],
  13. "m_Nodes": [
  14. {
  15. "m_Id": "1d9c413461c146d08cd712fe71ef8330"
  16. },
  17. {
  18. "m_Id": "55f5b909fe004c999f8d6f539b64f9c6"
  19. },
  20. {
  21. "m_Id": "229768b906fd4ba8951e22f21caaa9e1"
  22. },
  23. {
  24. "m_Id": "14b49cd88f3748efa961e0da36482713"
  25. },
  26. {
  27. "m_Id": "807f88d2bf4648509dc970b8e58f8c12"
  28. },
  29. {
  30. "m_Id": "32cc0981e0d049419657be063d212f56"
  31. },
  32. {
  33. "m_Id": "ac34149cbed54c238949e902f902ad37"
  34. }
  35. ],
  36. "m_GroupDatas": [],
  37. "m_StickyNoteDatas": [
  38. {
  39. "m_Id": "f38ca1db975b402286a0904e649bfbab"
  40. }
  41. ],
  42. "m_Edges": [],
  43. "m_VertexContext": {
  44. "m_Position": {
  45. "x": 0.0,
  46. "y": 0.0
  47. },
  48. "m_Blocks": [
  49. {
  50. "m_Id": "1d9c413461c146d08cd712fe71ef8330"
  51. },
  52. {
  53. "m_Id": "55f5b909fe004c999f8d6f539b64f9c6"
  54. },
  55. {
  56. "m_Id": "229768b906fd4ba8951e22f21caaa9e1"
  57. }
  58. ]
  59. },
  60. "m_FragmentContext": {
  61. "m_Position": {
  62. "x": 0.0,
  63. "y": 200.0
  64. },
  65. "m_Blocks": [
  66. {
  67. "m_Id": "14b49cd88f3748efa961e0da36482713"
  68. },
  69. {
  70. "m_Id": "32cc0981e0d049419657be063d212f56"
  71. },
  72. {
  73. "m_Id": "ac34149cbed54c238949e902f902ad37"
  74. }
  75. ]
  76. },
  77. "m_PreviewData": {
  78. "serializedMesh": {
  79. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  80. "m_Guid": ""
  81. },
  82. "preventRotation": false
  83. },
  84. "m_Path": "Shader Graphs",
  85. "m_GraphPrecision": 1,
  86. "m_PreviewMode": 2,
  87. "m_OutputNode": {
  88. "m_Id": ""
  89. },
  90. "m_ActiveTargets": [
  91. {
  92. "m_Id": "25e9494d14f44320806ef2b50b6651d3"
  93. },
  94. {
  95. "m_Id": "35175f33f1f246ef8d3f93c80e8fca5e"
  96. },
  97. {
  98. "m_Id": "d867ab66c97944a7b2e29372f5c5a051"
  99. }
  100. ]
  101. }
  102. {
  103. "m_SGVersion": 0,
  104. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  105. "m_ObjectId": "0d4394cf6d834560b30c54349b6ef970",
  106. "m_Id": 0,
  107. "m_DisplayName": "Tangent",
  108. "m_SlotType": 0,
  109. "m_Hidden": false,
  110. "m_ShaderOutputName": "Tangent",
  111. "m_StageCapability": 1,
  112. "m_Value": {
  113. "x": 0.0,
  114. "y": 0.0,
  115. "z": 0.0
  116. },
  117. "m_DefaultValue": {
  118. "x": 0.0,
  119. "y": 0.0,
  120. "z": 0.0
  121. },
  122. "m_Labels": [],
  123. "m_Space": 0
  124. }
  125. {
  126. "m_SGVersion": 0,
  127. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  128. "m_ObjectId": "0f47c4373f5b4deaa112a5755a18e20a",
  129. "m_Id": 0,
  130. "m_DisplayName": "Normal",
  131. "m_SlotType": 0,
  132. "m_Hidden": false,
  133. "m_ShaderOutputName": "Normal",
  134. "m_StageCapability": 1,
  135. "m_Value": {
  136. "x": 0.0,
  137. "y": 0.0,
  138. "z": 0.0
  139. },
  140. "m_DefaultValue": {
  141. "x": 0.0,
  142. "y": 0.0,
  143. "z": 0.0
  144. },
  145. "m_Labels": [],
  146. "m_Space": 0
  147. }
  148. {
  149. "m_SGVersion": 0,
  150. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  151. "m_ObjectId": "14b49cd88f3748efa961e0da36482713",
  152. "m_Group": {
  153. "m_Id": ""
  154. },
  155. "m_Name": "SurfaceDescription.BaseColor",
  156. "m_DrawState": {
  157. "m_Expanded": true,
  158. "m_Position": {
  159. "serializedVersion": "2",
  160. "x": 0.0,
  161. "y": 0.0,
  162. "width": 0.0,
  163. "height": 0.0
  164. }
  165. },
  166. "m_Slots": [
  167. {
  168. "m_Id": "ba9454c8d73949c788b61474a0ce2e52"
  169. }
  170. ],
  171. "synonyms": [],
  172. "m_Precision": 0,
  173. "m_PreviewExpanded": true,
  174. "m_DismissedVersion": 0,
  175. "m_PreviewMode": 0,
  176. "m_CustomColors": {
  177. "m_SerializableColors": []
  178. },
  179. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  180. }
  181. {
  182. "m_SGVersion": 0,
  183. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  184. "m_ObjectId": "1d9c413461c146d08cd712fe71ef8330",
  185. "m_Group": {
  186. "m_Id": ""
  187. },
  188. "m_Name": "VertexDescription.Position",
  189. "m_DrawState": {
  190. "m_Expanded": true,
  191. "m_Position": {
  192. "serializedVersion": "2",
  193. "x": 0.0,
  194. "y": 0.0,
  195. "width": 0.0,
  196. "height": 0.0
  197. }
  198. },
  199. "m_Slots": [
  200. {
  201. "m_Id": "f655bb1ed39f4e529663fcbbd514e9ee"
  202. }
  203. ],
  204. "synonyms": [],
  205. "m_Precision": 0,
  206. "m_PreviewExpanded": true,
  207. "m_DismissedVersion": 0,
  208. "m_PreviewMode": 0,
  209. "m_CustomColors": {
  210. "m_SerializableColors": []
  211. },
  212. "m_SerializedDescriptor": "VertexDescription.Position"
  213. }
  214. {
  215. "m_SGVersion": 0,
  216. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  217. "m_ObjectId": "229768b906fd4ba8951e22f21caaa9e1",
  218. "m_Group": {
  219. "m_Id": ""
  220. },
  221. "m_Name": "VertexDescription.Tangent",
  222. "m_DrawState": {
  223. "m_Expanded": true,
  224. "m_Position": {
  225. "serializedVersion": "2",
  226. "x": 0.0,
  227. "y": 0.0,
  228. "width": 0.0,
  229. "height": 0.0
  230. }
  231. },
  232. "m_Slots": [
  233. {
  234. "m_Id": "0d4394cf6d834560b30c54349b6ef970"
  235. }
  236. ],
  237. "synonyms": [],
  238. "m_Precision": 0,
  239. "m_PreviewExpanded": true,
  240. "m_DismissedVersion": 0,
  241. "m_PreviewMode": 0,
  242. "m_CustomColors": {
  243. "m_SerializableColors": []
  244. },
  245. "m_SerializedDescriptor": "VertexDescription.Tangent"
  246. }
  247. {
  248. "m_SGVersion": 2,
  249. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  250. "m_ObjectId": "25e9494d14f44320806ef2b50b6651d3",
  251. "m_ActiveSubTarget": {
  252. "m_Id": "a28b2e03c25743f697c6664cf4399d2b"
  253. },
  254. "m_AllowMaterialOverride": false,
  255. "m_SurfaceType": 0,
  256. "m_ZWriteControl": 0,
  257. "m_ZTestMode": 4,
  258. "m_AlphaMode": 0,
  259. "m_RenderFace": 2,
  260. "m_AlphaClip": false,
  261. "m_CustomEditorGUI": ""
  262. }
  263. {
  264. "m_SGVersion": 0,
  265. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  266. "m_ObjectId": "2f7e1dd07e6a4a85b3596ba5ec8d4059",
  267. "m_Distortion": false,
  268. "m_DistortionMode": 0,
  269. "m_DistortionDepthTest": true,
  270. "m_AddPrecomputedVelocity": false,
  271. "m_TransparentWritesMotionVec": false,
  272. "m_DepthOffset": false,
  273. "m_ConservativeDepthOffset": false,
  274. "m_TransparencyFog": true,
  275. "m_AlphaTestShadow": false,
  276. "m_BackThenFrontRendering": false,
  277. "m_TransparentDepthPrepass": false,
  278. "m_TransparentDepthPostpass": false,
  279. "m_TransparentPerPixelSorting": false,
  280. "m_SupportLodCrossFade": false
  281. }
  282. {
  283. "m_SGVersion": 0,
  284. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  285. "m_ObjectId": "32cc0981e0d049419657be063d212f56",
  286. "m_Group": {
  287. "m_Id": ""
  288. },
  289. "m_Name": "SurfaceDescription.Emission",
  290. "m_DrawState": {
  291. "m_Expanded": true,
  292. "m_Position": {
  293. "serializedVersion": "2",
  294. "x": 0.0,
  295. "y": 0.0,
  296. "width": 0.0,
  297. "height": 0.0
  298. }
  299. },
  300. "m_Slots": [
  301. {
  302. "m_Id": "9fe4cf52e8104e8a89f39482ab2ccbd7"
  303. }
  304. ],
  305. "synonyms": [],
  306. "m_Precision": 0,
  307. "m_PreviewExpanded": true,
  308. "m_DismissedVersion": 0,
  309. "m_PreviewMode": 0,
  310. "m_CustomColors": {
  311. "m_SerializableColors": []
  312. },
  313. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  314. }
  315. {
  316. "m_SGVersion": 0,
  317. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  318. "m_ObjectId": "35175f33f1f246ef8d3f93c80e8fca5e",
  319. "m_ActiveSubTarget": {
  320. "m_Id": "be4e99084455469a860ea740ef16aab3"
  321. },
  322. "m_Datas": [
  323. {
  324. "m_Id": "2f7e1dd07e6a4a85b3596ba5ec8d4059"
  325. },
  326. {
  327. "m_Id": "c9e1548e0f014f42a1e7f135cabaa504"
  328. },
  329. {
  330. "m_Id": "d1219b039cee429980127c047d27af97"
  331. }
  332. ],
  333. "m_CustomEditorGUI": "",
  334. "m_SupportVFX": false,
  335. "m_SupportLineRendering": false
  336. }
  337. {
  338. "m_SGVersion": 0,
  339. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  340. "m_ObjectId": "55f5b909fe004c999f8d6f539b64f9c6",
  341. "m_Group": {
  342. "m_Id": ""
  343. },
  344. "m_Name": "VertexDescription.Normal",
  345. "m_DrawState": {
  346. "m_Expanded": true,
  347. "m_Position": {
  348. "serializedVersion": "2",
  349. "x": 0.0,
  350. "y": 0.0,
  351. "width": 0.0,
  352. "height": 0.0
  353. }
  354. },
  355. "m_Slots": [
  356. {
  357. "m_Id": "0f47c4373f5b4deaa112a5755a18e20a"
  358. }
  359. ],
  360. "synonyms": [],
  361. "m_Precision": 0,
  362. "m_PreviewExpanded": true,
  363. "m_DismissedVersion": 0,
  364. "m_PreviewMode": 0,
  365. "m_CustomColors": {
  366. "m_SerializableColors": []
  367. },
  368. "m_SerializedDescriptor": "VertexDescription.Normal"
  369. }
  370. {
  371. "m_SGVersion": 2,
  372. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  373. "m_ObjectId": "5b852d384763431d9ae47441d69e089b"
  374. }
  375. {
  376. "m_SGVersion": 0,
  377. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  378. "m_ObjectId": "7c64e98696b041f5b97e00eaf75e640d",
  379. "m_Name": "",
  380. "m_ChildObjectList": []
  381. }
  382. {
  383. "m_SGVersion": 0,
  384. "m_Type": "UnityEditor.ShaderGraph.TruncateNode",
  385. "m_ObjectId": "807f88d2bf4648509dc970b8e58f8c12",
  386. "m_Group": {
  387. "m_Id": ""
  388. },
  389. "m_Name": "Truncate",
  390. "m_DrawState": {
  391. "m_Expanded": true,
  392. "m_Position": {
  393. "serializedVersion": "2",
  394. "x": -627.5000610351563,
  395. "y": -47.0,
  396. "width": 127.50003051757813,
  397. "height": 94.0
  398. }
  399. },
  400. "m_Slots": [
  401. {
  402. "m_Id": "de10b68c358a45a484ea9759c2b8043f"
  403. },
  404. {
  405. "m_Id": "deff86ba06f74f1b910fe7eefa321041"
  406. }
  407. ],
  408. "synonyms": [],
  409. "m_Precision": 0,
  410. "m_PreviewExpanded": false,
  411. "m_DismissedVersion": 0,
  412. "m_PreviewMode": 0,
  413. "m_CustomColors": {
  414. "m_SerializableColors": []
  415. }
  416. }
  417. {
  418. "m_SGVersion": 0,
  419. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  420. "m_ObjectId": "9fe4cf52e8104e8a89f39482ab2ccbd7",
  421. "m_Id": 0,
  422. "m_DisplayName": "Emission",
  423. "m_SlotType": 0,
  424. "m_Hidden": false,
  425. "m_ShaderOutputName": "Emission",
  426. "m_StageCapability": 2,
  427. "m_Value": {
  428. "x": 0.0,
  429. "y": 0.0,
  430. "z": 0.0
  431. },
  432. "m_DefaultValue": {
  433. "x": 0.0,
  434. "y": 0.0,
  435. "z": 0.0
  436. },
  437. "m_Labels": [],
  438. "m_ColorMode": 1,
  439. "m_DefaultColor": {
  440. "r": 0.0,
  441. "g": 0.0,
  442. "b": 0.0,
  443. "a": 1.0
  444. }
  445. }
  446. {
  447. "m_SGVersion": 0,
  448. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  449. "m_ObjectId": "a28b2e03c25743f697c6664cf4399d2b"
  450. }
  451. {
  452. "m_SGVersion": 0,
  453. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  454. "m_ObjectId": "ac34149cbed54c238949e902f902ad37",
  455. "m_Group": {
  456. "m_Id": ""
  457. },
  458. "m_Name": "SurfaceDescription.Alpha",
  459. "m_DrawState": {
  460. "m_Expanded": true,
  461. "m_Position": {
  462. "serializedVersion": "2",
  463. "x": 0.0,
  464. "y": 0.0,
  465. "width": 0.0,
  466. "height": 0.0
  467. }
  468. },
  469. "m_Slots": [
  470. {
  471. "m_Id": "fb8e6cf7e2c04ea7acf9b54a783895c1"
  472. }
  473. ],
  474. "synonyms": [],
  475. "m_Precision": 0,
  476. "m_PreviewExpanded": true,
  477. "m_DismissedVersion": 0,
  478. "m_PreviewMode": 0,
  479. "m_CustomColors": {
  480. "m_SerializableColors": []
  481. },
  482. "m_SerializedDescriptor": "SurfaceDescription.Alpha"
  483. }
  484. {
  485. "m_SGVersion": 0,
  486. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  487. "m_ObjectId": "ba9454c8d73949c788b61474a0ce2e52",
  488. "m_Id": 0,
  489. "m_DisplayName": "Base Color",
  490. "m_SlotType": 0,
  491. "m_Hidden": false,
  492. "m_ShaderOutputName": "BaseColor",
  493. "m_StageCapability": 2,
  494. "m_Value": {
  495. "x": 0.5,
  496. "y": 0.5,
  497. "z": 0.5
  498. },
  499. "m_DefaultValue": {
  500. "x": 0.0,
  501. "y": 0.0,
  502. "z": 0.0
  503. },
  504. "m_Labels": [],
  505. "m_ColorMode": 0,
  506. "m_DefaultColor": {
  507. "r": 0.5,
  508. "g": 0.5,
  509. "b": 0.5,
  510. "a": 1.0
  511. }
  512. }
  513. {
  514. "m_SGVersion": 0,
  515. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  516. "m_ObjectId": "be4e99084455469a860ea740ef16aab3"
  517. }
  518. {
  519. "m_SGVersion": 0,
  520. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  521. "m_ObjectId": "c9e1548e0f014f42a1e7f135cabaa504",
  522. "m_MaterialNeedsUpdateHash": 0,
  523. "m_SurfaceType": 0,
  524. "m_RenderingPass": 1,
  525. "m_BlendMode": 0,
  526. "m_ZTest": 4,
  527. "m_ZWrite": false,
  528. "m_TransparentCullMode": 2,
  529. "m_OpaqueCullMode": 2,
  530. "m_SortPriority": 0,
  531. "m_AlphaTest": false,
  532. "m_TransparentDepthPrepass": false,
  533. "m_TransparentDepthPostpass": false,
  534. "m_SupportLodCrossFade": false,
  535. "m_DoubleSidedMode": 0,
  536. "m_DOTSInstancing": false,
  537. "m_CustomVelocity": false,
  538. "m_Tessellation": false,
  539. "m_TessellationMode": 0,
  540. "m_TessellationFactorMinDistance": 20.0,
  541. "m_TessellationFactorMaxDistance": 50.0,
  542. "m_TessellationFactorTriangleSize": 100.0,
  543. "m_TessellationShapeFactor": 0.75,
  544. "m_TessellationBackFaceCullEpsilon": -0.25,
  545. "m_TessellationMaxDisplacement": 0.009999999776482582,
  546. "m_DebugSymbols": false,
  547. "m_Version": 2,
  548. "inspectorFoldoutMask": 0
  549. }
  550. {
  551. "m_SGVersion": 0,
  552. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  553. "m_ObjectId": "d1219b039cee429980127c047d27af97",
  554. "m_EnableShadowMatte": false,
  555. "m_DistortionOnly": false
  556. }
  557. {
  558. "m_SGVersion": 1,
  559. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  560. "m_ObjectId": "d867ab66c97944a7b2e29372f5c5a051",
  561. "m_Datas": [],
  562. "m_ActiveSubTarget": {
  563. "m_Id": "5b852d384763431d9ae47441d69e089b"
  564. },
  565. "m_AllowMaterialOverride": false,
  566. "m_SurfaceType": 0,
  567. "m_ZTestMode": 4,
  568. "m_ZWriteControl": 0,
  569. "m_AlphaMode": 0,
  570. "m_RenderFace": 2,
  571. "m_AlphaClip": false,
  572. "m_CastShadows": true,
  573. "m_ReceiveShadows": true,
  574. "m_AdditionalMotionVectorMode": 0,
  575. "m_AlembicMotionVectors": false,
  576. "m_SupportsLODCrossFade": false,
  577. "m_CustomEditorGUI": "",
  578. "m_SupportVFX": false
  579. }
  580. {
  581. "m_SGVersion": 0,
  582. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  583. "m_ObjectId": "de10b68c358a45a484ea9759c2b8043f",
  584. "m_Id": 0,
  585. "m_DisplayName": "In",
  586. "m_SlotType": 0,
  587. "m_Hidden": false,
  588. "m_ShaderOutputName": "In",
  589. "m_StageCapability": 3,
  590. "m_Value": {
  591. "x": 0.0,
  592. "y": 0.0,
  593. "z": 0.0,
  594. "w": 0.0
  595. },
  596. "m_DefaultValue": {
  597. "x": 0.0,
  598. "y": 0.0,
  599. "z": 0.0,
  600. "w": 0.0
  601. }
  602. }
  603. {
  604. "m_SGVersion": 0,
  605. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  606. "m_ObjectId": "deff86ba06f74f1b910fe7eefa321041",
  607. "m_Id": 1,
  608. "m_DisplayName": "Out",
  609. "m_SlotType": 1,
  610. "m_Hidden": false,
  611. "m_ShaderOutputName": "Out",
  612. "m_StageCapability": 3,
  613. "m_Value": {
  614. "x": 0.0,
  615. "y": 0.0,
  616. "z": 0.0,
  617. "w": 0.0
  618. },
  619. "m_DefaultValue": {
  620. "x": 0.0,
  621. "y": 0.0,
  622. "z": 0.0,
  623. "w": 0.0
  624. }
  625. }
  626. {
  627. "m_SGVersion": 0,
  628. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  629. "m_ObjectId": "f38ca1db975b402286a0904e649bfbab",
  630. "m_Title": "Truncate Node",
  631. "m_Content": "The Truncate node drops the decimal portion of the input value and just returns the integer portion.\n\nFor positive numbers, this is exactly the same as the Floor node. But for negative numbers, Truncate behaves like Ceiling.",
  632. "m_TextSize": 0,
  633. "m_Theme": 0,
  634. "m_Position": {
  635. "serializedVersion": "2",
  636. "x": -481.5000305175781,
  637. "y": -43.500003814697269,
  638. "width": 200.0,
  639. "height": 160.00001525878907
  640. },
  641. "m_Group": {
  642. "m_Id": ""
  643. }
  644. }
  645. {
  646. "m_SGVersion": 0,
  647. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  648. "m_ObjectId": "f655bb1ed39f4e529663fcbbd514e9ee",
  649. "m_Id": 0,
  650. "m_DisplayName": "Position",
  651. "m_SlotType": 0,
  652. "m_Hidden": false,
  653. "m_ShaderOutputName": "Position",
  654. "m_StageCapability": 1,
  655. "m_Value": {
  656. "x": 0.0,
  657. "y": 0.0,
  658. "z": 0.0
  659. },
  660. "m_DefaultValue": {
  661. "x": 0.0,
  662. "y": 0.0,
  663. "z": 0.0
  664. },
  665. "m_Labels": [],
  666. "m_Space": 0
  667. }
  668. {
  669. "m_SGVersion": 0,
  670. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  671. "m_ObjectId": "fb8e6cf7e2c04ea7acf9b54a783895c1",
  672. "m_Id": 0,
  673. "m_DisplayName": "Alpha",
  674. "m_SlotType": 0,
  675. "m_Hidden": false,
  676. "m_ShaderOutputName": "Alpha",
  677. "m_StageCapability": 2,
  678. "m_Value": 1.0,
  679. "m_DefaultValue": 1.0,
  680. "m_Labels": []
  681. }