babylon.quarks 0.17.6 → 0.17.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +8 -4
- package/dist/babylon.quarks.cjs +1 -1
- package/dist/babylon.quarks.cjs.map +1 -1
- package/dist/babylon.quarks.esm.js +1 -1
- package/dist/babylon.quarks.esm.js.map +1 -1
- package/dist/babylon.quarks.umd.min.js +1 -1
- package/dist/babylon.quarks.umd.min.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +13 -5
- package/src/shaders/stretched_bb_particle_vert.glsl.ts +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ All notable changes to the `babylon.quarks` package are documented here.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
5
5
|
and the project follows the `quarks.core` 0.x version line.
|
|
6
6
|
|
|
7
|
+
## [0.17.7] — 2026-07-09
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Docs reframed around the in-house `babylon.quarks-editor` effect editor and the Unity
|
|
12
|
+
exporter as the primary authoring workflows, instead of the external quarks.art editor
|
|
13
|
+
(quarks.art-exported JSON still loads fine — same format).
|
|
14
|
+
- `babylon.quarks-editor`'s README now documents the `resolveTexture`/`resolveGeometry` host
|
|
15
|
+
callbacks: their per-entry-point signatures (`EffectEditorHost`/`Show()` pass a `Scene` second
|
|
16
|
+
argument, the bare `EffectEditor` component does not) and what happens when they're omitted.
|
|
17
|
+
|
|
7
18
|
## [0.17.5] — 2026-07-02
|
|
8
19
|
|
|
9
20
|
### Added
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://github.com/Soullnik/babylon.quarks-standalone/actions/workflows/ci.yml)
|
|
5
5
|
[](https://github.com/Soullnik/babylon.quarks-standalone/blob/main/LICENSE)
|
|
6
6
|
|
|
7
|
-
High-performance particle system for [Babylon.js](https://www.babylonjs.com/). Built on [quarks.art](https://quarks.art/)
|
|
7
|
+
High-performance particle system for [Babylon.js](https://www.babylonjs.com/). Built on `quarks.core` (historically derived from [quarks.art](https://quarks.art/) / three.quarks).
|
|
8
8
|
|
|
9
9
|
[**Live demos**](https://soullnik.github.io/babylon.quarks-standalone/)
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ High-performance particle system for [Babylon.js](https://www.babylonjs.com/). B
|
|
|
19
19
|
- **Render modes** — billboard, vertical/horizontal billboard, stretched billboard, mesh particles, and **trails** (not available in Babylon's built-in particle systems).
|
|
20
20
|
- **Sub-emitters** and a rich set of composable behaviors (color/size/speed over life, noise turbulence, forces, and more from `quarks.core`).
|
|
21
21
|
- **Soft particles**, texture tile animation with blending, custom blend functions.
|
|
22
|
-
- **Visual authoring** —
|
|
22
|
+
- **Visual authoring** — design effects in our own [effect editor](https://soullnik.github.io/babylon.quarks-standalone/editor.html) or export them from Unity, then load with `QuarksLoader` (quarks.art-exported JSON also works — same format).
|
|
23
23
|
- **Cross-engine format** — the same effect JSON runs in three.js (three.quarks) and Babylon.js.
|
|
24
24
|
- **Adaptive performance** — optional frame-budget quality scaling built into `BatchedRenderer`.
|
|
25
25
|
- **WebGL and WebGPU** — runs on both Babylon engines; shaders are transpiled to WGSL automatically.
|
|
@@ -134,9 +134,13 @@ await engine.initAsync();
|
|
|
134
134
|
|
|
135
135
|
All render modes (billboard, stretched billboard, mesh, trail) are validated to create WebGPU pipelines with zero validation errors. The [live demos](https://soullnik.github.io/babylon.quarks-standalone/) and the [benchmark page](https://soullnik.github.io/babylon.quarks-standalone/benchmark.html) accept `?engine=webgpu` in the URL to switch engines.
|
|
136
136
|
|
|
137
|
-
##
|
|
137
|
+
## Author & load effects
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
Design an effect with one of these tools, then load the exported JSON with `QuarksLoader`:
|
|
140
|
+
|
|
141
|
+
- **[Effect editor](https://soullnik.github.io/babylon.quarks-standalone/editor.html)** — our in-house Shuriken-style editor ([`babylon.quarks-editor`](https://www.npmjs.com/package/babylon.quarks-editor), embeddable in your own app).
|
|
142
|
+
- **[Unity exporter](https://github.com/Soullnik/babylon.quarks-standalone/tree/main/tools/unity-quarks-exporter)** — a Unity Editor tool that exports Shuriken Particle Systems to the same JSON format.
|
|
143
|
+
- **quarks.art** — effects exported from the [quarks.art](https://quarks.art/) editor also load fine, since it's the same JSON envelope.
|
|
140
144
|
|
|
141
145
|
```ts
|
|
142
146
|
import {BatchedRenderer, QuarksLoader, QuarksUtil} from "babylon.quarks";
|