New Shader Graph.shadergraph 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "a5e7f427ef0840f6b174e3dc3c54a1c9",
  5. "m_Properties": [],
  6. "m_Keywords": [],
  7. "m_Dropdowns": [],
  8. "m_CategoryData": [
  9. {
  10. "m_Id": "88763b7b1ede4a16a8f0971b5992cd1c"
  11. }
  12. ],
  13. "m_Nodes": [
  14. {
  15. "m_Id": "f07eb32c1d7c4aa6ace9a6eee7ea3f92"
  16. },
  17. {
  18. "m_Id": "826f8b8b9d914c579df8c96e2f81c7b9"
  19. },
  20. {
  21. "m_Id": "12f90e349d6e4d17813a305bc9c71411"
  22. },
  23. {
  24. "m_Id": "03d25028e791468497619ba11ef98a2f"
  25. }
  26. ],
  27. "m_LocalVariables": [],
  28. "m_RegisterIDs": [],
  29. "m_GroupDatas": [],
  30. "m_StickyNoteDatas": [],
  31. "m_Edges": [],
  32. "m_VertexContext": {
  33. "m_Position": {
  34. "x": 0.0,
  35. "y": 0.0
  36. },
  37. "m_Blocks": [
  38. {
  39. "m_Id": "f07eb32c1d7c4aa6ace9a6eee7ea3f92"
  40. },
  41. {
  42. "m_Id": "826f8b8b9d914c579df8c96e2f81c7b9"
  43. },
  44. {
  45. "m_Id": "12f90e349d6e4d17813a305bc9c71411"
  46. }
  47. ]
  48. },
  49. "m_FragmentContext": {
  50. "m_Position": {
  51. "x": 0.0,
  52. "y": 200.0
  53. },
  54. "m_Blocks": [
  55. {
  56. "m_Id": "03d25028e791468497619ba11ef98a2f"
  57. }
  58. ]
  59. },
  60. "m_PreviewData": {
  61. "serializedMesh": {
  62. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  63. "m_Guid": ""
  64. },
  65. "preventRotation": false
  66. },
  67. "m_Path": "Shader Graphs",
  68. "m_GraphPrecision": 1,
  69. "m_PreviewMode": 2,
  70. "m_OutputNode": {
  71. "m_Id": ""
  72. },
  73. "m_SubDatas": [],
  74. "m_ActiveTargets": [
  75. {
  76. "m_Id": "a262fa5b8b9b4a50b80933ebc859f733"
  77. }
  78. ]
  79. }
  80. {
  81. "m_SGVersion": 0,
  82. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  83. "m_ObjectId": "03d25028e791468497619ba11ef98a2f",
  84. "m_Group": {
  85. "m_Id": ""
  86. },
  87. "m_Name": "SurfaceDescription.BaseColor",
  88. "m_DrawState": {
  89. "m_Expanded": true,
  90. "m_Position": {
  91. "serializedVersion": "2",
  92. "x": 0.0,
  93. "y": 0.0,
  94. "width": 0.0,
  95. "height": 0.0
  96. }
  97. },
  98. "m_Slots": [
  99. {
  100. "m_Id": "ab939f10643543b5b14c7df3b007ef3b"
  101. }
  102. ],
  103. "synonyms": [],
  104. "m_Precision": 0,
  105. "m_PreviewExpanded": true,
  106. "m_NodeLOD": 0,
  107. "m_DismissedVersion": 0,
  108. "m_PreviewMode": 0,
  109. "m_CustomColors": {
  110. "m_SerializableColors": []
  111. },
  112. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  113. }
  114. {
  115. "m_SGVersion": 0,
  116. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  117. "m_ObjectId": "12f90e349d6e4d17813a305bc9c71411",
  118. "m_Group": {
  119. "m_Id": ""
  120. },
  121. "m_Name": "VertexDescription.Tangent",
  122. "m_DrawState": {
  123. "m_Expanded": true,
  124. "m_Position": {
  125. "serializedVersion": "2",
  126. "x": 0.0,
  127. "y": 0.0,
  128. "width": 0.0,
  129. "height": 0.0
  130. }
  131. },
  132. "m_Slots": [
  133. {
  134. "m_Id": "8491fbb5142f451eaa5959e563e12bdd"
  135. }
  136. ],
  137. "synonyms": [],
  138. "m_Precision": 0,
  139. "m_PreviewExpanded": true,
  140. "m_NodeLOD": 0,
  141. "m_DismissedVersion": 0,
  142. "m_PreviewMode": 0,
  143. "m_CustomColors": {
  144. "m_SerializableColors": []
  145. },
  146. "m_SerializedDescriptor": "VertexDescription.Tangent"
  147. }
  148. {
  149. "m_SGVersion": 0,
  150. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  151. "m_ObjectId": "4f79b39b3a4946afb71b365caee74316",
  152. "m_Id": 0,
  153. "m_DisplayName": "Normal",
  154. "m_SlotType": 0,
  155. "m_Hidden": false,
  156. "m_ShaderOutputName": "Normal",
  157. "m_StageCapability": 1,
  158. "m_Value": {
  159. "x": 0.0,
  160. "y": 0.0,
  161. "z": 0.0
  162. },
  163. "m_DefaultValue": {
  164. "x": 0.0,
  165. "y": 0.0,
  166. "z": 0.0
  167. },
  168. "m_Labels": [],
  169. "m_Space": 0
  170. }
  171. {
  172. "m_SGVersion": 0,
  173. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  174. "m_ObjectId": "826f8b8b9d914c579df8c96e2f81c7b9",
  175. "m_Group": {
  176. "m_Id": ""
  177. },
  178. "m_Name": "VertexDescription.Normal",
  179. "m_DrawState": {
  180. "m_Expanded": true,
  181. "m_Position": {
  182. "serializedVersion": "2",
  183. "x": 0.0,
  184. "y": 0.0,
  185. "width": 0.0,
  186. "height": 0.0
  187. }
  188. },
  189. "m_Slots": [
  190. {
  191. "m_Id": "4f79b39b3a4946afb71b365caee74316"
  192. }
  193. ],
  194. "synonyms": [],
  195. "m_Precision": 0,
  196. "m_PreviewExpanded": true,
  197. "m_NodeLOD": 0,
  198. "m_DismissedVersion": 0,
  199. "m_PreviewMode": 0,
  200. "m_CustomColors": {
  201. "m_SerializableColors": []
  202. },
  203. "m_SerializedDescriptor": "VertexDescription.Normal"
  204. }
  205. {
  206. "m_SGVersion": 0,
  207. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  208. "m_ObjectId": "8491fbb5142f451eaa5959e563e12bdd",
  209. "m_Id": 0,
  210. "m_DisplayName": "Tangent",
  211. "m_SlotType": 0,
  212. "m_Hidden": false,
  213. "m_ShaderOutputName": "Tangent",
  214. "m_StageCapability": 1,
  215. "m_Value": {
  216. "x": 0.0,
  217. "y": 0.0,
  218. "z": 0.0
  219. },
  220. "m_DefaultValue": {
  221. "x": 0.0,
  222. "y": 0.0,
  223. "z": 0.0
  224. },
  225. "m_Labels": [],
  226. "m_Space": 0
  227. }
  228. {
  229. "m_SGVersion": 0,
  230. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  231. "m_ObjectId": "88763b7b1ede4a16a8f0971b5992cd1c",
  232. "m_Name": "",
  233. "m_ChildObjectList": []
  234. }
  235. {
  236. "m_SGVersion": 1,
  237. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  238. "m_ObjectId": "a262fa5b8b9b4a50b80933ebc859f733",
  239. "m_Datas": [],
  240. "m_ActiveSubTarget": {
  241. "m_Id": "e5f7ea967556480ab0f758f6929adf8e"
  242. },
  243. "m_AllowMaterialOverride": false,
  244. "m_SurfaceType": 0,
  245. "m_ZTestMode": 4,
  246. "m_ZWriteControl": 0,
  247. "m_AlphaMode": 0,
  248. "m_RenderFace": 2,
  249. "m_AlphaClip": false,
  250. "m_CastShadows": true,
  251. "m_ReceiveShadows": true,
  252. "m_SupportsLODCrossFade": false,
  253. "m_CustomEditorGUI": "",
  254. "m_SupportVFX": false
  255. }
  256. {
  257. "m_SGVersion": 0,
  258. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  259. "m_ObjectId": "ab939f10643543b5b14c7df3b007ef3b",
  260. "m_Id": 0,
  261. "m_DisplayName": "Base Color",
  262. "m_SlotType": 0,
  263. "m_Hidden": false,
  264. "m_ShaderOutputName": "BaseColor",
  265. "m_StageCapability": 2,
  266. "m_Value": {
  267. "x": 0.5,
  268. "y": 0.5,
  269. "z": 0.5
  270. },
  271. "m_DefaultValue": {
  272. "x": 0.0,
  273. "y": 0.0,
  274. "z": 0.0
  275. },
  276. "m_Labels": [],
  277. "m_ColorMode": 0,
  278. "m_DefaultColor": {
  279. "r": 0.5,
  280. "g": 0.5,
  281. "b": 0.5,
  282. "a": 1.0
  283. }
  284. }
  285. {
  286. "m_SGVersion": 2,
  287. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  288. "m_ObjectId": "e5f7ea967556480ab0f758f6929adf8e",
  289. "m_RemovedVariants": [],
  290. "m_RemovedPasses": [],
  291. "keywordsStatus": [
  292. true,
  293. true,
  294. true,
  295. true,
  296. true,
  297. true,
  298. true,
  299. true,
  300. true,
  301. true,
  302. true,
  303. true,
  304. true,
  305. true,
  306. true,
  307. true,
  308. true,
  309. true
  310. ],
  311. "passStatus": [
  312. true,
  313. true,
  314. true,
  315. true,
  316. true,
  317. true,
  318. true,
  319. true,
  320. true
  321. ],
  322. "surfaceOptionsFoldout": false,
  323. "passesFoldout": false,
  324. "variantsFoldout": false
  325. }
  326. {
  327. "m_SGVersion": 0,
  328. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  329. "m_ObjectId": "f07eb32c1d7c4aa6ace9a6eee7ea3f92",
  330. "m_Group": {
  331. "m_Id": ""
  332. },
  333. "m_Name": "VertexDescription.Position",
  334. "m_DrawState": {
  335. "m_Expanded": true,
  336. "m_Position": {
  337. "serializedVersion": "2",
  338. "x": 0.0,
  339. "y": 0.0,
  340. "width": 0.0,
  341. "height": 0.0
  342. }
  343. },
  344. "m_Slots": [
  345. {
  346. "m_Id": "f445608851e44e42887485693ab683cb"
  347. }
  348. ],
  349. "synonyms": [],
  350. "m_Precision": 0,
  351. "m_PreviewExpanded": true,
  352. "m_NodeLOD": 0,
  353. "m_DismissedVersion": 0,
  354. "m_PreviewMode": 0,
  355. "m_CustomColors": {
  356. "m_SerializableColors": []
  357. },
  358. "m_SerializedDescriptor": "VertexDescription.Position"
  359. }
  360. {
  361. "m_SGVersion": 0,
  362. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  363. "m_ObjectId": "f445608851e44e42887485693ab683cb",
  364. "m_Id": 0,
  365. "m_DisplayName": "Position",
  366. "m_SlotType": 0,
  367. "m_Hidden": false,
  368. "m_ShaderOutputName": "Position",
  369. "m_StageCapability": 1,
  370. "m_Value": {
  371. "x": 0.0,
  372. "y": 0.0,
  373. "z": 0.0
  374. },
  375. "m_DefaultValue": {
  376. "x": 0.0,
  377. "y": 0.0,
  378. "z": 0.0
  379. },
  380. "m_Labels": [],
  381. "m_Space": 0
  382. }