Skip to content

Releases: hmans/composer-suite

[email protected]

07 Oct 12:47
78862aa
Compare
Choose a tag to compare

Patch Changes

  • 78ceea2: Fixed: When accidentally going past the allocated buffer size for particles, InstancedParticles will now log a detailed error message instead of crashing the entire effect.

[email protected]

03 Oct 13:31
3c4ba03
Compare
Choose a tag to compare

Patch Changes

  • d4df511: New: Shader Composer now provides a GLSLTypeFor<J> utility type that will return the equivalent GLSLType for the specified J JavaScript type.

[email protected]

02 Oct 10:25
c0db1d8
Compare
Choose a tag to compare

Patch Changes

  • b318f26: New: RenderComposer.Canvas now offers an optional strict prop that, when set to true, will enable React's Strict Mode for its children. This is to counter the fact that a <StrictMode> declared outside of a React-Three-Fiber Canvas will not automatically apply to it (since it's rendered using an entirely separate React renderer.)

[email protected]

01 Oct 13:37
01d6523
Compare
Choose a tag to compare

Patch Changes

  • ee1bed4: Fixed: A recent change caused non-instanced buffer attributes to also be subjected to the smart upload batching mechanism of InstancedParticles. This has been fixed.
  • Updated dependencies [0dee294]

[email protected]

01 Oct 13:37
01d6523
Compare
Choose a tag to compare

Patch Changes

  • 0dee294: Improved: Added frequency prop to SurfaceWobble module. Please note that this module is still very much WIP and will likely change significantly in future releases.

@hmans/[email protected]

01 Oct 13:52
9c1cf1d
Compare
Choose a tag to compare

Patch Changes

  • 5218618: Fixed: Added a simple README :-)

[email protected]

28 Sep 17:31
d723a06
Compare
Choose a tag to compare

Minor Changes

  • 8519e17: Mega Breaking Change: Particles and <Particles> have been renamed to InstancedParticles and <InstancedParticles>, respectively. Functionality remains the same. This is to prepare the library for additional future particle types (like PointParticles).
  • e699129: Breaking Change: createParticleUnits has been renamed to createParticleLifetime, and the useParticles hook has been renamed to useParticleLifetime. Both of these will now wrap their own lifetime attributes and return an API for setting the lifetime of newly spawned particles as well as using it in shaders and VFX modules. Please refer to the examples for details.

Patch Changes

[email protected]

28 Sep 17:31
d723a06
Compare
Choose a tag to compare

Minor Changes

  • 8519e17: Mega Breaking Change: Particles and <Particles> have been renamed to InstancedParticles and <InstancedParticles>, respectively. Functionality remains the same. This is to prepare the library for additional future particle types (like PointParticles).
  • e699129: Breaking Change: createParticleUnits has been renamed to createParticleLifetime, and the useParticles hook has been renamed to useParticleLifetime. Both of these will now wrap their own lifetime attributes and return an API for setting the lifetime of newly spawned particles as well as using it in shaders and VFX modules. Please refer to the examples for details.
  • 18fe663: Breaking Change: The makeParticles API has been removed. You were probably not using it. If you were, I'm sorry, because it was largely broken, and a bad idea.

Patch Changes

[email protected]

28 Sep 17:31
d723a06
Compare
Choose a tag to compare

Patch Changes

  • a962a31: New: enabledDebugging() and disableDebugging() to toggle some extra console output when new shaders are being compiled.

[email protected]

28 Sep 17:31
d723a06
Compare
Choose a tag to compare

Patch Changes

  • d3e2b88: New: shader-composer-r3f now provides its own mechanism for patching Three.js materials through its new ShaderMaster master unit and <Shader> React component:

    function MyShadedThingy() {
      const shader = useShader(() => {
        return ShaderMaster({
          color: /* ... */
          position: /* ... */
          /* etc. */
        })
      }, [])
    
      return (
        <mesh>
          <boxGeometry />
    
          <meshStandardMaterial>
            <Shader {...shader} />
          </meshStandardMaterial>
        </mesh>
      )
    }
  • Updated dependencies [a962a31]