@thi.ng/webgl 6.9.33 → 6.9.34
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 +3 -380
- package/README.md +1 -1
- package/package.json +19 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-23T13:39:11Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -142,382 +144,3 @@ and/or version bumps of transitive dependencies.
|
|
|
142
144
|
#### 🩹 Bug fixes
|
|
143
145
|
|
|
144
146
|
- add missing type exports ([6b1501e](https://github.com/thi-ng/umbrella/commit/6b1501e))
|
|
145
|
-
|
|
146
|
-
## [6.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.1.0) (2021-11-17)
|
|
147
|
-
|
|
148
|
-
#### 🚀 Features
|
|
149
|
-
|
|
150
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
151
|
-
Improving the overall build ergonomics
|
|
152
|
-
- introduced a tools workspaces
|
|
153
|
-
- imported it in all needed packages/examples
|
|
154
|
-
- inclusive project root
|
|
155
|
-
|
|
156
|
-
#### ♻️ Refactoring
|
|
157
|
-
|
|
158
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
159
|
-
this commit reverts (partly) changes made in:
|
|
160
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
161
|
-
overall purpose is better testament ergonomics:
|
|
162
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
163
|
-
having a binary to handle this for us.
|
|
164
|
-
|
|
165
|
-
### [6.0.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.0.11) (2021-11-10)
|
|
166
|
-
|
|
167
|
-
#### ♻️ Refactoring
|
|
168
|
-
|
|
169
|
-
- update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
|
|
170
|
-
|
|
171
|
-
### [6.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.0.9) (2021-11-03)
|
|
172
|
-
|
|
173
|
-
#### ♻️ Refactoring
|
|
174
|
-
|
|
175
|
-
- minor update texture gens ([51e3d71](https://github.com/thi-ng/umbrella/commit/51e3d71))
|
|
176
|
-
- rename internals due to changes in [@thi.ng/pixel](https://github.com/thi-ng/umbrella/tree/main/packages/pixel) (2fe8d4f09)
|
|
177
|
-
|
|
178
|
-
### [6.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.0.1) (2021-10-13)
|
|
179
|
-
|
|
180
|
-
#### ♻️ Refactoring
|
|
181
|
-
|
|
182
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
183
|
-
- add .js suffix for all relative imports
|
|
184
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
185
|
-
|
|
186
|
-
# [6.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.0.0) (2021-10-12)
|
|
187
|
-
|
|
188
|
-
#### 🛑 Breaking changes
|
|
189
|
-
|
|
190
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
191
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
192
|
-
- only ESM modules will be published from now on
|
|
193
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
194
|
-
- i.e. launch NodeJS via:
|
|
195
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
196
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
197
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
198
|
-
Also:
|
|
199
|
-
- normalize/restructure/reorg all package.json files
|
|
200
|
-
- cleanup all build scripts, remove obsolete
|
|
201
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
202
|
-
|
|
203
|
-
#### 🚀 Features
|
|
204
|
-
|
|
205
|
-
- add DefShaderOpts, rename ShaderOpts ([ef46bf5](https://github.com/thi-ng/umbrella/commit/ef46bf5))
|
|
206
|
-
- add DefShaderOpts
|
|
207
|
-
- update defShader(), shaderSourceFromAST()
|
|
208
|
-
- rename ShaderOpts => ShaderPresetOpts
|
|
209
|
-
- update shader presets
|
|
210
|
-
|
|
211
|
-
#### ♻️ Refactoring
|
|
212
|
-
|
|
213
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
214
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
215
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
216
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
217
|
-
- update imports ([b4c3883](https://github.com/thi-ng/umbrella/commit/b4c3883))
|
|
218
|
-
- update imports ([c29d6b4](https://github.com/thi-ng/umbrella/commit/c29d6b4))
|
|
219
|
-
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
220
|
-
- largely related to recent updates/restructuring of these packages:
|
|
221
|
-
- api
|
|
222
|
-
- defmulti
|
|
223
|
-
- errors
|
|
224
|
-
- logger
|
|
225
|
-
- redefine WebGL error, migrate logger ([6a5158d](https://github.com/thi-ng/umbrella/commit/6a5158d))
|
|
226
|
-
- update imports/exports ([ce4d3e8](https://github.com/thi-ng/umbrella/commit/ce4d3e8))
|
|
227
|
-
|
|
228
|
-
# [5.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@5.0.0) (2021-06-08)
|
|
229
|
-
|
|
230
|
-
#### 🛑 Breaking changes
|
|
231
|
-
|
|
232
|
-
- update multipass texture uniforms ([86d363a](https://github.com/thi-ng/umbrella/commit/86d363a))
|
|
233
|
-
- BREAKING CHANGE: replace input tex `sampler2D[]` array w/ named inputs
|
|
234
|
-
- new unis: `input0`, `input1`, etc. to sync w/ same approach as
|
|
235
|
-
already used for outputs
|
|
236
|
-
- new approach also simplifies texture lookups in shader-ast code
|
|
237
|
-
|
|
238
|
-
#### 🚀 Features
|
|
239
|
-
|
|
240
|
-
- add passCopy() HOF pass gen ([fb6b5b7](https://github.com/thi-ng/umbrella/commit/fb6b5b7))
|
|
241
|
-
|
|
242
|
-
# [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@4.0.0) (2021-02-20)
|
|
243
|
-
|
|
244
|
-
#### 🛑 Breaking changes
|
|
245
|
-
|
|
246
|
-
- update attrib type handling ([542850b](https://github.com/thi-ng/umbrella/commit/542850b))
|
|
247
|
-
- BREAKING CHANGE: attrib buffer data type use string consts
|
|
248
|
-
- part of unified umbrella-wide changes to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) Type alias
|
|
249
|
-
(see [a333d4182](https://github.com/thi-ng/umbrella/commit/a333d4182))
|
|
250
|
-
|
|
251
|
-
#### 🩹 Bug fixes
|
|
252
|
-
|
|
253
|
-
- update compileAttribPool() ([6b5dd8e](https://github.com/thi-ng/umbrella/commit/6b5dd8e))
|
|
254
|
-
- always ensure GLType is used in resulting ModelAttributeSpec's
|
|
255
|
-
|
|
256
|
-
#### ♻️ Refactoring
|
|
257
|
-
|
|
258
|
-
- extract/re-use internal helpers ([e8786f6](https://github.com/thi-ng/umbrella/commit/e8786f6))
|
|
259
|
-
- update shaderSourceFromAST() & prepareShaderSource()
|
|
260
|
-
- extract compilePrelude()
|
|
261
|
-
- extract compileVarying()
|
|
262
|
-
- further simplify shaderSourceFromAST() ([9343ba3](https://github.com/thi-ng/umbrella/commit/9343ba3))
|
|
263
|
-
- simplify defMultipass(), extract inner fns ([fda3011](https://github.com/thi-ng/umbrella/commit/fda3011))
|
|
264
|
-
- split Texture.configureImage() ([1e8670e](https://github.com/thi-ng/umbrella/commit/1e8670e))
|
|
265
|
-
|
|
266
|
-
### [3.3.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.3.8) (2020-12-07)
|
|
267
|
-
|
|
268
|
-
#### ♻️ Refactoring
|
|
269
|
-
|
|
270
|
-
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
271
|
-
- update type-only imports ([b9685a4](https://github.com/thi-ng/umbrella/commit/b9685a4))
|
|
272
|
-
|
|
273
|
-
### [3.3.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.3.6) (2020-11-24)
|
|
274
|
-
|
|
275
|
-
#### ♻️ Refactoring
|
|
276
|
-
|
|
277
|
-
- update destructuring ([4e6ebcf](https://github.com/thi-ng/umbrella/commit/4e6ebcf))
|
|
278
|
-
|
|
279
|
-
### [3.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.3.3) (2020-09-22)
|
|
280
|
-
|
|
281
|
-
#### ♻️ Refactoring
|
|
282
|
-
|
|
283
|
-
- split Texture.configure() ([91b4329](https://github.com/thi-ng/umbrella/commit/91b4329))
|
|
284
|
-
|
|
285
|
-
### [3.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.3.2) (2020-09-13)
|
|
286
|
-
|
|
287
|
-
#### ♻️ Refactoring
|
|
288
|
-
|
|
289
|
-
- update imports ([18e86e9](https://github.com/thi-ng/umbrella/commit/18e86e9))
|
|
290
|
-
|
|
291
|
-
### [3.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.3.1) (2020-08-28)
|
|
292
|
-
|
|
293
|
-
#### ♻️ Refactoring
|
|
294
|
-
|
|
295
|
-
- update delete op (TS4.0) ([7b5f1e1](https://github.com/thi-ng/umbrella/commit/7b5f1e1))
|
|
296
|
-
|
|
297
|
-
## [3.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.3.0) (2020-08-20)
|
|
298
|
-
|
|
299
|
-
#### 🚀 Features
|
|
300
|
-
|
|
301
|
-
- only warn once re: unknown uni/attrib ([7490aa1](https://github.com/thi-ng/umbrella/commit/7490aa1))
|
|
302
|
-
- add [@thi.ng/memoize](https://github.com/thi-ng/umbrella/tree/main/packages/memoize) dep
|
|
303
|
-
- update Shader to only warn once
|
|
304
|
-
- update readme
|
|
305
|
-
|
|
306
|
-
## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.2.0) (2020-08-16)
|
|
307
|
-
|
|
308
|
-
#### 🚀 Features
|
|
309
|
-
|
|
310
|
-
- store texture filter/wrap mode ([8a7420e](https://github.com/thi-ng/umbrella/commit/8a7420e))
|
|
311
|
-
- add Texture .filter, .wrap properties
|
|
312
|
-
- update initial default tex config to: nearest & clamp
|
|
313
|
-
- fix LOD param handling (use `texParameterf()`)
|
|
314
|
-
|
|
315
|
-
### [3.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.1.1) (2020-08-12)
|
|
316
|
-
|
|
317
|
-
#### 🩹 Bug fixes
|
|
318
|
-
|
|
319
|
-
- update/add DrawOpts, add unbindTextures() ([27021fa](https://github.com/thi-ng/umbrella/commit/27021fa))
|
|
320
|
-
|
|
321
|
-
## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.1.0) (2020-08-12)
|
|
322
|
-
|
|
323
|
-
#### 🚀 Features
|
|
324
|
-
|
|
325
|
-
- add opt unbind flag for .configure() ([0e5cc2b](https://github.com/thi-ng/umbrella/commit/0e5cc2b))
|
|
326
|
-
- default remains true to keep existing behavior, but provide
|
|
327
|
-
escape hatch where needed/useful (i.e. multipass stuff)
|
|
328
|
-
- update impls for FBO, RBO, Texture
|
|
329
|
-
- add DrawFlags opts for draw() ([800382b](https://github.com/thi-ng/umbrella/commit/800382b))
|
|
330
|
-
|
|
331
|
-
### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.0.1) (2020-08-08)
|
|
332
|
-
|
|
333
|
-
#### 🩹 Bug fixes
|
|
334
|
-
|
|
335
|
-
- unbind texture after configured ([9612cdd](https://github.com/thi-ng/umbrella/commit/9612cdd))
|
|
336
|
-
|
|
337
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@3.0.0) (2020-07-28)
|
|
338
|
-
|
|
339
|
-
#### 🛑 Breaking changes
|
|
340
|
-
|
|
341
|
-
- add/update opts for defQuadModel() ([13b7d9e](https://github.com/thi-ng/umbrella/commit/13b7d9e))
|
|
342
|
-
- BREAKING CHANGE: add/update opts for defQuadModel()
|
|
343
|
-
- update callsite in defMultiPass()
|
|
344
|
-
|
|
345
|
-
#### 🚀 Features
|
|
346
|
-
|
|
347
|
-
- add varying int support (webgl2) ([c812800](https://github.com/thi-ng/umbrella/commit/c812800))
|
|
348
|
-
- update varying handling in shaderSourceFromAST()
|
|
349
|
-
- extract varyingOpts()
|
|
350
|
-
|
|
351
|
-
#### 🩹 Bug fixes
|
|
352
|
-
|
|
353
|
-
- bind FBO in readTexture() ([6cb4448](https://github.com/thi-ng/umbrella/commit/6cb4448))
|
|
354
|
-
|
|
355
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@2.0.0) (2020-06-07)
|
|
356
|
-
|
|
357
|
-
#### 🛑 Breaking changes
|
|
358
|
-
|
|
359
|
-
- remove adaptDPI() ([6d49da6](https://github.com/thi-ng/umbrella/commit/6d49da6))
|
|
360
|
-
- BREAKING CHANGE: re-use adaptDPI() from new [@thi.ng/adapt-dpi](https://github.com/thi-ng/umbrella/tree/main/packages/adapt-dpi) pkg
|
|
361
|
-
- update deps
|
|
362
|
-
|
|
363
|
-
### [1.0.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@1.0.16) (2020-06-01)
|
|
364
|
-
|
|
365
|
-
#### ♻️ Refactoring
|
|
366
|
-
|
|
367
|
-
- update deref() uniform handling ([2c81849](https://github.com/thi-ng/umbrella/commit/2c81849))
|
|
368
|
-
|
|
369
|
-
### [1.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@1.0.6) (2020-04-20)
|
|
370
|
-
|
|
371
|
-
#### 🩹 Bug fixes
|
|
372
|
-
|
|
373
|
-
- unbind fbo after configure ([25414b5](https://github.com/thi-ng/umbrella/commit/25414b5))
|
|
374
|
-
|
|
375
|
-
### [1.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@1.0.5) (2020-04-11)
|
|
376
|
-
|
|
377
|
-
#### 🩹 Bug fixes
|
|
378
|
-
|
|
379
|
-
- `disableVertexAttribArray` in `Shader.unbind` ([d3eab37](https://github.com/thi-ng/umbrella/commit/d3eab37))
|
|
380
|
-
- add missing braces ([5e6d5bf](https://github.com/thi-ng/umbrella/commit/5e6d5bf))
|
|
381
|
-
|
|
382
|
-
### [1.0.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@1.0.4) (2020-04-07)
|
|
383
|
-
|
|
384
|
-
#### 🩹 Bug fixes
|
|
385
|
-
|
|
386
|
-
- fix [#217](https://github.com/thi-ng/umbrella/issues/217), use logger for shader src ([501c82d](https://github.com/thi-ng/umbrella/commit/501c82d))
|
|
387
|
-
|
|
388
|
-
### [1.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@1.0.2) (2020-04-05)
|
|
389
|
-
|
|
390
|
-
#### ♻️ Refactoring
|
|
391
|
-
|
|
392
|
-
- switch to non-const enums ([c491b00](https://github.com/thi-ng/umbrella/commit/c491b00))
|
|
393
|
-
|
|
394
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@1.0.0) (2020-03-28)
|
|
395
|
-
|
|
396
|
-
#### 🛑 Breaking changes
|
|
397
|
-
|
|
398
|
-
- rename factory functions ([633f693](https://github.com/thi-ng/umbrella/commit/633f693))
|
|
399
|
-
- BREAKING CHANGE: [#210](https://github.com/thi-ng/umbrella/issues/210), rename factory functions (`defXXX`)
|
|
400
|
-
- rename buffer() => defBuffer()
|
|
401
|
-
- rename fbo() => defFBO()
|
|
402
|
-
- rename rbo() => defRBO()
|
|
403
|
-
- rename multipass() => defMultiPass()
|
|
404
|
-
- rename shader() => defShader()
|
|
405
|
-
- rename texture() => defTexture()
|
|
406
|
-
- rename cubeMap() => defTextureCubeMap()
|
|
407
|
-
- rename floatTexture() => defTextureFloat()
|
|
408
|
-
- rename cube() => defCubeModel()
|
|
409
|
-
- rename quad() => defQuadModel()
|
|
410
|
-
|
|
411
|
-
#### 🚀 Features
|
|
412
|
-
|
|
413
|
-
- add DrawMode enums ([5adaa23](https://github.com/thi-ng/umbrella/commit/5adaa23))
|
|
414
|
-
|
|
415
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@0.3.0) (2020-02-25)
|
|
416
|
-
|
|
417
|
-
#### 🚀 Features
|
|
418
|
-
|
|
419
|
-
- update Texture.config() default handling ([4c62d87](https://github.com/thi-ng/umbrella/commit/4c62d87))
|
|
420
|
-
- add defaults for `filter` & `wrap` opts
|
|
421
|
-
- add TextureOpts docstrings
|
|
422
|
-
|
|
423
|
-
#### ♻️ Refactoring
|
|
424
|
-
|
|
425
|
-
- fix [#200](https://github.com/thi-ng/umbrella/issues/200), extract private initBuffer() ([9ab496e](https://github.com/thi-ng/umbrella/commit/9ab496e))
|
|
426
|
-
- update imports ([9999cbf](https://github.com/thi-ng/umbrella/commit/9999cbf))
|
|
427
|
-
|
|
428
|
-
### [0.2.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@0.2.2) (2019-11-30)
|
|
429
|
-
|
|
430
|
-
#### 🩹 Bug fixes
|
|
431
|
-
|
|
432
|
-
- fix PHONG shader preset, minor update LAMBERT ([792379f](https://github.com/thi-ng/umbrella/commit/792379f))
|
|
433
|
-
- use LOGGER for warnings ([14d5025](https://github.com/thi-ng/umbrella/commit/14d5025))
|
|
434
|
-
- webgl1 depth texture ([5c86165](https://github.com/thi-ng/umbrella/commit/5c86165))
|
|
435
|
-
|
|
436
|
-
### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@0.2.1) (2019-11-09)
|
|
437
|
-
|
|
438
|
-
#### 🩹 Bug fixes
|
|
439
|
-
|
|
440
|
-
- ensure system defaults for all uniforms, update equiv checks ([39dc83f](https://github.com/thi-ng/umbrella/commit/39dc83f))
|
|
441
|
-
- add LOGGER, update initUniforms() ([4719110](https://github.com/thi-ng/umbrella/commit/4719110))
|
|
442
|
-
- don't throw error when initializing unused uniforms
|
|
443
|
-
|
|
444
|
-
#### ♻️ Refactoring
|
|
445
|
-
|
|
446
|
-
- add type hints (TS 3.6.4) ([bd01c79](https://github.com/thi-ng/umbrella/commit/bd01c79))
|
|
447
|
-
|
|
448
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@0.2.0) (2019-09-21)
|
|
449
|
-
|
|
450
|
-
#### 🚀 Features
|
|
451
|
-
|
|
452
|
-
- migrate multipass() & types from webgl-shadertoy pkg, reorg ([2aa31ce](https://github.com/thi-ng/umbrella/commit/2aa31ce))
|
|
453
|
-
- add renderExt to TextureFormatDecl, add FBO tex fmt checks ([180e89c](https://github.com/thi-ng/umbrella/commit/180e89c))
|
|
454
|
-
- update multipass / PassOpts ([95aba16](https://github.com/thi-ng/umbrella/commit/95aba16))
|
|
455
|
-
- add readPixels/readTexture(), add ReadableTextureFormat ([355f785](https://github.com/thi-ng/umbrella/commit/355f785))
|
|
456
|
-
|
|
457
|
-
#### 🩹 Bug fixes
|
|
458
|
-
|
|
459
|
-
- update extension handling in shader(), add ExtensionInfo ([12abaa0](https://github.com/thi-ng/umbrella/commit/12abaa0))
|
|
460
|
-
- update samplerXX[] uniform decl types ([48b8906](https://github.com/thi-ng/umbrella/commit/48b8906))
|
|
461
|
-
|
|
462
|
-
#### ♻️ Refactoring
|
|
463
|
-
|
|
464
|
-
- update TEX_FORMATS ([9a084a2](https://github.com/thi-ng/umbrella/commit/9a084a2))
|
|
465
|
-
|
|
466
|
-
### [0.1.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@0.1.3) (2019-07-31)
|
|
467
|
-
|
|
468
|
-
#### 🚀 Features
|
|
469
|
-
|
|
470
|
-
- update texture config, split api.ts into mult files ([052552f](https://github.com/thi-ng/umbrella/commit/052552f))
|
|
471
|
-
- TextureOpts.format now refers to internal format, with
|
|
472
|
-
base format & type inferred from TEX_FORMATS decls
|
|
473
|
-
- add preliminary 3D texture support
|
|
474
|
-
- update Texture.configure, store target, format, type, size ([9131310](https://github.com/thi-ng/umbrella/commit/9131310))
|
|
475
|
-
- add blending & stencil enums/types ([c8898a0](https://github.com/thi-ng/umbrella/commit/c8898a0))
|
|
476
|
-
- add initial coll of blend mode presets ([58e0b04](https://github.com/thi-ng/umbrella/commit/58e0b04))
|
|
477
|
-
|
|
478
|
-
#### 🩹 Bug fixes
|
|
479
|
-
|
|
480
|
-
- update check for WEBGL_draw_buffers ([7df09d1](https://github.com/thi-ng/umbrella/commit/7df09d1))
|
|
481
|
-
- get extension only when more than one render targets
|
|
482
|
-
|
|
483
|
-
#### ♻️ Refactoring
|
|
484
|
-
|
|
485
|
-
- add/rename types, add/move checks, update deps ([d56b720](https://github.com/thi-ng/umbrella/commit/d56b720))
|
|
486
|
-
- add pixel dep, update tex gens ([58822c8](https://github.com/thi-ng/umbrella/commit/58822c8))
|
|
487
|
-
- update canvas texture gens ([da0fcb2](https://github.com/thi-ng/umbrella/commit/da0fcb2))
|
|
488
|
-
- update blend mode presets as sep consts ([cc0ffcd](https://github.com/thi-ng/umbrella/commit/cc0ffcd))
|
|
489
|
-
|
|
490
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@0.1.0) (2019-07-07)
|
|
491
|
-
|
|
492
|
-
#### 🚀 Features
|
|
493
|
-
|
|
494
|
-
- add AttribPool support, update shader ext handling, add screen2d() ([f8081f2](https://github.com/thi-ng/umbrella/commit/f8081f2))
|
|
495
|
-
- add ModelSpec.attribPool and update compileModel to delegate to
|
|
496
|
-
compileAttribPool()
|
|
497
|
-
- update compileAttribs, compileIndices to return updated specs
|
|
498
|
-
- add GL_EXT_INFO and update compileExtensionPragma()
|
|
499
|
-
- add initShaderExtensions()
|
|
500
|
-
- add sceen2d() proj matrix helper
|
|
501
|
-
- add screen2d() arity to extract screen size from gl ctx ([7f38f10](https://github.com/thi-ng/umbrella/commit/7f38f10))
|
|
502
|
-
- TS strictNullChecks, assertions, minor type updates ([ad672c7](https://github.com/thi-ng/umbrella/commit/ad672c7))
|
|
503
|
-
- initial integration of shader-ast ([73faffd](https://github.com/thi-ng/umbrella/commit/73faffd))
|
|
504
|
-
- replace GLSL enums with shader-ast types
|
|
505
|
-
- add shaderSourceFromAST()
|
|
506
|
-
- update shader presets
|
|
507
|
-
- update old code gens (to be replaced soon)
|
|
508
|
-
- update shaderSourceFromAST(), update shader presets, remove prefixes ([6aa5715](https://github.com/thi-ng/umbrella/commit/6aa5715))
|
|
509
|
-
- lambert & phong shader presets now AST based
|
|
510
|
-
- positionAttrib & colorAttrib helpers return AST nodes
|
|
511
|
-
|
|
512
|
-
#### 🩹 Bug fixes
|
|
513
|
-
|
|
514
|
-
- apply ModelSpec mode in compileModel, fix/simplify draw fns ([67334a6](https://github.com/thi-ng/umbrella/commit/67334a6))
|
|
515
|
-
- also disable prefixes in prepareShaderSource() ([18ca4b5](https://github.com/thi-ng/umbrella/commit/18ca4b5))
|
|
516
|
-
- uniform array & output var handling ([7e559a1](https://github.com/thi-ng/umbrella/commit/7e559a1))
|
|
517
|
-
- update GPGPU texture & shader handling ([ce286ad](https://github.com/thi-ng/umbrella/commit/ce286ad))
|
|
518
|
-
- update lambert shader preset ([2fea507](https://github.com/thi-ng/umbrella/commit/2fea507))
|
|
519
|
-
|
|
520
|
-
#### ♻️ Refactoring
|
|
521
|
-
|
|
522
|
-
- update FX_SHADER_SPEC to use AST ([341cf04](https://github.com/thi-ng/umbrella/commit/341cf04))
|
|
523
|
-
- remove obsolete defglsl & old shader snippets, update deps ([98e0780](https://github.com/thi-ng/umbrella/commit/98e0780))
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl",
|
|
3
|
-
"version": "6.9.
|
|
3
|
+
"version": "6.9.34",
|
|
4
4
|
"description": "WebGL & GLSL abstraction layer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -44,28 +44,27 @@
|
|
|
44
44
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@thi.ng/api": "^8.11.
|
|
48
|
-
"@thi.ng/canvas": "^1.0.
|
|
49
|
-
"@thi.ng/checks": "^3.6.
|
|
50
|
-
"@thi.ng/equiv": "^2.1.
|
|
51
|
-
"@thi.ng/errors": "^2.5.
|
|
52
|
-
"@thi.ng/logger": "^3.0.
|
|
53
|
-
"@thi.ng/matrices": "^2.4.
|
|
54
|
-
"@thi.ng/memoize": "^4.0.
|
|
55
|
-
"@thi.ng/object-utils": "^1.1.
|
|
56
|
-
"@thi.ng/pixel": "^7.3.
|
|
57
|
-
"@thi.ng/shader-ast": "^1.0.
|
|
58
|
-
"@thi.ng/shader-ast-glsl": "^1.0.
|
|
59
|
-
"@thi.ng/shader-ast-stdlib": "^1.0.
|
|
60
|
-
"@thi.ng/transducers": "^9.2.
|
|
61
|
-
"@thi.ng/vector-pools": "^3.2.
|
|
62
|
-
"@thi.ng/vectors": "^7.12.
|
|
47
|
+
"@thi.ng/api": "^8.11.18",
|
|
48
|
+
"@thi.ng/canvas": "^1.0.4",
|
|
49
|
+
"@thi.ng/checks": "^3.6.21",
|
|
50
|
+
"@thi.ng/equiv": "^2.1.74",
|
|
51
|
+
"@thi.ng/errors": "^2.5.24",
|
|
52
|
+
"@thi.ng/logger": "^3.0.29",
|
|
53
|
+
"@thi.ng/matrices": "^2.4.30",
|
|
54
|
+
"@thi.ng/memoize": "^4.0.8",
|
|
55
|
+
"@thi.ng/object-utils": "^1.1.12",
|
|
56
|
+
"@thi.ng/pixel": "^7.3.14",
|
|
57
|
+
"@thi.ng/shader-ast": "^1.0.5",
|
|
58
|
+
"@thi.ng/shader-ast-glsl": "^1.0.5",
|
|
59
|
+
"@thi.ng/shader-ast-stdlib": "^1.0.5",
|
|
60
|
+
"@thi.ng/transducers": "^9.2.16",
|
|
61
|
+
"@thi.ng/vector-pools": "^3.2.30",
|
|
62
|
+
"@thi.ng/vectors": "^7.12.18"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
66
65
|
"esbuild": "^0.24.2",
|
|
67
66
|
"typedoc": "^0.27.6",
|
|
68
|
-
"typescript": "^5.7.
|
|
67
|
+
"typescript": "^5.7.3"
|
|
69
68
|
},
|
|
70
69
|
"keywords": [
|
|
71
70
|
"2d",
|
|
@@ -229,5 +228,5 @@
|
|
|
229
228
|
],
|
|
230
229
|
"year": 2014
|
|
231
230
|
},
|
|
232
|
-
"gitHead": "
|
|
231
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
233
232
|
}
|