Fire.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. {
  2. "systems": [
  3. {
  4. "name": "fireSystem",
  5. "id": "fireSystem",
  6. "capacity": 35,
  7. "emitter": [0, 3.25, 0],
  8. "particleEmitterType": {
  9. "type": "BoxParticleEmitter",
  10. "direction1": [0, 1, 0],
  11. "direction2": [0, 1, 0],
  12. "minEmitBox": [-0.5, 0, -0.5],
  13. "maxEmitBox": [0.5, 0, 0.5]
  14. },
  15. "textureName": "./data/particle/texture/Fire_SpriteSheet1_8x8.png",
  16. "invertY": false,
  17. "animations": [],
  18. "startDelay": 0,
  19. "renderingGroupId": 0,
  20. "isBillboardBased": true,
  21. "billboardMode": 7,
  22. "minAngularSpeed": 0,
  23. "maxAngularSpeed": 0,
  24. "minSize": 9,
  25. "maxSize": 10,
  26. "minScaleX": 1,
  27. "maxScaleX": 1,
  28. "minScaleY": 1,
  29. "maxScaleY": 1,
  30. "minEmitPower": 0,
  31. "maxEmitPower": 0,
  32. "minLifeTime": 2,
  33. "maxLifeTime": 3,
  34. "emitRate": 5,
  35. "gravity": [0, 0, 0],
  36. "noiseStrength": [10, 10, 10],
  37. "color1": [1, 1, 1, 1],
  38. "color2": [1, 1, 1, 1],
  39. "colorDead": [1, 1, 1, 0],
  40. "updateSpeed": 0.016666666666666666,
  41. "targetStopDuration": 0,
  42. "blendMode": 1,
  43. "preWarmCycles": 100,
  44. "preWarmStepOffset": 10,
  45. "minInitialRotation": -0.1,
  46. "maxInitialRotation": 0.1,
  47. "startSpriteCellID": 0,
  48. "endSpriteCellID": 63,
  49. "spriteCellChangeSpeed": 1,
  50. "spriteCellWidth": 128,
  51. "spriteCellHeight": 128,
  52. "spriteRandomStartCell": true,
  53. "isAnimationSheetEnabled": true,
  54. "colorGradients": [
  55. {
  56. "gradient": 0,
  57. "color1": [1, 1, 1, 0]
  58. },
  59. {
  60. "gradient": 0.1,
  61. "color1": [1, 1, 1, 0.6]
  62. },
  63. {
  64. "gradient": 0.9,
  65. "color1": [1, 1, 1, 0.6]
  66. },
  67. {
  68. "gradient": 1,
  69. "color1": [1, 1, 1, 0]
  70. }
  71. ],
  72. "rampGradients": [
  73. {
  74. "gradient": 0,
  75. "color": [1, 1, 1]
  76. },
  77. {
  78. "gradient": 1,
  79. "color": [0.7968, 0.3685, 0.1105]
  80. }
  81. ],
  82. "useRampGradients": true,
  83. "colorRemapGradients": [
  84. {
  85. "gradient": 0,
  86. "factor1": 0.2,
  87. "factor2": 1
  88. },
  89. {
  90. "gradient": 1,
  91. "factor1": 0.2,
  92. "factor2": 1
  93. }
  94. ],
  95. "textureMask": [1, 1, 1, 1],
  96. "customShader": null,
  97. "preventAutoStart": true
  98. },
  99. {
  100. "name": "sparksEdge",
  101. "id": "sparksEdge",
  102. "capacity": 20,
  103. "emitter": [0, 0, 0],
  104. "particleEmitterType": {
  105. "type": "ConeParticleEmitter",
  106. "radius": 1,
  107. "angle": 0.8,
  108. "directionRandomizer": 0
  109. },
  110. "textureName": "./data/particle/texture/sparks.png",
  111. "invertY": true,
  112. "animations": [],
  113. "startDelay": 0,
  114. "renderingGroupId": 0,
  115. "isBillboardBased": true,
  116. "billboardMode": 7,
  117. "minAngularSpeed": 0,
  118. "maxAngularSpeed": 0,
  119. "minSize": 0.2,
  120. "maxSize": 0.3,
  121. "minScaleX": 1,
  122. "maxScaleX": 1,
  123. "minScaleY": 1,
  124. "maxScaleY": 1,
  125. "minEmitPower": 15,
  126. "maxEmitPower": 20,
  127. "minLifeTime": 1.5,
  128. "maxLifeTime": 2.5,
  129. "emitRate": 20,
  130. "gravity": [0, 0, 0],
  131. "noiseStrength": [2, 1, 1],
  132. "color1": [1, 1, 1, 1],
  133. "color2": [1, 1, 1, 1],
  134. "colorDead": [1, 1, 1, 0],
  135. "updateSpeed": 0.016666666666666666,
  136. "targetStopDuration": 0,
  137. "blendMode": 2,
  138. "preWarmCycles": 100,
  139. "preWarmStepOffset": 10,
  140. "minInitialRotation": 0,
  141. "maxInitialRotation": 0,
  142. "startSpriteCellID": 0,
  143. "endSpriteCellID": 0,
  144. "spriteCellChangeSpeed": 1,
  145. "spriteCellWidth": 0,
  146. "spriteCellHeight": 0,
  147. "spriteRandomStartCell": false,
  148. "isAnimationSheetEnabled": false,
  149. "colorGradients": [
  150. {
  151. "gradient": 0,
  152. "color1": [0.9245, 0.654, 0.0915, 0]
  153. },
  154. {
  155. "gradient": 0.04,
  156. "color1": [0.9062, 0.6132, 0.0942, 0.1]
  157. },
  158. {
  159. "gradient": 0.4,
  160. "color1": [0.7968, 0.3685, 0.1105, 1]
  161. },
  162. {
  163. "gradient": 0.7,
  164. "color1": [0.6886, 0.1266, 0.1266, 1]
  165. },
  166. {
  167. "gradient": 0.9,
  168. "color1": [0.3113, 0.0367, 0.0367, 0.6]
  169. },
  170. {
  171. "gradient": 1,
  172. "color1": [0.3113, 0.0367, 0.0367, 0]
  173. }
  174. ],
  175. "rampGradients": [
  176. {
  177. "gradient": 0,
  178. "color": [1, 1, 1]
  179. },
  180. {
  181. "gradient": 1,
  182. "color": [0.7968, 0.63685, 0.4105]
  183. }
  184. ],
  185. "useRampGradients": true,
  186. "colorRemapGradients": [
  187. {
  188. "gradient": 0,
  189. "factor1": 0,
  190. "factor2": 0.1
  191. },
  192. {
  193. "gradient": 0.2,
  194. "factor1": 0.1,
  195. "factor2": 0.8
  196. },
  197. {
  198. "gradient": 0.3,
  199. "factor1": 0.2,
  200. "factor2": 0.85
  201. },
  202. {
  203. "gradient": 0.35,
  204. "factor1": 0.4,
  205. "factor2": 0.85
  206. },
  207. {
  208. "gradient": 0.4,
  209. "factor1": 0.5,
  210. "factor2": 0.9
  211. },
  212. {
  213. "gradient": 0.5,
  214. "factor1": 0.95,
  215. "factor2": 1
  216. },
  217. {
  218. "gradient": 1,
  219. "factor1": 0.95,
  220. "factor2": 1
  221. }
  222. ],
  223. "limitVelocityGradients": [
  224. {
  225. "gradient": 0,
  226. "factor1": 7
  227. },
  228. {
  229. "gradient": 1,
  230. "factor1": 1
  231. }
  232. ],
  233. "limitVelocityDamping": 0.5,
  234. "noiseTexture": {
  235. "customType": "BABYLON.NoiseProceduralTexture",
  236. "brightness": 0.5,
  237. "octaves": 8,
  238. "persistence": 1,
  239. "animationSpeedFactor": 3,
  240. "size": 256,
  241. "generateMipMaps": true
  242. },
  243. "textureMask": [1, 1, 1, 1],
  244. "customShader": null,
  245. "preventAutoStart": true
  246. },
  247. {
  248. "name": "fireSystem2",
  249. "id": "fireSystem2",
  250. "capacity": 3,
  251. "emitter": [0, 2.25, 0],
  252. "particleEmitterType": {
  253. "type": "BoxParticleEmitter",
  254. "direction1": [0, 1, 0],
  255. "direction2": [0, 1, 0],
  256. "minEmitBox": [-0.5, 0, -0.5],
  257. "maxEmitBox": [0.5, 0, 0.5]
  258. },
  259. "textureName": "./data/particle/texture/Fire_SpriteSheet2_8x8.png",
  260. "invertY": false,
  261. "animations": [],
  262. "startDelay": 0,
  263. "renderingGroupId": 0,
  264. "isBillboardBased": true,
  265. "billboardMode": 7,
  266. "minAngularSpeed": 0,
  267. "maxAngularSpeed": 0,
  268. "minSize": 7,
  269. "maxSize": 8,
  270. "minScaleX": 1,
  271. "maxScaleX": 1,
  272. "minScaleY": 1,
  273. "maxScaleY": 1,
  274. "minEmitPower": 0,
  275. "maxEmitPower": 0,
  276. "minLifeTime": 2,
  277. "maxLifeTime": 3,
  278. "emitRate": 2,
  279. "gravity": [0, 0, 0],
  280. "noiseStrength": [10, 10, 10],
  281. "color1": [1, 1, 1, 1],
  282. "color2": [1, 1, 1, 1],
  283. "colorDead": [1, 1, 1, 0],
  284. "updateSpeed": 0.016666666666666666,
  285. "targetStopDuration": 0,
  286. "blendMode": 1,
  287. "preWarmCycles": 100,
  288. "preWarmStepOffset": 10,
  289. "minInitialRotation": -0.1,
  290. "maxInitialRotation": 0.1,
  291. "startSpriteCellID": 0,
  292. "endSpriteCellID": 63,
  293. "spriteCellChangeSpeed": 0.9,
  294. "spriteCellWidth": 128,
  295. "spriteCellHeight": 128,
  296. "spriteRandomStartCell": true,
  297. "isAnimationSheetEnabled": true,
  298. "colorGradients": [
  299. {
  300. "gradient": 0,
  301. "color1": [1, 1, 1, 0]
  302. },
  303. {
  304. "gradient": 0.1,
  305. "color1": [1, 1, 1, 0.6]
  306. },
  307. {
  308. "gradient": 0.9,
  309. "color1": [1, 1, 1, 0.6]
  310. },
  311. {
  312. "gradient": 1,
  313. "color1": [1, 1, 1, 0]
  314. }
  315. ],
  316. "rampGradients": [
  317. {
  318. "gradient": 0,
  319. "color": [1, 1, 1]
  320. },
  321. {
  322. "gradient": 1,
  323. "color": [0.7968, 0.3685, 0.1105]
  324. }
  325. ],
  326. "useRampGradients": true,
  327. "colorRemapGradients": [
  328. {
  329. "gradient": 0,
  330. "factor1": 0.2,
  331. "factor2": 1
  332. },
  333. {
  334. "gradient": 1,
  335. "factor1": 0.2,
  336. "factor2": 1
  337. }
  338. ],
  339. "textureMask": [1, 1, 1, 1],
  340. "customShader": null,
  341. "preventAutoStart": true
  342. },
  343. {
  344. "name": "fireSystem3",
  345. "id": "fireSystem3",
  346. "capacity": 3,
  347. "emitter": [0, 2.25, 0],
  348. "particleEmitterType": {
  349. "type": "BoxParticleEmitter",
  350. "direction1": [0, 1, 0],
  351. "direction2": [0, 1, 0],
  352. "minEmitBox": [-0.5, 0, -0.5],
  353. "maxEmitBox": [0.5, 0, 0.5]
  354. },
  355. "textureName": "./data/particle/texture/Fire_SpriteSheet3_8x8.png",
  356. "invertY": false,
  357. "animations": [],
  358. "startDelay": 0,
  359. "renderingGroupId": 0,
  360. "isBillboardBased": true,
  361. "billboardMode": 7,
  362. "minAngularSpeed": 0,
  363. "maxAngularSpeed": 0,
  364. "minSize": 7,
  365. "maxSize": 8,
  366. "minScaleX": 1,
  367. "maxScaleX": 1,
  368. "minScaleY": 1,
  369. "maxScaleY": 1,
  370. "minEmitPower": 0,
  371. "maxEmitPower": 0,
  372. "minLifeTime": 2,
  373. "maxLifeTime": 3,
  374. "emitRate": 2,
  375. "gravity": [0, 0, 0],
  376. "noiseStrength": [10, 10, 10],
  377. "color1": [1, 1, 1, 1],
  378. "color2": [1, 1, 1, 1],
  379. "colorDead": [1, 1, 1, 0],
  380. "updateSpeed": 0.016666666666666666,
  381. "targetStopDuration": 0,
  382. "blendMode": 1,
  383. "preWarmCycles": 100,
  384. "preWarmStepOffset": 10,
  385. "minInitialRotation": -0.1,
  386. "maxInitialRotation": 0.1,
  387. "startSpriteCellID": 0,
  388. "endSpriteCellID": 63,
  389. "spriteCellChangeSpeed": 0.9,
  390. "spriteCellWidth": 128,
  391. "spriteCellHeight": 128,
  392. "spriteRandomStartCell": true,
  393. "isAnimationSheetEnabled": true,
  394. "colorGradients": [
  395. {
  396. "gradient": 0,
  397. "color1": [1, 1, 1, 0]
  398. },
  399. {
  400. "gradient": 0.1,
  401. "color1": [1, 1, 1, 0.6]
  402. },
  403. {
  404. "gradient": 0.9,
  405. "color1": [1, 1, 1, 0.6]
  406. },
  407. {
  408. "gradient": 1,
  409. "color1": [1, 1, 1, 0]
  410. }
  411. ],
  412. "rampGradients": [
  413. {
  414. "gradient": 0,
  415. "color": [1, 1, 1]
  416. },
  417. {
  418. "gradient": 1,
  419. "color": [0.7968, 0.3685, 0.1105]
  420. }
  421. ],
  422. "useRampGradients": true,
  423. "colorRemapGradients": [
  424. {
  425. "gradient": 0,
  426. "factor1": 0.2,
  427. "factor2": 1
  428. },
  429. {
  430. "gradient": 1,
  431. "factor1": 0.2,
  432. "factor2": 1
  433. }
  434. ],
  435. "textureMask": [1, 1, 1, 1],
  436. "customShader": null,
  437. "preventAutoStart": true
  438. }
  439. ]
  440. }