smoke.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "systems":
  3. [
  4. {
  5. "name": "default system",
  6. "id": "default system",
  7. "capacity": 500,
  8. "emitter":
  9. [
  10. 0,
  11. 0,
  12. 0
  13. ],
  14. "particleEmitterType":
  15. {
  16. "type": "ConeParticleEmitter",
  17. "radius": 0.1,
  18. "angle": 0.6,
  19. "directionRandomizer": 0
  20. },
  21. "textureName": "smoke/Smoke_SpriteSheet_8x8.png",
  22. "animations": [],
  23. "startDelay": 0,
  24. "renderingGroupId": 0,
  25. "isBillboardBased": true,
  26. "minAngularSpeed": 0,
  27. "maxAngularSpeed": 0,
  28. "minSize": 3,
  29. "maxSize": 5,
  30. "minScaleX": 1,
  31. "maxScaleX": 1,
  32. "minScaleY": 1,
  33. "maxScaleY": 1,
  34. "minEmitPower": 1.2,
  35. "maxEmitPower": 1.4,
  36. "minLifeTime": 10,
  37. "maxLifeTime": 11,
  38. "emitRate": 30,
  39. "gravity":
  40. [
  41. 0.1,
  42. 0,
  43. 0.05
  44. ],
  45. "noiseStrength":
  46. [
  47. 0.2,
  48. 0,
  49. 0.15
  50. ],
  51. "color1":
  52. [
  53. 1,
  54. 1,
  55. 1,
  56. 1
  57. ],
  58. "color2":
  59. [
  60. 1,
  61. 1,
  62. 1,
  63. 1
  64. ],
  65. "colorDead":
  66. [
  67. 1,
  68. 1,
  69. 1,
  70. 0
  71. ],
  72. "updateSpeed": 0.016666666666666666,
  73. "targetStopDuration": 0,
  74. "blendMode": 1,
  75. "preWarmCycles": 0,
  76. "preWarmStepOffset": 1,
  77. "minInitialRotation": -0.7,
  78. "maxInitialRotation": 0.7,
  79. "startSpriteCellID": 0,
  80. "endSpriteCellID": 63,
  81. "spriteCellChangeSpeed": 2.5,
  82. "spriteCellWidth": 128,
  83. "spriteCellHeight": 128,
  84. "spriteRandomStartCell": true,
  85. "colorGradients":
  86. [
  87. {
  88. "gradient": 0,
  89. "color1":
  90. [
  91. 0.5,
  92. 0.5,
  93. 0.5,
  94. 0
  95. ]
  96. },
  97. {
  98. "gradient": 0.3,
  99. "color1":
  100. [
  101. 0.3,
  102. 0.3,
  103. 0.3,
  104. 0.5
  105. ]
  106. },
  107. {
  108. "gradient": 0.7,
  109. "color1":
  110. [
  111. 0.2,
  112. 0.2,
  113. 0.2,
  114. 0.3
  115. ]
  116. },
  117. {
  118. "gradient": 1,
  119. "color1":
  120. [
  121. 0.1,
  122. 0.1,
  123. 0.1,
  124. 0
  125. ]
  126. }
  127. ],
  128. "sizeGradients":
  129. [
  130. {
  131. "gradient": 0,
  132. "factor1": 1
  133. },
  134. {
  135. "gradient": 1,
  136. "factor1": 6
  137. }
  138. ],
  139. "noiseTexture":
  140. {
  141. "customType": "BABYLON.NoiseProceduralTexture",
  142. "brightness": 0.5,
  143. "octaves": 4,
  144. "persistence": 0.2,
  145. "animationSpeedFactor": 5,
  146. "size": 256,
  147. "generateMipMaps": true
  148. },
  149. "textureMask":
  150. [
  151. 1,
  152. 1,
  153. 1,
  154. 1
  155. ],
  156. "customShader": null,
  157. "preventAutoStart": true,
  158. "isAnimationSheetEnabled": true
  159. }
  160. ]
  161. }