sun.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. {
  2. "emitter" : {
  3. "kind": "Sphere",
  4. "options": {
  5. "diameter": 2.01,
  6. "segments": 32,
  7. "color": [
  8. 0.3773,
  9. 0.0930,
  10. 0.0266]
  11. },
  12. "renderingGroupId": 3
  13. },
  14. "systems": [
  15. {
  16. "name": "sunSystem",
  17. "id": "sunSystem",
  18. "capacity": 1600,
  19. "renderingGroupId": 3,
  20. "isBillboardBased": false,
  21. "particleEmitterType": {
  22. "type": "SphereParticleEmitter",
  23. "radius": 1,
  24. "radiusRange": 0,
  25. "directionRandomizer": 0
  26. },
  27. "textureName": "sun/T_SunSurface.png",
  28. "animations": [],
  29. "minAngularSpeed": -0.4,
  30. "maxAngularSpeed": 0.4,
  31. "minSize": 0.4,
  32. "maxSize": 0.7,
  33. "minScaleX": 1,
  34. "maxScaleX": 1,
  35. "minScaleY": 1,
  36. "maxScaleY": 1,
  37. "minEmitPower": 0,
  38. "maxEmitPower": 0,
  39. "minLifeTime": 8,
  40. "maxLifeTime": 8,
  41. "emitRate": 200,
  42. "gravity": [
  43. 0,
  44. 0,
  45. 0
  46. ],
  47. "color1": [
  48. 1,
  49. 1,
  50. 1,
  51. 1
  52. ],
  53. "color2": [
  54. 1,
  55. 1,
  56. 1,
  57. 1
  58. ],
  59. "colorDead": [
  60. 0,
  61. 0,
  62. 0,
  63. 1
  64. ],
  65. "updateSpeed": 0.005,
  66. "targetStopDuration": 0,
  67. "blendMode": 2,
  68. "preWarmCycles": 100,
  69. "preWarmStepOffset": 10,
  70. "minInitialRotation": -6.283185307179586,
  71. "maxInitialRotation": 6.283185307179586,
  72. "colorGradients": [
  73. {
  74. "gradient": 0,
  75. "color1": [
  76. 0.8509,
  77. 0.4784,
  78. 0.1019,
  79. 0
  80. ]
  81. },
  82. {
  83. "gradient": 0.4,
  84. "color1": [
  85. 0.6259,
  86. 0.3056,
  87. 0.0619,
  88. 0.5
  89. ]
  90. },
  91. {
  92. "gradient": 0.5,
  93. "color1": [
  94. 0.6039,
  95. 0.2887,
  96. 0.0579,
  97. 0.5
  98. ]
  99. },
  100. {
  101. "gradient": 1,
  102. "color1": [
  103. 0.3207,
  104. 0.0713,
  105. 0.0075,
  106. 0
  107. ]
  108. }
  109. ],
  110. "textureMask": [
  111. 1,
  112. 1,
  113. 1,
  114. 1
  115. ],
  116. "customShader": null,
  117. "preventAutoStart": true,
  118. "startSpriteCellID": 0,
  119. "endSpriteCellID": 0,
  120. "spriteCellLoop": true,
  121. "spriteCellChangeSpeed": 0,
  122. "spriteCellWidth": 0,
  123. "spriteCellHeight": 0,
  124. "isAnimationSheetEnabled": false
  125. },
  126. {
  127. "name": "flareParticles",
  128. "id": "flareParticles",
  129. "capacity": 20,
  130. "renderingGroupId": 2,
  131. "particleEmitterType": {
  132. "type": "SphereParticleEmitter",
  133. "radius": 1,
  134. "radiusRange": 0,
  135. "directionRandomizer": 0
  136. },
  137. "textureName": "sun/T_SunFlare.png",
  138. "animations": [],
  139. "minAngularSpeed": 0,
  140. "maxAngularSpeed": 0,
  141. "minSize": 1,
  142. "maxSize": 1,
  143. "minScaleX": 0.5,
  144. "maxScaleX": 1,
  145. "minScaleY": 0.5,
  146. "maxScaleY": 1,
  147. "minEmitPower": 0.001,
  148. "maxEmitPower": 0.01,
  149. "minLifeTime": 10,
  150. "maxLifeTime": 10,
  151. "emitRate": 1,
  152. "gravity": [
  153. 0,
  154. 0,
  155. 0
  156. ],
  157. "color1": [
  158. 1,
  159. 1,
  160. 1,
  161. 1
  162. ],
  163. "color2": [
  164. 1,
  165. 1,
  166. 1,
  167. 1
  168. ],
  169. "colorDead": [
  170. 0,
  171. 0,
  172. 0,
  173. 1
  174. ],
  175. "updateSpeed": 0.01,
  176. "targetStopDuration": 0,
  177. "blendMode": 2,
  178. "preWarmCycles": 100,
  179. "preWarmStepOffset": 10,
  180. "minInitialRotation": -6.283185307179586,
  181. "maxInitialRotation": 6.283185307179586,
  182. "colorGradients": [
  183. {
  184. "gradient": 0,
  185. "color1": [
  186. 1,
  187. 0.9612,
  188. 0.5141,
  189. 0
  190. ]
  191. },
  192. {
  193. "gradient": 0.25,
  194. "color1": [
  195. 0.9058,
  196. 0.7152,
  197. 0.3825,
  198. 1
  199. ]
  200. },
  201. {
  202. "gradient": 1,
  203. "color1": [
  204. 0.632,
  205. 0,
  206. 0,
  207. 0
  208. ]
  209. }
  210. ],
  211. "sizeGradients": [
  212. {
  213. "gradient": 0,
  214. "factor1": 0
  215. },
  216. {
  217. "gradient": 1,
  218. "factor1": 1
  219. }
  220. ],
  221. "textureMask": [
  222. 1,
  223. 1,
  224. 1,
  225. 1
  226. ],
  227. "customShader": null,
  228. "preventAutoStart": true,
  229. "startSpriteCellID": 0,
  230. "endSpriteCellID": 0,
  231. "spriteCellLoop": true,
  232. "spriteCellChangeSpeed": 0,
  233. "spriteCellWidth": 0,
  234. "spriteCellHeight": 0,
  235. "isAnimationSheetEnabled": false
  236. },
  237. {
  238. "name": "glareParticles",
  239. "id": "glareParticles",
  240. "renderingGroupId": 1,
  241. "capacity": 600,
  242. "particleEmitterType": {
  243. "type": "SphereParticleEmitter",
  244. "radius": 1,
  245. "radiusRange": 0,
  246. "directionRandomizer": 0
  247. },
  248. "textureName": "sun/T_Star.png",
  249. "animations": [],
  250. "minAngularSpeed": 0,
  251. "maxAngularSpeed": 0,
  252. "minSize": 1,
  253. "maxSize": 1,
  254. "minScaleX": 0.5,
  255. "maxScaleX": 1.2,
  256. "minScaleY": 0.75,
  257. "maxScaleY": 3,
  258. "minEmitPower": 0,
  259. "maxEmitPower": 0,
  260. "minLifeTime": 2,
  261. "maxLifeTime": 2,
  262. "emitRate": 300,
  263. "gravity": [
  264. 0,
  265. 0,
  266. 0
  267. ],
  268. "color1": [
  269. 1,
  270. 1,
  271. 1,
  272. 1
  273. ],
  274. "color2": [
  275. 1,
  276. 1,
  277. 1,
  278. 1
  279. ],
  280. "colorDead": [
  281. 0,
  282. 0,
  283. 0,
  284. 1
  285. ],
  286. "updateSpeed": 0.01,
  287. "targetStopDuration": 0,
  288. "blendMode": 2,
  289. "preWarmCycles": 100,
  290. "preWarmStepOffset": 10,
  291. "minInitialRotation": -6.283185307179586,
  292. "maxInitialRotation": 6.283185307179586,
  293. "colorGradients": [
  294. {
  295. "gradient": 0,
  296. "color1": [
  297. 0.8509,
  298. 0.4784,
  299. 0.1019,
  300. 0
  301. ]
  302. },
  303. {
  304. "gradient": 0.5,
  305. "color1": [
  306. 0.6039,
  307. 0.2887,
  308. 0.0579,
  309. 0.12
  310. ]
  311. },
  312. {
  313. "gradient": 1,
  314. "color1": [
  315. 0.3207,
  316. 0.0713,
  317. 0.0075,
  318. 0
  319. ]
  320. }
  321. ],
  322. "textureMask": [
  323. 1,
  324. 1,
  325. 1,
  326. 1
  327. ],
  328. "customShader": null,
  329. "preventAutoStart": true,
  330. "startSpriteCellID": 0,
  331. "endSpriteCellID": 0,
  332. "spriteCellLoop": true,
  333. "spriteCellChangeSpeed": 0,
  334. "spriteCellWidth": 0,
  335. "spriteCellHeight": 0,
  336. "isAnimationSheetEnabled": false
  337. }
  338. ]
  339. }