Açıklama Yok
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.

SpeedTree8LODTransition.shadersubgraph 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "5df95f7679bf4cfc8ff03ba5c2e9bd9a",
  5. "m_Properties": [
  6. {
  7. "m_Id": "be4498ae834e45b880f9a673b5a1c985"
  8. },
  9. {
  10. "m_Id": "df8a63625fb74b9db38b7dfe9ddf3b31"
  11. }
  12. ],
  13. "m_Keywords": [],
  14. "m_Dropdowns": [],
  15. "m_CategoryData": [
  16. {
  17. "m_Id": "41610b9c955045e4985b2a7a3c250128"
  18. }
  19. ],
  20. "m_Nodes": [
  21. {
  22. "m_Id": "a7cc8110386a4246aca9cd7d92f4547b"
  23. },
  24. {
  25. "m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
  26. },
  27. {
  28. "m_Id": "f4a1125310d54961a6958ee8ff2c4f7c"
  29. },
  30. {
  31. "m_Id": "9fb28ee20c4e4b21ba90f8846043c15a"
  32. },
  33. {
  34. "m_Id": "98e96a1ad39749298b605f999db7dbe2"
  35. }
  36. ],
  37. "m_GroupDatas": [],
  38. "m_StickyNoteDatas": [],
  39. "m_Edges": [
  40. {
  41. "m_OutputSlot": {
  42. "m_Node": {
  43. "m_Id": "98e96a1ad39749298b605f999db7dbe2"
  44. },
  45. "m_SlotId": 0
  46. },
  47. "m_InputSlot": {
  48. "m_Node": {
  49. "m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
  50. },
  51. "m_SlotId": 5
  52. }
  53. },
  54. {
  55. "m_OutputSlot": {
  56. "m_Node": {
  57. "m_Id": "9fb28ee20c4e4b21ba90f8846043c15a"
  58. },
  59. "m_SlotId": 0
  60. },
  61. "m_InputSlot": {
  62. "m_Node": {
  63. "m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
  64. },
  65. "m_SlotId": 0
  66. }
  67. },
  68. {
  69. "m_OutputSlot": {
  70. "m_Node": {
  71. "m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
  72. },
  73. "m_SlotId": 4
  74. },
  75. "m_InputSlot": {
  76. "m_Node": {
  77. "m_Id": "a7cc8110386a4246aca9cd7d92f4547b"
  78. },
  79. "m_SlotId": 1
  80. }
  81. },
  82. {
  83. "m_OutputSlot": {
  84. "m_Node": {
  85. "m_Id": "f4a1125310d54961a6958ee8ff2c4f7c"
  86. },
  87. "m_SlotId": 0
  88. },
  89. "m_InputSlot": {
  90. "m_Node": {
  91. "m_Id": "c0cddf2ae9c6488e89f3ce0712ca5e55"
  92. },
  93. "m_SlotId": 1
  94. }
  95. }
  96. ],
  97. "m_VertexContext": {
  98. "m_Position": {
  99. "x": 0.0,
  100. "y": 0.0
  101. },
  102. "m_Blocks": []
  103. },
  104. "m_FragmentContext": {
  105. "m_Position": {
  106. "x": 0.0,
  107. "y": 0.0
  108. },
  109. "m_Blocks": []
  110. },
  111. "m_PreviewData": {
  112. "serializedMesh": {
  113. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  114. "m_Guid": ""
  115. },
  116. "preventRotation": false
  117. },
  118. "m_Path": "SpeedTree",
  119. "m_GraphPrecision": 1,
  120. "m_PreviewMode": 2,
  121. "m_OutputNode": {
  122. "m_Id": "a7cc8110386a4246aca9cd7d92f4547b"
  123. },
  124. "m_SubDatas": [],
  125. "m_ActiveTargets": []
  126. }
  127. {
  128. "m_SGVersion": 0,
  129. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  130. "m_ObjectId": "0aac7827b0e04e0db61b568b356fb8d5",
  131. "m_Id": 1,
  132. "m_DisplayName": "ObjectSpacePositionOut",
  133. "m_SlotType": 0,
  134. "m_Hidden": false,
  135. "m_ShaderOutputName": "ObjectSpacePositionOut",
  136. "m_StageCapability": 3,
  137. "m_Value": {
  138. "x": 0.0,
  139. "y": 0.0,
  140. "z": 0.0
  141. },
  142. "m_DefaultValue": {
  143. "x": 0.0,
  144. "y": 0.0,
  145. "z": 0.0
  146. },
  147. "m_Labels": []
  148. }
  149. {
  150. "m_SGVersion": 0,
  151. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  152. "m_ObjectId": "26cb83fb0d024be6b58b64aab4cae3bc",
  153. "m_Id": 0,
  154. "m_DisplayName": "Out",
  155. "m_SlotType": 1,
  156. "m_Hidden": false,
  157. "m_ShaderOutputName": "Out",
  158. "m_StageCapability": 3,
  159. "m_Value": {
  160. "x": 0.0,
  161. "y": 0.0,
  162. "z": 0.0,
  163. "w": 0.0
  164. },
  165. "m_DefaultValue": {
  166. "x": 0.0,
  167. "y": 0.0,
  168. "z": 0.0,
  169. "w": 0.0
  170. },
  171. "m_Labels": []
  172. }
  173. {
  174. "m_SGVersion": 0,
  175. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  176. "m_ObjectId": "2839097f17704237b5abd0a2ea33427f",
  177. "m_Id": 4,
  178. "m_DisplayName": "ObjectSpacePositionOut",
  179. "m_SlotType": 1,
  180. "m_Hidden": false,
  181. "m_ShaderOutputName": "ObjectSpacePositionOut",
  182. "m_StageCapability": 3,
  183. "m_Value": {
  184. "x": 0.0,
  185. "y": 0.0,
  186. "z": 0.0
  187. },
  188. "m_DefaultValue": {
  189. "x": 0.0,
  190. "y": 0.0,
  191. "z": 0.0
  192. },
  193. "m_Labels": []
  194. }
  195. {
  196. "m_SGVersion": 0,
  197. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  198. "m_ObjectId": "3da7ee97d49d41b481c6f617b3e43777",
  199. "m_Id": 0,
  200. "m_DisplayName": "ObjectSpacePosition",
  201. "m_SlotType": 0,
  202. "m_Hidden": false,
  203. "m_ShaderOutputName": "ObjectSpacePosition",
  204. "m_StageCapability": 3,
  205. "m_Value": {
  206. "x": 0.0,
  207. "y": 0.0,
  208. "z": 0.0
  209. },
  210. "m_DefaultValue": {
  211. "x": 0.0,
  212. "y": 0.0,
  213. "z": 0.0
  214. },
  215. "m_Labels": []
  216. }
  217. {
  218. "m_SGVersion": 0,
  219. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  220. "m_ObjectId": "41610b9c955045e4985b2a7a3c250128",
  221. "m_Name": "",
  222. "m_ChildObjectList": [
  223. {
  224. "m_Id": "df8a63625fb74b9db38b7dfe9ddf3b31"
  225. },
  226. {
  227. "m_Id": "be4498ae834e45b880f9a673b5a1c985"
  228. }
  229. ]
  230. }
  231. {
  232. "m_SGVersion": 0,
  233. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  234. "m_ObjectId": "8b8f30e472bb4be8a31391986e7eda10",
  235. "m_Id": 1,
  236. "m_DisplayName": "ObjectSpacePositionNextLOD",
  237. "m_SlotType": 0,
  238. "m_Hidden": false,
  239. "m_ShaderOutputName": "ObjectSpacePositionNextLOD",
  240. "m_StageCapability": 3,
  241. "m_Value": {
  242. "x": 0.0,
  243. "y": 0.0,
  244. "z": 0.0,
  245. "w": 0.0
  246. },
  247. "m_DefaultValue": {
  248. "x": 0.0,
  249. "y": 0.0,
  250. "z": 0.0,
  251. "w": 0.0
  252. },
  253. "m_Labels": []
  254. }
  255. {
  256. "m_SGVersion": 0,
  257. "m_Type": "UnityEditor.ShaderGraph.PropertyNode",
  258. "m_ObjectId": "98e96a1ad39749298b605f999db7dbe2",
  259. "m_Group": {
  260. "m_Id": ""
  261. },
  262. "m_Name": "Property",
  263. "m_DrawState": {
  264. "m_Expanded": true,
  265. "m_Position": {
  266. "serializedVersion": "2",
  267. "x": -370.3999938964844,
  268. "y": -270.4000549316406,
  269. "width": 134.3999786376953,
  270. "height": 33.60008239746094
  271. }
  272. },
  273. "m_Slots": [
  274. {
  275. "m_Id": "ee441aa7b06b45c08ea3aebee59a87f7"
  276. }
  277. ],
  278. "synonyms": [],
  279. "m_Precision": 0,
  280. "m_PreviewExpanded": true,
  281. "m_DismissedVersion": 0,
  282. "m_PreviewMode": 0,
  283. "m_CustomColors": {
  284. "m_SerializableColors": []
  285. },
  286. "m_Property": {
  287. "m_Id": "be4498ae834e45b880f9a673b5a1c985"
  288. }
  289. }
  290. {
  291. "m_SGVersion": 1,
  292. "m_Type": "UnityEditor.ShaderGraph.PositionNode",
  293. "m_ObjectId": "9fb28ee20c4e4b21ba90f8846043c15a",
  294. "m_Group": {
  295. "m_Id": ""
  296. },
  297. "m_Name": "Position",
  298. "m_DrawState": {
  299. "m_Expanded": true,
  300. "m_Position": {
  301. "serializedVersion": "2",
  302. "x": -442.39996337890627,
  303. "y": -553.5999755859375,
  304. "width": 206.3999481201172,
  305. "height": 128.79995727539063
  306. }
  307. },
  308. "m_Slots": [
  309. {
  310. "m_Id": "dec5f161e725461a86d5a9bea6c30a3e"
  311. }
  312. ],
  313. "synonyms": [
  314. "location"
  315. ],
  316. "m_Precision": 1,
  317. "m_PreviewExpanded": false,
  318. "m_DismissedVersion": 0,
  319. "m_PreviewMode": 2,
  320. "m_CustomColors": {
  321. "m_SerializableColors": []
  322. },
  323. "m_Space": 0,
  324. "m_PositionSource": 0
  325. }
  326. {
  327. "m_SGVersion": 0,
  328. "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
  329. "m_ObjectId": "a7cc8110386a4246aca9cd7d92f4547b",
  330. "m_Group": {
  331. "m_Id": ""
  332. },
  333. "m_Name": "Output",
  334. "m_DrawState": {
  335. "m_Expanded": true,
  336. "m_Position": {
  337. "serializedVersion": "2",
  338. "x": 231.99998474121095,
  339. "y": -443.2000427246094,
  340. "width": 182.3999786376953,
  341. "height": 76.80001831054688
  342. }
  343. },
  344. "m_Slots": [
  345. {
  346. "m_Id": "0aac7827b0e04e0db61b568b356fb8d5"
  347. }
  348. ],
  349. "synonyms": [],
  350. "m_Precision": 0,
  351. "m_PreviewExpanded": true,
  352. "m_DismissedVersion": 0,
  353. "m_PreviewMode": 0,
  354. "m_CustomColors": {
  355. "m_SerializableColors": []
  356. },
  357. "IsFirstSlotValid": true
  358. }
  359. {
  360. "m_SGVersion": 0,
  361. "m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
  362. "m_ObjectId": "be4498ae834e45b880f9a673b5a1c985",
  363. "m_Guid": {
  364. "m_GuidSerialized": "78de9e69-4ebd-41a4-a79e-89308af6789f"
  365. },
  366. "m_Name": "Is Billboard",
  367. "m_DefaultRefNameVersion": 1,
  368. "m_RefNameGeneratedByDisplayName": "Is Billboard",
  369. "m_DefaultReferenceName": "Is_Billboard",
  370. "m_OverrideReferenceName": "",
  371. "m_GeneratePropertyBlock": true,
  372. "m_UseCustomSlotLabel": false,
  373. "m_CustomSlotLabel": "",
  374. "m_DismissedVersion": 0,
  375. "m_Precision": 0,
  376. "overrideHLSLDeclaration": false,
  377. "hlslDeclarationOverride": 0,
  378. "m_Hidden": false,
  379. "m_Value": false
  380. }
  381. {
  382. "m_SGVersion": 1,
  383. "m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
  384. "m_ObjectId": "c0cddf2ae9c6488e89f3ce0712ca5e55",
  385. "m_Group": {
  386. "m_Id": ""
  387. },
  388. "m_Name": "SpeedTreeLODTransition (Custom Function)",
  389. "m_DrawState": {
  390. "m_Expanded": true,
  391. "m_Position": {
  392. "serializedVersion": "2",
  393. "x": -192.0,
  394. "y": -443.2000427246094,
  395. "width": 385.5999755859375,
  396. "height": 325.60003662109377
  397. }
  398. },
  399. "m_Slots": [
  400. {
  401. "m_Id": "3da7ee97d49d41b481c6f617b3e43777"
  402. },
  403. {
  404. "m_Id": "8b8f30e472bb4be8a31391986e7eda10"
  405. },
  406. {
  407. "m_Id": "f7d6ab4ca1864e22b9a05ea7b653afa5"
  408. },
  409. {
  410. "m_Id": "2839097f17704237b5abd0a2ea33427f"
  411. }
  412. ],
  413. "synonyms": [
  414. "code",
  415. "HLSL"
  416. ],
  417. "m_Precision": 0,
  418. "m_PreviewExpanded": true,
  419. "m_DismissedVersion": 0,
  420. "m_PreviewMode": 0,
  421. "m_CustomColors": {
  422. "m_SerializableColors": []
  423. },
  424. "m_SourceType": 0,
  425. "m_FunctionName": "SpeedTreeLODTransition",
  426. "m_FunctionSource": "33eafb83c6bce0842b6887eebaf95436",
  427. "m_FunctionBody": "Enter function body here..."
  428. }
  429. {
  430. "m_SGVersion": 0,
  431. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  432. "m_ObjectId": "dec5f161e725461a86d5a9bea6c30a3e",
  433. "m_Id": 0,
  434. "m_DisplayName": "Out",
  435. "m_SlotType": 1,
  436. "m_Hidden": false,
  437. "m_ShaderOutputName": "Out",
  438. "m_StageCapability": 3,
  439. "m_Value": {
  440. "x": 0.0,
  441. "y": 0.0,
  442. "z": 0.0
  443. },
  444. "m_DefaultValue": {
  445. "x": 0.0,
  446. "y": 0.0,
  447. "z": 0.0
  448. },
  449. "m_Labels": []
  450. }
  451. {
  452. "m_SGVersion": 1,
  453. "m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
  454. "m_ObjectId": "df8a63625fb74b9db38b7dfe9ddf3b31",
  455. "m_Guid": {
  456. "m_GuidSerialized": "dfcfcf03-7dec-4747-be7e-73fc3618f563"
  457. },
  458. "m_Name": "ObjectSpacePosition",
  459. "m_DefaultRefNameVersion": 1,
  460. "m_RefNameGeneratedByDisplayName": "ObjectSpacePosition",
  461. "m_DefaultReferenceName": "_ObjectSpacePosition",
  462. "m_OverrideReferenceName": "",
  463. "m_GeneratePropertyBlock": true,
  464. "m_UseCustomSlotLabel": false,
  465. "m_CustomSlotLabel": "",
  466. "m_DismissedVersion": 0,
  467. "m_Precision": 0,
  468. "overrideHLSLDeclaration": false,
  469. "hlslDeclarationOverride": 0,
  470. "m_Hidden": false,
  471. "m_Value": {
  472. "x": 0.0,
  473. "y": 0.0,
  474. "z": 0.0,
  475. "w": 0.0
  476. }
  477. }
  478. {
  479. "m_SGVersion": 0,
  480. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  481. "m_ObjectId": "ee441aa7b06b45c08ea3aebee59a87f7",
  482. "m_Id": 0,
  483. "m_DisplayName": "Is Billboard",
  484. "m_SlotType": 1,
  485. "m_Hidden": false,
  486. "m_ShaderOutputName": "Out",
  487. "m_StageCapability": 3,
  488. "m_Value": false,
  489. "m_DefaultValue": false
  490. }
  491. {
  492. "m_SGVersion": 0,
  493. "m_Type": "UnityEditor.ShaderGraph.UVNode",
  494. "m_ObjectId": "f4a1125310d54961a6958ee8ff2c4f7c",
  495. "m_Group": {
  496. "m_Id": ""
  497. },
  498. "m_Name": "UV",
  499. "m_DrawState": {
  500. "m_Expanded": true,
  501. "m_Position": {
  502. "serializedVersion": "2",
  503. "x": -380.79998779296877,
  504. "y": -408.0000305175781,
  505. "width": 144.7999725341797,
  506. "height": 127.20004272460938
  507. }
  508. },
  509. "m_Slots": [
  510. {
  511. "m_Id": "26cb83fb0d024be6b58b64aab4cae3bc"
  512. }
  513. ],
  514. "synonyms": [
  515. "texcoords",
  516. "coords",
  517. "coordinates"
  518. ],
  519. "m_Precision": 0,
  520. "m_PreviewExpanded": false,
  521. "m_DismissedVersion": 0,
  522. "m_PreviewMode": 0,
  523. "m_CustomColors": {
  524. "m_SerializableColors": []
  525. },
  526. "m_OutputChannel": 2
  527. }
  528. {
  529. "m_SGVersion": 0,
  530. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  531. "m_ObjectId": "f7d6ab4ca1864e22b9a05ea7b653afa5",
  532. "m_Id": 5,
  533. "m_DisplayName": "IsBillboard",
  534. "m_SlotType": 0,
  535. "m_Hidden": false,
  536. "m_ShaderOutputName": "IsBillboard",
  537. "m_StageCapability": 3,
  538. "m_Value": false,
  539. "m_DefaultValue": false
  540. }