Skip to content

Releases: hmans/composer-suite

[email protected]

02 Sep 10:05
3eece47
Compare
Choose a tag to compare

Patch Changes

  • 6fbe89d: Breaking Change: The maxParticles prop of Particles and <Particles> has been renamed to capacity. Also, safetyBuffer has been renamed to safetyCapacity, and will now default to 10% of the capacity unless specified otherwise. (Fixes #172)
  • Updated dependencies [ca3867d]

[email protected]

02 Sep 08:32
c4871f1
Compare
Choose a tag to compare

Patch Changes

[email protected]

02 Sep 10:05
3eece47
Compare
Choose a tag to compare

Patch Changes

  • 6fbe89d: Breaking Change: The maxParticles prop of Particles and <Particles> has been renamed to capacity. Also, safetyBuffer has been renamed to safetyCapacity, and will now default to 10% of the capacity unless specified otherwise. (Fixes #172)

  • 020971e: The rate prop of <Emitter> can now be set to a function that returns a rate. Useful for changing the rate based on time (or other outside factors.)

    const clock = useThree((s) => s.clock)
    
    <Emitter
      rate={() => 50 + Math.sin(clock.elapsedTime * 2) * 30}
      setup={({ position }) => {
        /* ... */
      }}
    />
  • Updated dependencies [6fbe89d]

[email protected]

02 Sep 08:32
c4871f1
Compare
Choose a tag to compare

Patch Changes

[email protected]

02 Sep 08:32
c4871f1
Compare
Choose a tag to compare

Patch Changes

  • 8ca879b: New unit: Negate(v). Returns the negated value of v. Equivalent to v * -1.
  • 8ca879b: Added the GlobalTime unit, which is a library-provided instance of Time() that can be used anywhere where a time value is needed, but the absolute value of the time is not important. Useful for synchronizing effects, and as a fallback default value for your own unit implementations that allow the user to pass in a time value.
  • 82ad766: When reusing a unit across multiple shaders/materials, it was possible to unintentionally call the unit's update callback more than once per frame (a clasically horrible thing for any Time uniform units re-used across multiple materials, ouch!). This is now fixed; we now make sure that a unit's update callback is only ever called once per frame, not matter how often the unit is used. (Fixes #220)

[email protected]

02 Sep 10:05
3eece47
Compare
Choose a tag to compare

Patch Changes

  • ca3867d: Breaking Change: The velocity and force props of Velocity and Acceleration have both been renamed to direction. (Closes #219.)

[email protected]

02 Sep 08:32
c4871f1
Compare
Choose a tag to compare

Patch Changes

  • 03215af: Upgraded Color module with documentation and the ability to take a function as its color argument.
  • 8ca879b: Alpha has always accepted Input<"float"> values for its alpha prop, and now it also alternatively accepts a function that gets the current alpha passed into it as its only argument. This allows you to modify the existing alpha value with this module, instead of simply overwriting it.
  • Updated dependencies [8ca879b]
  • Updated dependencies [8ca879b]
  • Updated dependencies [82ad766]

[email protected]

02 Sep 08:32
c4871f1
Compare
Choose a tag to compare

Patch Changes

[email protected]

01 Sep 11:07
a01b766
Compare
Choose a tag to compare

Patch Changes

  • 004bd19: Add three-stdlib to silence the peer dependency warnings triggered by r3f-perf.

[email protected]

31 Aug 16:24
8fcda35
Compare
Choose a tag to compare

Minor Changes

  • c4ef849: Added: Partial attribute buffer uploads! Now only the parts of the buffers that have been used for newly spawned particles are actually uploaded to the GPU.
  • ea13985: Breaking Change: Upgrade to the latest Shader Composer and Material Composer. Lots of new APIs! Aaaah! Please refer to the examples for guidance.
  • cd19781: Changed: <Emitter> now applies its world transform to spawned particles, meaning you can parent it to other scene objects for easy-peasy particle trails.
  • f8b4c05: Changed: A complete refactoring around a new imperative/vanilla core. Enjoy!
  • dc04f03: VFXMaterial and the animation modules have been extracted into a new package, Material Composer, that this library now uses as a dependency.
  • c09304e: All the react-three-fiber specific bits that were formerly available at vfx-composer/fiber now live in a separate vfx-composer-r3f package.

Patch Changes

  • 2d867ec: Added: <Emitter> will now retrieve the parent <Particles> via context if none is specified explicitly.
  • bfd1588: Fixed: <Emitter> could no longer work with <Particles> refs passed into its particles prop. Woops!