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.

IsFrontFace.shadergraph 25KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067
  1. {
  2. "m_SGVersion": 3,
  3. "m_Type": "UnityEditor.ShaderGraph.GraphData",
  4. "m_ObjectId": "d12d5a72e95647e7965c8b1bfaa45873",
  5. "m_Properties": [],
  6. "m_Keywords": [],
  7. "m_Dropdowns": [],
  8. "m_CategoryData": [
  9. {
  10. "m_Id": "783ccd65da26479e9cb02bc86517e3f0"
  11. }
  12. ],
  13. "m_Nodes": [
  14. {
  15. "m_Id": "5917f46f41dc464d9fe723fd821dbde1"
  16. },
  17. {
  18. "m_Id": "b8caf5bac7c64900acdbe6c9d2c5f3b2"
  19. },
  20. {
  21. "m_Id": "44a08c5e29624a62813952a1c53ef5e9"
  22. },
  23. {
  24. "m_Id": "0d8007804c734c61b3c2d39847186b14"
  25. },
  26. {
  27. "m_Id": "e803dfe308f845a79aba27c0c2f595f6"
  28. },
  29. {
  30. "m_Id": "0bae24c1d087448e873f0b917c57c2a2"
  31. },
  32. {
  33. "m_Id": "78bd8473f7174128967250dbf3fbd527"
  34. },
  35. {
  36. "m_Id": "c724f12ca42e4e11b129f3be38f4ca0e"
  37. },
  38. {
  39. "m_Id": "e3fc7d5a241e42109c3cc19976235fc9"
  40. },
  41. {
  42. "m_Id": "6f67de4bbff248d2a80f02045c27d1a2"
  43. },
  44. {
  45. "m_Id": "902c287f3e024a9c90b18bfbad04c74c"
  46. }
  47. ],
  48. "m_GroupDatas": [
  49. {
  50. "m_Id": "5a4d118401124915b7ffe499256d93a8"
  51. }
  52. ],
  53. "m_StickyNoteDatas": [
  54. {
  55. "m_Id": "813e11cf97064f93b08593da5534025d"
  56. }
  57. ],
  58. "m_Edges": [
  59. {
  60. "m_OutputSlot": {
  61. "m_Node": {
  62. "m_Id": "78bd8473f7174128967250dbf3fbd527"
  63. },
  64. "m_SlotId": 0
  65. },
  66. "m_InputSlot": {
  67. "m_Node": {
  68. "m_Id": "0bae24c1d087448e873f0b917c57c2a2"
  69. },
  70. "m_SlotId": 0
  71. }
  72. },
  73. {
  74. "m_OutputSlot": {
  75. "m_Node": {
  76. "m_Id": "c724f12ca42e4e11b129f3be38f4ca0e"
  77. },
  78. "m_SlotId": 0
  79. },
  80. "m_InputSlot": {
  81. "m_Node": {
  82. "m_Id": "0bae24c1d087448e873f0b917c57c2a2"
  83. },
  84. "m_SlotId": 1
  85. }
  86. },
  87. {
  88. "m_OutputSlot": {
  89. "m_Node": {
  90. "m_Id": "e3fc7d5a241e42109c3cc19976235fc9"
  91. },
  92. "m_SlotId": 0
  93. },
  94. "m_InputSlot": {
  95. "m_Node": {
  96. "m_Id": "0bae24c1d087448e873f0b917c57c2a2"
  97. },
  98. "m_SlotId": 2
  99. }
  100. }
  101. ],
  102. "m_VertexContext": {
  103. "m_Position": {
  104. "x": 0.0,
  105. "y": 0.0
  106. },
  107. "m_Blocks": [
  108. {
  109. "m_Id": "5917f46f41dc464d9fe723fd821dbde1"
  110. },
  111. {
  112. "m_Id": "b8caf5bac7c64900acdbe6c9d2c5f3b2"
  113. },
  114. {
  115. "m_Id": "44a08c5e29624a62813952a1c53ef5e9"
  116. }
  117. ]
  118. },
  119. "m_FragmentContext": {
  120. "m_Position": {
  121. "x": 0.0,
  122. "y": 200.0
  123. },
  124. "m_Blocks": [
  125. {
  126. "m_Id": "0d8007804c734c61b3c2d39847186b14"
  127. },
  128. {
  129. "m_Id": "6f67de4bbff248d2a80f02045c27d1a2"
  130. },
  131. {
  132. "m_Id": "902c287f3e024a9c90b18bfbad04c74c"
  133. }
  134. ]
  135. },
  136. "m_PreviewData": {
  137. "serializedMesh": {
  138. "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
  139. "m_Guid": ""
  140. },
  141. "preventRotation": false
  142. },
  143. "m_Path": "Shader Graphs",
  144. "m_GraphPrecision": 1,
  145. "m_PreviewMode": 2,
  146. "m_OutputNode": {
  147. "m_Id": ""
  148. },
  149. "m_SubDatas": [],
  150. "m_ActiveTargets": [
  151. {
  152. "m_Id": "eee16095a8634db0a6081b3f809753c6"
  153. },
  154. {
  155. "m_Id": "7b0785f6eb9d40f7b29c996a39194f5a"
  156. },
  157. {
  158. "m_Id": "42f9153dcd32423eb05785d50fcdbb6f"
  159. }
  160. ]
  161. }
  162. {
  163. "m_SGVersion": 0,
  164. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  165. "m_ObjectId": "02063017824a4a298e1530cedccb901b",
  166. "m_Id": 0,
  167. "m_DisplayName": "Emission",
  168. "m_SlotType": 0,
  169. "m_Hidden": false,
  170. "m_ShaderOutputName": "Emission",
  171. "m_StageCapability": 2,
  172. "m_Value": {
  173. "x": 0.0,
  174. "y": 0.0,
  175. "z": 0.0
  176. },
  177. "m_DefaultValue": {
  178. "x": 0.0,
  179. "y": 0.0,
  180. "z": 0.0
  181. },
  182. "m_Labels": [],
  183. "m_ColorMode": 1,
  184. "m_DefaultColor": {
  185. "r": 0.0,
  186. "g": 0.0,
  187. "b": 0.0,
  188. "a": 1.0
  189. }
  190. }
  191. {
  192. "m_SGVersion": 0,
  193. "m_Type": "UnityEditor.ShaderGraph.BranchNode",
  194. "m_ObjectId": "0bae24c1d087448e873f0b917c57c2a2",
  195. "m_Group": {
  196. "m_Id": "5a4d118401124915b7ffe499256d93a8"
  197. },
  198. "m_Name": "Branch",
  199. "m_DrawState": {
  200. "m_Expanded": true,
  201. "m_Position": {
  202. "serializedVersion": "2",
  203. "x": -450.666748046875,
  204. "y": 350.0,
  205. "width": 209.3333282470703,
  206. "height": 328.0
  207. }
  208. },
  209. "m_Slots": [
  210. {
  211. "m_Id": "336811f157b34b7888e5b4a56a767acf"
  212. },
  213. {
  214. "m_Id": "721b99cab4ac4047b27e99917ff97828"
  215. },
  216. {
  217. "m_Id": "f7bf223dd58d4a479f43c20be3712893"
  218. },
  219. {
  220. "m_Id": "b2abeb8c9de74e1fbebdae730143e4aa"
  221. }
  222. ],
  223. "synonyms": [
  224. "switch",
  225. "if",
  226. "else"
  227. ],
  228. "m_Precision": 0,
  229. "m_PreviewExpanded": true,
  230. "m_DismissedVersion": 0,
  231. "m_PreviewMode": 0,
  232. "m_CustomColors": {
  233. "m_SerializableColors": []
  234. }
  235. }
  236. {
  237. "m_SGVersion": 0,
  238. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  239. "m_ObjectId": "0d8007804c734c61b3c2d39847186b14",
  240. "m_Group": {
  241. "m_Id": ""
  242. },
  243. "m_Name": "SurfaceDescription.BaseColor",
  244. "m_DrawState": {
  245. "m_Expanded": true,
  246. "m_Position": {
  247. "serializedVersion": "2",
  248. "x": 0.0,
  249. "y": 0.0,
  250. "width": 0.0,
  251. "height": 0.0
  252. }
  253. },
  254. "m_Slots": [
  255. {
  256. "m_Id": "2e131bd26c384bc4b06b96f4e65614f4"
  257. }
  258. ],
  259. "synonyms": [],
  260. "m_Precision": 0,
  261. "m_PreviewExpanded": true,
  262. "m_DismissedVersion": 0,
  263. "m_PreviewMode": 0,
  264. "m_CustomColors": {
  265. "m_SerializableColors": []
  266. },
  267. "m_SerializedDescriptor": "SurfaceDescription.BaseColor"
  268. }
  269. {
  270. "m_SGVersion": 0,
  271. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
  272. "m_ObjectId": "18f1553e943e45fab2d1b9f0be5f57d9"
  273. }
  274. {
  275. "m_SGVersion": 0,
  276. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
  277. "m_ObjectId": "2227ee0644854e629217fb12e43b55b3",
  278. "m_EnableShadowMatte": false,
  279. "m_DistortionOnly": false
  280. }
  281. {
  282. "m_SGVersion": 0,
  283. "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
  284. "m_ObjectId": "2e131bd26c384bc4b06b96f4e65614f4",
  285. "m_Id": 0,
  286. "m_DisplayName": "Base Color",
  287. "m_SlotType": 0,
  288. "m_Hidden": false,
  289. "m_ShaderOutputName": "BaseColor",
  290. "m_StageCapability": 2,
  291. "m_Value": {
  292. "x": 0.5,
  293. "y": 0.5,
  294. "z": 0.5
  295. },
  296. "m_DefaultValue": {
  297. "x": 0.0,
  298. "y": 0.0,
  299. "z": 0.0
  300. },
  301. "m_Labels": [],
  302. "m_ColorMode": 0,
  303. "m_DefaultColor": {
  304. "r": 0.5,
  305. "g": 0.5,
  306. "b": 0.5,
  307. "a": 1.0
  308. }
  309. }
  310. {
  311. "m_SGVersion": 0,
  312. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  313. "m_ObjectId": "336811f157b34b7888e5b4a56a767acf",
  314. "m_Id": 0,
  315. "m_DisplayName": "Predicate",
  316. "m_SlotType": 0,
  317. "m_Hidden": false,
  318. "m_ShaderOutputName": "Predicate",
  319. "m_StageCapability": 3,
  320. "m_Value": false,
  321. "m_DefaultValue": false
  322. }
  323. {
  324. "m_SGVersion": 1,
  325. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
  326. "m_ObjectId": "42f9153dcd32423eb05785d50fcdbb6f",
  327. "m_Datas": [],
  328. "m_ActiveSubTarget": {
  329. "m_Id": "459186ee0ef14eac90fec67a0f4ac3c4"
  330. },
  331. "m_AllowMaterialOverride": false,
  332. "m_SurfaceType": 0,
  333. "m_ZTestMode": 4,
  334. "m_ZWriteControl": 0,
  335. "m_AlphaMode": 0,
  336. "m_RenderFace": 2,
  337. "m_AlphaClip": false,
  338. "m_CastShadows": true,
  339. "m_ReceiveShadows": true,
  340. "m_DisableTint": false,
  341. "m_AdditionalMotionVectorMode": 0,
  342. "m_AlembicMotionVectors": false,
  343. "m_SupportsLODCrossFade": false,
  344. "m_CustomEditorGUI": "",
  345. "m_SupportVFX": false
  346. }
  347. {
  348. "m_SGVersion": 0,
  349. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  350. "m_ObjectId": "44a08c5e29624a62813952a1c53ef5e9",
  351. "m_Group": {
  352. "m_Id": ""
  353. },
  354. "m_Name": "VertexDescription.Tangent",
  355. "m_DrawState": {
  356. "m_Expanded": true,
  357. "m_Position": {
  358. "serializedVersion": "2",
  359. "x": 0.0,
  360. "y": 0.0,
  361. "width": 0.0,
  362. "height": 0.0
  363. }
  364. },
  365. "m_Slots": [
  366. {
  367. "m_Id": "7b6c83dd863745b8a6bd151bcb97a5c6"
  368. }
  369. ],
  370. "synonyms": [],
  371. "m_Precision": 0,
  372. "m_PreviewExpanded": true,
  373. "m_DismissedVersion": 0,
  374. "m_PreviewMode": 0,
  375. "m_CustomColors": {
  376. "m_SerializableColors": []
  377. },
  378. "m_SerializedDescriptor": "VertexDescription.Tangent"
  379. }
  380. {
  381. "m_SGVersion": 2,
  382. "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
  383. "m_ObjectId": "459186ee0ef14eac90fec67a0f4ac3c4"
  384. }
  385. {
  386. "m_SGVersion": 0,
  387. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  388. "m_ObjectId": "5917f46f41dc464d9fe723fd821dbde1",
  389. "m_Group": {
  390. "m_Id": ""
  391. },
  392. "m_Name": "VertexDescription.Position",
  393. "m_DrawState": {
  394. "m_Expanded": true,
  395. "m_Position": {
  396. "serializedVersion": "2",
  397. "x": 0.0,
  398. "y": 0.0,
  399. "width": 0.0,
  400. "height": 0.0
  401. }
  402. },
  403. "m_Slots": [
  404. {
  405. "m_Id": "b398031c1e014e13baabca812fcb7140"
  406. }
  407. ],
  408. "synonyms": [],
  409. "m_Precision": 0,
  410. "m_PreviewExpanded": true,
  411. "m_DismissedVersion": 0,
  412. "m_PreviewMode": 0,
  413. "m_CustomColors": {
  414. "m_SerializableColors": []
  415. },
  416. "m_SerializedDescriptor": "VertexDescription.Position"
  417. }
  418. {
  419. "m_SGVersion": 0,
  420. "m_Type": "UnityEditor.ShaderGraph.GroupData",
  421. "m_ObjectId": "5a4d118401124915b7ffe499256d93a8",
  422. "m_Title": "Draw front faces to green and back faces to red.",
  423. "m_Position": {
  424. "x": -815.3333129882813,
  425. "y": 252.0000457763672
  426. }
  427. }
  428. {
  429. "m_SGVersion": 0,
  430. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  431. "m_ObjectId": "6f67de4bbff248d2a80f02045c27d1a2",
  432. "m_Group": {
  433. "m_Id": ""
  434. },
  435. "m_Name": "SurfaceDescription.Emission",
  436. "m_DrawState": {
  437. "m_Expanded": true,
  438. "m_Position": {
  439. "serializedVersion": "2",
  440. "x": 0.0,
  441. "y": 0.0,
  442. "width": 0.0,
  443. "height": 0.0
  444. }
  445. },
  446. "m_Slots": [
  447. {
  448. "m_Id": "02063017824a4a298e1530cedccb901b"
  449. }
  450. ],
  451. "synonyms": [],
  452. "m_Precision": 0,
  453. "m_PreviewExpanded": true,
  454. "m_DismissedVersion": 0,
  455. "m_PreviewMode": 0,
  456. "m_CustomColors": {
  457. "m_SerializableColors": []
  458. },
  459. "m_SerializedDescriptor": "SurfaceDescription.Emission"
  460. }
  461. {
  462. "m_SGVersion": 0,
  463. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  464. "m_ObjectId": "721b99cab4ac4047b27e99917ff97828",
  465. "m_Id": 1,
  466. "m_DisplayName": "True",
  467. "m_SlotType": 0,
  468. "m_Hidden": false,
  469. "m_ShaderOutputName": "True",
  470. "m_StageCapability": 3,
  471. "m_Value": {
  472. "x": 1.0,
  473. "y": 1.0,
  474. "z": 1.0,
  475. "w": 1.0
  476. },
  477. "m_DefaultValue": {
  478. "x": 0.0,
  479. "y": 0.0,
  480. "z": 0.0,
  481. "w": 0.0
  482. }
  483. }
  484. {
  485. "m_SGVersion": 0,
  486. "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
  487. "m_ObjectId": "741b337539a840d980cced4c524c9583",
  488. "m_Id": 0,
  489. "m_DisplayName": "Normal",
  490. "m_SlotType": 0,
  491. "m_Hidden": false,
  492. "m_ShaderOutputName": "Normal",
  493. "m_StageCapability": 1,
  494. "m_Value": {
  495. "x": 0.0,
  496. "y": 0.0,
  497. "z": 0.0
  498. },
  499. "m_DefaultValue": {
  500. "x": 0.0,
  501. "y": 0.0,
  502. "z": 0.0
  503. },
  504. "m_Labels": [],
  505. "m_Space": 0
  506. }
  507. {
  508. "m_SGVersion": 0,
  509. "m_Type": "UnityEditor.ShaderGraph.CategoryData",
  510. "m_ObjectId": "783ccd65da26479e9cb02bc86517e3f0",
  511. "m_Name": "",
  512. "m_ChildObjectList": []
  513. }
  514. {
  515. "m_SGVersion": 0,
  516. "m_Type": "UnityEditor.ShaderGraph.IsFrontFaceNode",
  517. "m_ObjectId": "78bd8473f7174128967250dbf3fbd527",
  518. "m_Group": {
  519. "m_Id": "5a4d118401124915b7ffe499256d93a8"
  520. },
  521. "m_Name": "Is Front Face",
  522. "m_DrawState": {
  523. "m_Expanded": true,
  524. "m_Position": {
  525. "serializedVersion": "2",
  526. "x": -664.6666870117188,
  527. "y": 310.66668701171877,
  528. "width": 121.3333740234375,
  529. "height": 78.6666259765625
  530. }
  531. },
  532. "m_Slots": [
  533. {
  534. "m_Id": "ac5530d8930d4b93909243d19f20d631"
  535. }
  536. ],
  537. "synonyms": [
  538. "face",
  539. "side"
  540. ],
  541. "m_Precision": 0,
  542. "m_PreviewExpanded": true,
  543. "m_DismissedVersion": 0,
  544. "m_PreviewMode": 0,
  545. "m_CustomColors": {
  546. "m_SerializableColors": []
  547. }
  548. }
  549. {
  550. "m_SGVersion": 0,
  551. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
  552. "m_ObjectId": "7b0785f6eb9d40f7b29c996a39194f5a",
  553. "m_ActiveSubTarget": {
  554. "m_Id": "94aca3e496054869a0feb3a649412cd9"
  555. },
  556. "m_Datas": [
  557. {
  558. "m_Id": "8af65952f15444f4830a230d12bd4ccb"
  559. },
  560. {
  561. "m_Id": "7f99cdb7e476494092a6841ea4f02ab3"
  562. },
  563. {
  564. "m_Id": "2227ee0644854e629217fb12e43b55b3"
  565. }
  566. ],
  567. "m_CustomEditorGUI": "",
  568. "m_SupportVFX": false,
  569. "m_SupportLineRendering": false
  570. }
  571. {
  572. "m_SGVersion": 0,
  573. "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
  574. "m_ObjectId": "7b6c83dd863745b8a6bd151bcb97a5c6",
  575. "m_Id": 0,
  576. "m_DisplayName": "Tangent",
  577. "m_SlotType": 0,
  578. "m_Hidden": false,
  579. "m_ShaderOutputName": "Tangent",
  580. "m_StageCapability": 1,
  581. "m_Value": {
  582. "x": 0.0,
  583. "y": 0.0,
  584. "z": 0.0
  585. },
  586. "m_DefaultValue": {
  587. "x": 0.0,
  588. "y": 0.0,
  589. "z": 0.0
  590. },
  591. "m_Labels": [],
  592. "m_Space": 0
  593. }
  594. {
  595. "m_SGVersion": 0,
  596. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
  597. "m_ObjectId": "7f99cdb7e476494092a6841ea4f02ab3",
  598. "m_MaterialNeedsUpdateHash": 0,
  599. "m_SurfaceType": 0,
  600. "m_RenderingPass": 1,
  601. "m_BlendMode": 0,
  602. "m_ZTest": 4,
  603. "m_ZWrite": false,
  604. "m_TransparentCullMode": 2,
  605. "m_OpaqueCullMode": 2,
  606. "m_SortPriority": 0,
  607. "m_AlphaTest": false,
  608. "m_TransparentDepthPrepass": false,
  609. "m_TransparentDepthPostpass": false,
  610. "m_SupportLodCrossFade": false,
  611. "m_DoubleSidedMode": 0,
  612. "m_DOTSInstancing": false,
  613. "m_CustomVelocity": false,
  614. "m_Tessellation": false,
  615. "m_TessellationMode": 0,
  616. "m_TessellationFactorMinDistance": 20.0,
  617. "m_TessellationFactorMaxDistance": 50.0,
  618. "m_TessellationFactorTriangleSize": 100.0,
  619. "m_TessellationShapeFactor": 0.75,
  620. "m_TessellationBackFaceCullEpsilon": -0.25,
  621. "m_TessellationMaxDisplacement": 0.009999999776482582,
  622. "m_DebugSymbols": false,
  623. "m_Version": 2,
  624. "inspectorFoldoutMask": 0
  625. }
  626. {
  627. "m_SGVersion": 0,
  628. "m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
  629. "m_ObjectId": "813e11cf97064f93b08593da5534025d",
  630. "m_Title": "Is Front Face Node",
  631. "m_Content": "The Is Front Face Node returns true if the current rendering face is pointing toward the camera. It returns false if it's facing away from the camera.",
  632. "m_TextSize": 0,
  633. "m_Theme": 0,
  634. "m_Position": {
  635. "serializedVersion": "2",
  636. "x": -432.0,
  637. "y": 47.33333206176758,
  638. "width": 199.99998474121095,
  639. "height": 160.0
  640. },
  641. "m_Group": {
  642. "m_Id": ""
  643. }
  644. }
  645. {
  646. "m_SGVersion": 0,
  647. "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
  648. "m_ObjectId": "892d00ffe3404bfb8bfbc6587c7d64ac",
  649. "m_Id": 0,
  650. "m_DisplayName": "Alpha",
  651. "m_SlotType": 0,
  652. "m_Hidden": false,
  653. "m_ShaderOutputName": "Alpha",
  654. "m_StageCapability": 2,
  655. "m_Value": 1.0,
  656. "m_DefaultValue": 1.0,
  657. "m_Labels": []
  658. }
  659. {
  660. "m_SGVersion": 0,
  661. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
  662. "m_ObjectId": "8af65952f15444f4830a230d12bd4ccb",
  663. "m_Distortion": false,
  664. "m_DistortionMode": 0,
  665. "m_DistortionDepthTest": true,
  666. "m_AddPrecomputedVelocity": false,
  667. "m_TransparentWritesMotionVec": false,
  668. "m_DepthOffset": false,
  669. "m_ConservativeDepthOffset": false,
  670. "m_TransparencyFog": true,
  671. "m_AlphaTestShadow": false,
  672. "m_BackThenFrontRendering": false,
  673. "m_TransparentDepthPrepass": false,
  674. "m_TransparentDepthPostpass": false,
  675. "m_TransparentPerPixelSorting": false,
  676. "m_SupportLodCrossFade": false
  677. }
  678. {
  679. "m_SGVersion": 0,
  680. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  681. "m_ObjectId": "902c287f3e024a9c90b18bfbad04c74c",
  682. "m_Group": {
  683. "m_Id": ""
  684. },
  685. "m_Name": "SurfaceDescription.Alpha",
  686. "m_DrawState": {
  687. "m_Expanded": true,
  688. "m_Position": {
  689. "serializedVersion": "2",
  690. "x": 0.0,
  691. "y": 0.0,
  692. "width": 0.0,
  693. "height": 0.0
  694. }
  695. },
  696. "m_Slots": [
  697. {
  698. "m_Id": "892d00ffe3404bfb8bfbc6587c7d64ac"
  699. }
  700. ],
  701. "synonyms": [],
  702. "m_Precision": 0,
  703. "m_PreviewExpanded": true,
  704. "m_DismissedVersion": 0,
  705. "m_PreviewMode": 0,
  706. "m_CustomColors": {
  707. "m_SerializableColors": []
  708. },
  709. "m_SerializedDescriptor": "SurfaceDescription.Alpha"
  710. }
  711. {
  712. "m_SGVersion": 0,
  713. "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
  714. "m_ObjectId": "94aca3e496054869a0feb3a649412cd9"
  715. }
  716. {
  717. "m_SGVersion": 0,
  718. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  719. "m_ObjectId": "ac5530d8930d4b93909243d19f20d631",
  720. "m_Id": 0,
  721. "m_DisplayName": "Out",
  722. "m_SlotType": 1,
  723. "m_Hidden": false,
  724. "m_ShaderOutputName": "Out",
  725. "m_StageCapability": 2,
  726. "m_Value": true,
  727. "m_DefaultValue": true
  728. }
  729. {
  730. "m_SGVersion": 0,
  731. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  732. "m_ObjectId": "b2abeb8c9de74e1fbebdae730143e4aa",
  733. "m_Id": 3,
  734. "m_DisplayName": "Out",
  735. "m_SlotType": 1,
  736. "m_Hidden": false,
  737. "m_ShaderOutputName": "Out",
  738. "m_StageCapability": 3,
  739. "m_Value": {
  740. "x": 0.0,
  741. "y": 0.0,
  742. "z": 0.0,
  743. "w": 0.0
  744. },
  745. "m_DefaultValue": {
  746. "x": 0.0,
  747. "y": 0.0,
  748. "z": 0.0,
  749. "w": 0.0
  750. }
  751. }
  752. {
  753. "m_SGVersion": 0,
  754. "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
  755. "m_ObjectId": "b398031c1e014e13baabca812fcb7140",
  756. "m_Id": 0,
  757. "m_DisplayName": "Position",
  758. "m_SlotType": 0,
  759. "m_Hidden": false,
  760. "m_ShaderOutputName": "Position",
  761. "m_StageCapability": 1,
  762. "m_Value": {
  763. "x": 0.0,
  764. "y": 0.0,
  765. "z": 0.0
  766. },
  767. "m_DefaultValue": {
  768. "x": 0.0,
  769. "y": 0.0,
  770. "z": 0.0
  771. },
  772. "m_Labels": [],
  773. "m_Space": 0
  774. }
  775. {
  776. "m_SGVersion": 0,
  777. "m_Type": "UnityEditor.ShaderGraph.BlockNode",
  778. "m_ObjectId": "b8caf5bac7c64900acdbe6c9d2c5f3b2",
  779. "m_Group": {
  780. "m_Id": ""
  781. },
  782. "m_Name": "VertexDescription.Normal",
  783. "m_DrawState": {
  784. "m_Expanded": true,
  785. "m_Position": {
  786. "serializedVersion": "2",
  787. "x": 0.0,
  788. "y": 0.0,
  789. "width": 0.0,
  790. "height": 0.0
  791. }
  792. },
  793. "m_Slots": [
  794. {
  795. "m_Id": "741b337539a840d980cced4c524c9583"
  796. }
  797. ],
  798. "synonyms": [],
  799. "m_Precision": 0,
  800. "m_PreviewExpanded": true,
  801. "m_DismissedVersion": 0,
  802. "m_PreviewMode": 0,
  803. "m_CustomColors": {
  804. "m_SerializableColors": []
  805. },
  806. "m_SerializedDescriptor": "VertexDescription.Normal"
  807. }
  808. {
  809. "m_SGVersion": 1,
  810. "m_Type": "UnityEditor.ShaderGraph.ColorNode",
  811. "m_ObjectId": "c724f12ca42e4e11b129f3be38f4ca0e",
  812. "m_Group": {
  813. "m_Id": "5a4d118401124915b7ffe499256d93a8"
  814. },
  815. "m_Name": "Color",
  816. "m_DrawState": {
  817. "m_Expanded": true,
  818. "m_Position": {
  819. "serializedVersion": "2",
  820. "x": -790.0,
  821. "y": 401.3333435058594,
  822. "width": 209.3333740234375,
  823. "height": 127.99996948242188
  824. }
  825. },
  826. "m_Slots": [
  827. {
  828. "m_Id": "dfdc10c4bca44d998f482ad4e865af90"
  829. }
  830. ],
  831. "synonyms": [
  832. "rgba"
  833. ],
  834. "m_Precision": 0,
  835. "m_PreviewExpanded": true,
  836. "m_DismissedVersion": 0,
  837. "m_PreviewMode": 0,
  838. "m_CustomColors": {
  839. "m_SerializableColors": []
  840. },
  841. "m_Color": {
  842. "color": {
  843. "r": 0.17580127716064454,
  844. "g": 1.0,
  845. "b": 0.0,
  846. "a": 0.0
  847. },
  848. "mode": 0
  849. }
  850. }
  851. {
  852. "m_SGVersion": 0,
  853. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  854. "m_ObjectId": "cb7372aac5db4b75a99d7c9656045afc",
  855. "m_Id": 0,
  856. "m_DisplayName": "Out",
  857. "m_SlotType": 1,
  858. "m_Hidden": false,
  859. "m_ShaderOutputName": "Out",
  860. "m_StageCapability": 3,
  861. "m_Value": {
  862. "x": 0.0,
  863. "y": 0.0,
  864. "z": 0.0,
  865. "w": 0.0
  866. },
  867. "m_DefaultValue": {
  868. "x": 0.0,
  869. "y": 0.0,
  870. "z": 0.0,
  871. "w": 0.0
  872. },
  873. "m_Labels": []
  874. }
  875. {
  876. "m_SGVersion": 0,
  877. "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
  878. "m_ObjectId": "dfdc10c4bca44d998f482ad4e865af90",
  879. "m_Id": 0,
  880. "m_DisplayName": "Out",
  881. "m_SlotType": 1,
  882. "m_Hidden": false,
  883. "m_ShaderOutputName": "Out",
  884. "m_StageCapability": 3,
  885. "m_Value": {
  886. "x": 0.0,
  887. "y": 0.0,
  888. "z": 0.0,
  889. "w": 0.0
  890. },
  891. "m_DefaultValue": {
  892. "x": 0.0,
  893. "y": 0.0,
  894. "z": 0.0,
  895. "w": 0.0
  896. },
  897. "m_Labels": []
  898. }
  899. {
  900. "m_SGVersion": 1,
  901. "m_Type": "UnityEditor.ShaderGraph.ColorNode",
  902. "m_ObjectId": "e3fc7d5a241e42109c3cc19976235fc9",
  903. "m_Group": {
  904. "m_Id": "5a4d118401124915b7ffe499256d93a8"
  905. },
  906. "m_Name": "Color",
  907. "m_DrawState": {
  908. "m_Expanded": true,
  909. "m_Position": {
  910. "serializedVersion": "2",
  911. "x": -790.0,
  912. "y": 550.0,
  913. "width": 209.3333740234375,
  914. "height": 128.0
  915. }
  916. },
  917. "m_Slots": [
  918. {
  919. "m_Id": "cb7372aac5db4b75a99d7c9656045afc"
  920. }
  921. ],
  922. "synonyms": [
  923. "rgba"
  924. ],
  925. "m_Precision": 0,
  926. "m_PreviewExpanded": true,
  927. "m_DismissedVersion": 0,
  928. "m_PreviewMode": 0,
  929. "m_CustomColors": {
  930. "m_SerializableColors": []
  931. },
  932. "m_Color": {
  933. "color": {
  934. "r": 1.0,
  935. "g": 0.01795949786901474,
  936. "b": 0.0,
  937. "a": 0.0
  938. },
  939. "mode": 0
  940. }
  941. }
  942. {
  943. "m_SGVersion": 0,
  944. "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
  945. "m_ObjectId": "e6193787760d45b2939a6449ebe70c7a",
  946. "m_Id": 0,
  947. "m_DisplayName": "Out",
  948. "m_SlotType": 1,
  949. "m_Hidden": false,
  950. "m_ShaderOutputName": "Out",
  951. "m_StageCapability": 2,
  952. "m_Value": true,
  953. "m_DefaultValue": true
  954. }
  955. {
  956. "m_SGVersion": 0,
  957. "m_Type": "UnityEditor.ShaderGraph.IsFrontFaceNode",
  958. "m_ObjectId": "e803dfe308f845a79aba27c0c2f595f6",
  959. "m_Group": {
  960. "m_Id": ""
  961. },
  962. "m_Name": "Is Front Face",
  963. "m_DrawState": {
  964. "m_Expanded": true,
  965. "m_Position": {
  966. "serializedVersion": "2",
  967. "x": -594.0,
  968. "y": 49.99998474121094,
  969. "width": 121.3333740234375,
  970. "height": 78.66665649414063
  971. }
  972. },
  973. "m_Slots": [
  974. {
  975. "m_Id": "e6193787760d45b2939a6449ebe70c7a"
  976. }
  977. ],
  978. "synonyms": [
  979. "face",
  980. "side"
  981. ],
  982. "m_Precision": 0,
  983. "m_PreviewExpanded": true,
  984. "m_DismissedVersion": 0,
  985. "m_PreviewMode": 0,
  986. "m_CustomColors": {
  987. "m_SerializableColors": []
  988. }
  989. }
  990. {
  991. "m_SGVersion": 2,
  992. "m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
  993. "m_ObjectId": "eee16095a8634db0a6081b3f809753c6",
  994. "m_Datas": [],
  995. "m_ActiveSubTarget": {
  996. "m_Id": "18f1553e943e45fab2d1b9f0be5f57d9"
  997. },
  998. "m_AllowMaterialOverride": false,
  999. "m_SurfaceType": 0,
  1000. "m_ZWriteControl": 0,
  1001. "m_ZTestMode": 4,
  1002. "m_AlphaMode": 0,
  1003. "m_RenderFace": 2,
  1004. "m_AlphaClip": false,
  1005. "m_CustomEditorGUI": ""
  1006. }
  1007. {
  1008. "m_SGVersion": 0,
  1009. "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
  1010. "m_ObjectId": "f7bf223dd58d4a479f43c20be3712893",
  1011. "m_Id": 2,
  1012. "m_DisplayName": "False",
  1013. "m_SlotType": 0,
  1014. "m_Hidden": false,
  1015. "m_ShaderOutputName": "False",
  1016. "m_StageCapability": 3,
  1017. "m_Value": {
  1018. "x": 0.0,
  1019. "y": 0.0,
  1020. "z": 0.0,
  1021. "w": 0.0
  1022. },
  1023. "m_DefaultValue": {
  1024. "x": 0.0,
  1025. "y": 0.0,
  1026. "z": 0.0,
  1027. "w": 0.0
  1028. }
  1029. }