- Updated
texture
uniform name totex
. - Moved to use BufferAttribute.usage instead of BufferAttribute.dynamic.
- #110: Added
three
as an NPM dependency. - #119: As of THREE.js r81, a
THREE.BufferAttribute
instance no longer calculates itscount
property each time thecount
getter is called. SinceSPE.ShaderAttribute
can sometimes resize itself when necessary, a fix has been issued to keep a shader attribute'scount
property in sync with its array size. - #118: Fix for
getFromPool()
when pool is empty (@FracturedShader). - Fixed fog.
- Fixed issue with emitter pools where
duration
would 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:
radiusScale
ofposition
does 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
alphaTest
setting onSPE.Group
wasn't being applied. NoALPHATEST
check in fragment shader existed.
- A complete rewrite to enable support for THREE.js r72.
- Options for
SPE.Group
andSPE.Emitter
have changed format. Please see API docs for more information. - Now using
BufferGeometry
and typed arrays for attribute manipulation. - Removed support for
onParticleSpawn
option 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. maxAge
property is no longer part ofSPE.Group
and has been moved toSPE.Emitter
.alive
property ofSPE.Emitter
is now a boolean no longer controls percentage of particles emitted.activeMultiplier
property ofSPE.Emitter
replaces this functionalty.- Added
direction
property toSPE.Emitter
. Allows control over direction of the emitter (forwards, or backwards).