- #110: Added
threeas an NPM dependency. - #119: As of THREE.js r81, a
THREE.BufferAttributeinstance no longer calculates itscountproperty each time thecountgetter is called. SinceSPE.ShaderAttributecan sometimes resize itself when necessary, a fix has been issued to keep a shader attribute'scountproperty in sync with its array size. - #118: Fix for
getFromPool()when pool is empty (@FracturedShader). - Fixed fog.
- Fixed issue with emitter pools where
durationwould be ignored in favour ofmaxAge. Duration is now taken into account.
- Make sure grunt dependencies are listed in
devDependencies(pawsong). - Fixed bug #81: Axis of rotation ignores signs.
- Fixed bug #82:
radiusScaleofpositiondoes not work because it is labelled incorrectly.
- Fixed bug #80:
- Rotation on one emitter affects others in the same group.
- Rotation with center !== position inverts forces.
- Fixed bugs #77 and #78.
- #78: Using rotation on an emitter inverted its position.
- #77: The
alphaTestsetting onSPE.Groupwasn't being applied. NoALPHATESTcheck in fragment shader existed.
- A complete rewrite to enable support for THREE.js r72.
- Options for
SPE.GroupandSPE.Emitterhave changed format. Please see API docs for more information. - Now using
BufferGeometryand typed arrays for attribute manipulation. - Removed support for
onParticleSpawnoption in emitters. Changing emitter values at runtime is supported instead. - Added emitter rotation properties.
- Added emitter drag properties.
- Added emitter wiggle properties.
- Added
dispose()method toSPE.Group. - Added
remove()method toSPE.Emitter. Delegates toremoveEmitter()method onSPE.Group. - Emitter types are now known as
distributions, and are "constants". See Migration log for more. maxAgeproperty is no longer part ofSPE.Groupand has been moved toSPE.Emitter.aliveproperty ofSPE.Emitteris now a boolean no longer controls percentage of particles emitted.activeMultiplierproperty ofSPE.Emitterreplaces this functionalty.- Added
directionproperty toSPE.Emitter. Allows control over direction of the emitter (forwards, or backwards).