Releases: hmans/composer-suite
Releases · hmans/composer-suite
[email protected]
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]
Patch Changes
- d4df511: New: Shader Composer now provides a
GLSLTypeFor<J>
utility type that will return the equivalentGLSLType
for the specifiedJ
JavaScript type.
[email protected]
Patch Changes
- b318f26: New:
RenderComposer.Canvas
now offers an optionalstrict
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]
[email protected]
Patch Changes
- 0dee294: Improved: Added
frequency
prop toSurfaceWobble
module. Please note that this module is still very much WIP and will likely change significantly in future releases.
@hmans/[email protected]
Patch Changes
- 5218618: Fixed: Added a simple README :-)
[email protected]
Minor Changes
- 8519e17: Mega Breaking Change:
Particles
and<Particles>
have been renamed toInstancedParticles
and<InstancedParticles>
, respectively. Functionality remains the same. This is to prepare the library for additional future particle types (likePointParticles
). - e699129: Breaking Change:
createParticleUnits
has been renamed tocreateParticleLifetime
, and theuseParticles
hook has been renamed touseParticleLifetime
. 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
- Updated dependencies [a962a31]
[email protected]
Minor Changes
- 8519e17: Mega Breaking Change:
Particles
and<Particles>
have been renamed toInstancedParticles
and<InstancedParticles>
, respectively. Functionality remains the same. This is to prepare the library for additional future particle types (likePointParticles
). - e699129: Breaking Change:
createParticleUnits
has been renamed tocreateParticleLifetime
, and theuseParticles
hook has been renamed touseParticleLifetime
. 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
- 18853ba: Fixed: Emitters will now clamp their deltaTime to 100ms max in order to not spam the scene with lots of particles after the user returns to a background-suspended tab.
- Updated dependencies [d3e2b88]
- Updated dependencies [a09a755]
- Updated dependencies [a962a31]
- Updated dependencies [8519e17]
- Updated dependencies [e699129]
[email protected]
Patch Changes
- a962a31: New:
enabledDebugging()
anddisableDebugging()
to toggle some extra console output when new shaders are being compiled.
[email protected]
Patch Changes
-
d3e2b88: New:
shader-composer-r3f
now provides its own mechanism for patching Three.js materials through its newShaderMaster
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]