Няма описание
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.

MetalReflectance.shadergraph 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "9a910d17a3fd429ba50b382c82d07715",
  5. "m_Properties": [
  6. {
  7. "m_Id": "9ca2c55ddc70430ea511b16c495fa710"
  8. }
  9. ],
  10. "m_Keywords": [],
  11. "m_Dropdowns": [],
  12. "m_CategoryData": [
  13. {
  14. "m_Id": "ee6587ea8b0d4b01a188062084abfe21"
  15. }
  16. ],
  17. "m_Nodes": [
  18. {
  19. "m_Id": "a13bb11f683e49af9e3053c16550f2fb"
  20. },
  21. {
  22. "m_Id": "65e9fb27f5904a1da01c7cefd0dca18f"
  23. },
  24. {
  25. "m_Id": "417fc6e89a544bb5b98c4ac9139daf4e"
  26. },
  27. {
  28. "m_Id": "9af29c02a3514f60aee36ae44462dc2b"
  29. },
  30. {
  31. "m_Id": "5bd287a0c33d4abb9770a635923425c8"
  32. }
  33. ],
  34. "m_GroupDatas": [],
  35. "m_StickyNoteDatas": [
  36. {
  37. "m_Id": "ea61c9b030ed4f738d96528e62af0d14"
  38. },
  39. {
  40. "m_Id": "45eed525cd264d1990b705ea3b759cac"
  41. }
  42. ],
  43. "m_Edges": [],
  44. "m_VertexContext": {
  45. "m_Position": {
  46. "x": 0.0,
  47. "y": 0.0
  48. },
  49. "m_Blocks": [
  50. {
  51. "m_Id": "a13bb11f683e49af9e3053c16550f2fb"
  52. },
  53. {
  54. "m_Id": "65e9fb27f5904a1da01c7cefd0dca18f"
  55. },
  56. {
  57. "m_Id": "417fc6e89a544bb5b98c4ac9139daf4e"
  58. }
  59. ]
  60. },
  61. "m_FragmentContext": {
  62. "m_Position": {
  63. "x": 0.0,
  64. "y": 200.0
  65. },
  66. "m_Blocks": [
  67. {
  68. "m_Id": "9af29c02a3514f60aee36ae44462dc2b"
  69. }
  70. ]
  71. },
  72. "m_PreviewData": {
  73. "serializedMesh": {
  74. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  75. "m_Guid": ""
  76. },
  77. "preventRotation": false
  78. },
  79. "m_Path": "Shader Graphs",
  80. "m_GraphPrecision": 1,
  81. "m_PreviewMode": 2,
  82. "m_OutputNode": {
  83. "m_Id": ""
  84. },
  85. "m_ActiveTargets": [
  86. {
  87. "m_Id": "77982ad4f0544665835ac5264e1653d2"
  88. },
  89. {
  90. "m_Id": "ada01e675ecf4211af6cd31b24f831fd"
  91. },
  92. {
  93. "m_Id": "975ff4eb93774173ac5a7a1a1cb14de3"
  94. }
  95. ]
  96. }
  97. {
  98. "m_SGVersion": 0,
  99. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  100. "m_ObjectId": "070f588ed21a4996b9f668e1b263c2f4",
  101. "m_EnableShadowMatte": false,
  102. "m_DistortionOnly": false
  103. }
  104. {
  105. "m_SGVersion": 0,
  106. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  107. "m_ObjectId": "1ff4c6b745c54dd281cdcdfbc37385bf"
  108. }
  109. {
  110. "m_SGVersion": 0,
  111. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  112. "m_ObjectId": "20b4b76da32e49aeb4d63e89fa6b933e"
  113. }
  114. {
  115. "m_SGVersion": 0,
  116. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  117. "m_ObjectId": "2665183589e84ca3b06aa72891aea3ab",
  118. "m_MaterialNeedsUpdateHash": 0,
  119. "m_SurfaceType": 0,
  120. "m_RenderingPass": 1,
  121. "m_BlendMode": 0,
  122. "m_ZTest": 4,
  123. "m_ZWrite": false,
  124. "m_TransparentCullMode": 2,
  125. "m_OpaqueCullMode": 2,
  126. "m_SortPriority": 0,
  127. "m_AlphaTest": false,
  128. "m_TransparentDepthPrepass": false,
  129. "m_TransparentDepthPostpass": false,
  130. "m_SupportLodCrossFade": false,
  131. "m_DoubleSidedMode": 0,
  132. "m_DOTSInstancing": false,
  133. "m_CustomVelocity": false,
  134. "m_Tessellation": false,
  135. "m_TessellationMode": 0,
  136. "m_TessellationFactorMinDistance": 20.0,
  137. "m_TessellationFactorMaxDistance": 50.0,
  138. "m_TessellationFactorTriangleSize": 100.0,
  139. "m_TessellationShapeFactor": 0.75,
  140. "m_TessellationBackFaceCullEpsilon": -0.25,
  141. "m_TessellationMaxDisplacement": 0.009999999776482582,
  142. "m_DebugSymbols": false,
  143. "m_Version": 2,
  144. "inspectorFoldoutMask": 0
  145. }
  146. {
  147. "m_SGVersion": 0,
  148. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  149. "m_ObjectId": "3622bc82e3b248788f3889ea4f69c0ca",
  150. "m_Id": 0,
  151. "m_DisplayName": "Position",
  152. "m_SlotType": 0,
  153. "m_Hidden": false,
  154. "m_ShaderOutputName": "Position",
  155. "m_StageCapability": 1,
  156. "m_Value": {
  157. "x": 0.0,
  158. "y": 0.0,
  159. "z": 0.0
  160. },
  161. "m_DefaultValue": {
  162. "x": 0.0,
  163. "y": 0.0,
  164. "z": 0.0
  165. },
  166. "m_Labels": [],
  167. "m_Space": 0
  168. }
  169. {
  170. "m_SGVersion": 0,
  171. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  172. "m_ObjectId": "3a8415caa1384951be6c53ee513bcf95",
  173. "m_Id": 0,
  174. "m_DisplayName": "Tangent",
  175. "m_SlotType": 0,
  176. "m_Hidden": false,
  177. "m_ShaderOutputName": "Tangent",
  178. "m_StageCapability": 1,
  179. "m_Value": {
  180. "x": 0.0,
  181. "y": 0.0,
  182. "z": 0.0
  183. },
  184. "m_DefaultValue": {
  185. "x": 0.0,
  186. "y": 0.0,
  187. "z": 0.0
  188. },
  189. "m_Labels": [],
  190. "m_Space": 0
  191. }
  192. {
  193. "m_SGVersion": 2,
  194. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  195. "m_ObjectId": "3afd423d234b4d0b8d87df9c2841b4cf"
  196. }
  197. {
  198. "m_SGVersion": 0,
  199. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  200. "m_ObjectId": "417fc6e89a544bb5b98c4ac9139daf4e",
  201. "m_Group": {
  202. "m_Id": ""
  203. },
  204. "m_Name": "VertexDescription.Tangent",
  205. "m_DrawState": {
  206. "m_Expanded": true,
  207. "m_Position": {
  208. "serializedVersion": "2",
  209. "x": 0.0,
  210. "y": 0.0,
  211. "width": 0.0,
  212. "height": 0.0
  213. }
  214. },
  215. "m_Slots": [
  216. {
  217. "m_Id": "3a8415caa1384951be6c53ee513bcf95"
  218. }
  219. ],
  220. "synonyms": [],
  221. "m_Precision": 0,
  222. "m_PreviewExpanded": true,
  223. "m_DismissedVersion": 0,
  224. "m_PreviewMode": 0,
  225. "m_CustomColors": {
  226. "m_SerializableColors": []
  227. },
  228. "m_SerializedDescriptor": "VertexDescription.Tangent"
  229. }
  230. {
  231. "m_SGVersion": 0,
  232. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  233. "m_ObjectId": "45eed525cd264d1990b705ea3b759cac",
  234. "m_Title": "",
  235. "m_Content": "It should be noted that these values represent the reflectance values of the metals in their purest forms. Other factors like rust, oxidation, coatings, dirt, etc, can also influence the color of the metal.",
  236. "m_TextSize": 0,
  237. "m_Theme": 0,
  238. "m_Position": {
  239. "serializedVersion": "2",
  240. "x": -392.5000305175781,
  241. "y": 273.0000305175781,
  242. "width": 252.50001525878907,
  243. "height": 100.0
  244. },
  245. "m_Group": {
  246. "m_Id": ""
  247. }
  248. }
  249. {
  250. "m_SGVersion": 0,
  251. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  252. "m_ObjectId": "48f4b6d1f9b145aab4236228f18fad87",
  253. "m_Distortion": false,
  254. "m_DistortionMode": 0,
  255. "m_DistortionDepthTest": true,
  256. "m_AddPrecomputedVelocity": false,
  257. "m_TransparentWritesMotionVec": false,
  258. "m_DepthOffset": false,
  259. "m_ConservativeDepthOffset": false,
  260. "m_TransparencyFog": true,
  261. "m_AlphaTestShadow": false,
  262. "m_BackThenFrontRendering": false,
  263. "m_TransparentDepthPrepass": false,
  264. "m_TransparentDepthPostpass": false,
  265. "m_TransparentPerPixelSorting": false,
  266. "m_SupportLodCrossFade": false
  267. }
  268. {
  269. "m_SGVersion": 0,
  270. "m_Type": "UnityEditor.ShaderGraph.MetalReflectanceNode",
  271. "m_ObjectId": "5bd287a0c33d4abb9770a635923425c8",
  272. "m_Group": {
  273. "m_Id": ""
  274. },
  275. "m_Name": "Metal Reflectance",
  276. "m_DrawState": {
  277. "m_Expanded": true,
  278. "m_Position": {
  279. "serializedVersion": "2",
  280. "x": -546.0000610351563,
  281. "y": -11.49998664855957,
  282. "width": 148.50006103515626,
  283. "height": 128.50003051757813
  284. }
  285. },
  286. "m_Slots": [
  287. {
  288. "m_Id": "a4a50b25a28144138393dd19baec1128"
  289. }
  290. ],
  291. "synonyms": [],
  292. "m_Precision": 0,
  293. "m_PreviewExpanded": false,
  294. "m_DismissedVersion": 0,
  295. "m_PreviewMode": 0,
  296. "m_CustomColors": {
  297. "m_SerializableColors": []
  298. },
  299. "m_Material": 0
  300. }
  301. {
  302. "m_SGVersion": 0,
  303. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  304. "m_ObjectId": "65e9fb27f5904a1da01c7cefd0dca18f",
  305. "m_Group": {
  306. "m_Id": ""
  307. },
  308. "m_Name": "VertexDescription.Normal",
  309. "m_DrawState": {
  310. "m_Expanded": true,
  311. "m_Position": {
  312. "serializedVersion": "2",
  313. "x": 0.0,
  314. "y": 0.0,
  315. "width": 0.0,
  316. "height": 0.0
  317. }
  318. },
  319. "m_Slots": [
  320. {
  321. "m_Id": "c494e9a842ce48919e631ffd50454754"
  322. }
  323. ],
  324. "synonyms": [],
  325. "m_Precision": 0,
  326. "m_PreviewExpanded": true,
  327. "m_DismissedVersion": 0,
  328. "m_PreviewMode": 0,
  329. "m_CustomColors": {
  330. "m_SerializableColors": []
  331. },
  332. "m_SerializedDescriptor": "VertexDescription.Normal"
  333. }
  334. {
  335. "m_SGVersion": 2,
  336. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  337. "m_ObjectId": "77982ad4f0544665835ac5264e1653d2",
  338. "m_ActiveSubTarget": {
  339. "m_Id": "20b4b76da32e49aeb4d63e89fa6b933e"
  340. },
  341. "m_AllowMaterialOverride": false,
  342. "m_SurfaceType": 0,
  343. "m_ZWriteControl": 0,
  344. "m_ZTestMode": 4,
  345. "m_AlphaMode": 0,
  346. "m_RenderFace": 2,
  347. "m_AlphaClip": false,
  348. "m_CustomEditorGUI": ""
  349. }
  350. {
  351. "m_SGVersion": 1,
  352. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  353. "m_ObjectId": "975ff4eb93774173ac5a7a1a1cb14de3",
  354. "m_Datas": [],
  355. "m_ActiveSubTarget": {
  356. "m_Id": "3afd423d234b4d0b8d87df9c2841b4cf"
  357. },
  358. "m_AllowMaterialOverride": false,
  359. "m_SurfaceType": 0,
  360. "m_ZTestMode": 4,
  361. "m_ZWriteControl": 0,
  362. "m_AlphaMode": 0,
  363. "m_RenderFace": 2,
  364. "m_AlphaClip": false,
  365. "m_CastShadows": true,
  366. "m_ReceiveShadows": true,
  367. "m_AdditionalMotionVectorMode": 0,
  368. "m_AlembicMotionVectors": false,
  369. "m_SupportsLODCrossFade": false,
  370. "m_CustomEditorGUI": "",
  371. "m_SupportVFX": false
  372. }
  373. {
  374. "m_SGVersion": 0,
  375. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  376. "m_ObjectId": "9af29c02a3514f60aee36ae44462dc2b",
  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": "d649a79542684e6ba1464dc9b5419e8d"
  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": 1,
  408. "m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
  409. "m_ObjectId": "9ca2c55ddc70430ea511b16c495fa710",
  410. "m_Guid": {
  411. "m_GuidSerialized": "2efe28d2-8318-4740-bf29-90eca8b74ae1"
  412. },
  413. "m_Name": "Vector4",
  414. "m_DefaultRefNameVersion": 1,
  415. "m_RefNameGeneratedByDisplayName": "Vector4",
  416. "m_DefaultReferenceName": "_Vector4",
  417. "m_OverrideReferenceName": "",
  418. "m_GeneratePropertyBlock": true,
  419. "m_UseCustomSlotLabel": false,
  420. "m_CustomSlotLabel": "",
  421. "m_DismissedVersion": 0,
  422. "m_Precision": 0,
  423. "overrideHLSLDeclaration": false,
  424. "hlslDeclarationOverride": 0,
  425. "m_Hidden": false,
  426. "m_Value": {
  427. "x": 0.0,
  428. "y": 0.0,
  429. "z": 0.0,
  430. "w": 0.0
  431. }
  432. }
  433. {
  434. "m_SGVersion": 0,
  435. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  436. "m_ObjectId": "a13bb11f683e49af9e3053c16550f2fb",
  437. "m_Group": {
  438. "m_Id": ""
  439. },
  440. "m_Name": "VertexDescription.Position",
  441. "m_DrawState": {
  442. "m_Expanded": true,
  443. "m_Position": {
  444. "serializedVersion": "2",
  445. "x": 0.0,
  446. "y": 0.0,
  447. "width": 0.0,
  448. "height": 0.0
  449. }
  450. },
  451. "m_Slots": [
  452. {
  453. "m_Id": "3622bc82e3b248788f3889ea4f69c0ca"
  454. }
  455. ],
  456. "synonyms": [],
  457. "m_Precision": 0,
  458. "m_PreviewExpanded": true,
  459. "m_DismissedVersion": 0,
  460. "m_PreviewMode": 0,
  461. "m_CustomColors": {
  462. "m_SerializableColors": []
  463. },
  464. "m_SerializedDescriptor": "VertexDescription.Position"
  465. }
  466. {
  467. "m_SGVersion": 0,
  468. "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
  469. "m_ObjectId": "a4a50b25a28144138393dd19baec1128",
  470. "m_Id": 0,
  471. "m_DisplayName": "Out",
  472. "m_SlotType": 1,
  473. "m_Hidden": false,
  474. "m_ShaderOutputName": "Out",
  475. "m_StageCapability": 3,
  476. "m_Value": {
  477. "x": 0.0,
  478. "y": 0.0,
  479. "z": 0.0
  480. },
  481. "m_DefaultValue": {
  482. "x": 0.0,
  483. "y": 0.0,
  484. "z": 0.0
  485. },
  486. "m_Labels": []
  487. }
  488. {
  489. "m_SGVersion": 0,
  490. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  491. "m_ObjectId": "ada01e675ecf4211af6cd31b24f831fd",
  492. "m_ActiveSubTarget": {
  493. "m_Id": "1ff4c6b745c54dd281cdcdfbc37385bf"
  494. },
  495. "m_Datas": [
  496. {
  497. "m_Id": "48f4b6d1f9b145aab4236228f18fad87"
  498. },
  499. {
  500. "m_Id": "2665183589e84ca3b06aa72891aea3ab"
  501. },
  502. {
  503. "m_Id": "070f588ed21a4996b9f668e1b263c2f4"
  504. }
  505. ],
  506. "m_CustomEditorGUI": "",
  507. "m_SupportVFX": false,
  508. "m_SupportLineRendering": false
  509. }
  510. {
  511. "m_SGVersion": 0,
  512. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  513. "m_ObjectId": "c494e9a842ce48919e631ffd50454754",
  514. "m_Id": 0,
  515. "m_DisplayName": "Normal",
  516. "m_SlotType": 0,
  517. "m_Hidden": false,
  518. "m_ShaderOutputName": "Normal",
  519. "m_StageCapability": 1,
  520. "m_Value": {
  521. "x": 0.0,
  522. "y": 0.0,
  523. "z": 0.0
  524. },
  525. "m_DefaultValue": {
  526. "x": 0.0,
  527. "y": 0.0,
  528. "z": 0.0
  529. },
  530. "m_Labels": [],
  531. "m_Space": 0
  532. }
  533. {
  534. "m_SGVersion": 0,
  535. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  536. "m_ObjectId": "d649a79542684e6ba1464dc9b5419e8d",
  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.StickyNoteData",
  565. "m_ObjectId": "ea61c9b030ed4f738d96528e62af0d14",
  566. "m_Title": "Metal Reflectance Node",
  567. "m_Content": "The Metal Reflectance Node outputs a physically accurate metallic reflectance value for the selected metal type.\n\nAll metals have a physically accurate reflectance value. This node gives you access to the most common metal types.\n\nThese values should be passed into the Base Color input in the Context Menu and then set the Metallic value to 1 when using the Metallic workflow.\n\nIf you're using the Specular workflow, the Metal Reflectance value should be connected to the Specular Color input with the Base Color set to black.",
  568. "m_TextSize": 0,
  569. "m_Theme": 0,
  570. "m_Position": {
  571. "serializedVersion": "2",
  572. "x": -392.5000305175781,
  573. "y": -8.0,
  574. "width": 253.00001525878907,
  575. "height": 262.5000305175781
  576. },
  577. "m_Group": {
  578. "m_Id": ""
  579. }
  580. }
  581. {
  582. "m_SGVersion": 0,
  583. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  584. "m_ObjectId": "ee6587ea8b0d4b01a188062084abfe21",
  585. "m_Name": "",
  586. "m_ChildObjectList": [
  587. {
  588. "m_Id": "9ca2c55ddc70430ea511b16c495fa710"
  589. }
  590. ]
  591. }