FX File - Sparks.fx
| Token Name | Default Value | Accepted Values | Description | Source File |
|---|---|---|---|---|
| MAX_SPARKS | 2048 | Maximum number sparks. | Sparks.fx | |
| SPARK_TYPES | 1 | Number of spark textures. | ||
| SPARK_SIZE | 0.18 | Size of each polygon. | ||
| SPARK_LIFETIME | 0.055 | Time (in seconds) a spark lives for. | ||
| FLASH_PEAK | 0.03 | Time at which spark peaks. | ||
| COLOR | 1.0 1.0 1.0 0.95 | Color for effect. | ||
| RANDOM_TRIES | 100 | Number of tries to find a probable spark. | ||
| PROBABILITY_CUTOFF | 0.92 | Value needed to trigger a spark. | ||
| RADIUS_BIAS | 0.63 | Amount added to random radii. | ||
| RADIUS_SCALE | 1.1 | Amount added to random radii. | ||
| RADIAL_PROB_X_FREQ_1 | 4.0 | First frequency (spatial). | ||
| RADIAL_PROB_T_FREQ_1 | 0.0625 | First frequency (temporal). | ||
| RADIAL_PROB_PHASE_1 | 0.13 | First phase (temporal). | ||
| RADIAL_PROB_AMP_1 | 0.3 | Amplitude of first sine. | ||
| RADIAL_PROB_X_FREQ_2 | 8.0 | Second frequency (spatial). | ||
| RADIAL_PROB_T_FREQ_2 | 0.03125 | Second frequency (temporal). | ||
| RADIAL_PROB_PHASE_2 | 0.711 | Second phase (temporal). | ||
| RADIAL_PROB_AMP_2 | 0.2 | Amplitude of second sine. | ||
| RADIAL_PROB_LINEAR | 0.7 | Linear term. | ||
| RADIAL_PROB_CONSTANT | 0.0 | Constant term. | ||
| ANGULAR_PROB_X_FREQ_1 | 8.0 | First frequency (spatial). | ||
| ANGULAR_PROB_T_FREQ_1 | 0.125 | First frequency (temporal). | ||
| ANGULAR_PROB_PHASE_1 | 0.0 | First phase (temporal). | ||
| ANGULAR_PROB_AMP_1 | 1.0 | Amplitude of first sine. | ||
| ANGULAR_PROB_X_FREQ_2 | 0.5 | Second frequency (spatial). | ||
| ANGULAR_PROB_T_FREQ_2 | 0.0625 | Second frequency (temporal). | ||
| ANGULAR_PROB_PHASE_2 | -0.21 | Second phase (temporal). | ||
| ANGULAR_PROB_AMP_2 | 0.33 | Amplitude of second sine. | ||
| ANGULAR_PROB_LINEAR | 0.0 | Linear term. | ||
| ANGULAR_PROB_CONSTANT | 0.0 | Constant term. | ||
| SPARK_RADIANCE | 9.1e-004 | |||
| SH_LAMBDA | 0.5 | sh-lambda value used in gained pseudo-radiance calculation. | ||
| PART_SCALE_X | 2.0 | X scale factor for particles. |