@thi.ng/webgl 6.4.19 → 6.4.20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-08-27T11:20:59Z
3
+ - **Last updated**: 2023-08-31T10:05:26Z
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.
@@ -9,6 +9,13 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [6.4.20](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.4.20) (2023-08-31)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update PassUniforms ([e79ae16](https://github.com/thi-ng/umbrella/commit/e79ae16))
17
+ - allow `resolution` uniform to also be ivec2/uvec2
18
+
12
19
  ### [6.4.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.4.6) (2023-06-09)
13
20
 
14
21
  #### 🩹 Bug fixes
package/README.md CHANGED
@@ -138,6 +138,7 @@ A selection:
138
138
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-cube.png" width="240"/> | WebGL multi-colored cube mesh | [Demo](https://demo.thi.ng/umbrella/webgl-cube/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-cube) |
139
139
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-cubemap.jpg" width="240"/> | WebGL cube maps with async texture loading | [Demo](https://demo.thi.ng/umbrella/webgl-cubemap/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-cubemap) |
140
140
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-float-fbo.jpg" width="240"/> | Drawing to floating point offscreen / multi-pass shader pipeline | [Demo](https://demo.thi.ng/umbrella/webgl-float-fbo/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-float-fbo) |
141
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-game-of-life.png" width="240"/> | Game of Life implemented as WebGL2 multi-pass shader pipeline | [Demo](https://demo.thi.ng/umbrella/webgl-game-of-life/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-game-of-life) |
141
142
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-grid.jpg" width="240"/> | WebGL instancing, animated grid | [Demo](https://demo.thi.ng/umbrella/webgl-grid/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-grid) |
142
143
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-msdf.jpg" width="240"/> | WebGL MSDF text rendering & particle system | [Demo](https://demo.thi.ng/umbrella/webgl-msdf/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-msdf) |
143
144
  | | Minimal multi-pass / GPGPU example | [Demo](https://demo.thi.ng/umbrella/webgl-multipass/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-multipass) |
@@ -48,7 +48,7 @@ export interface PassOpts {
48
48
  export interface PassUniforms {
49
49
  inputs: never;
50
50
  outputs: never;
51
- resolution: "vec2";
51
+ resolution: "vec2" | "ivec2" | "uvec2";
52
52
  time: "float";
53
53
  [id: string]: UniformDecl;
54
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/webgl",
3
- "version": "6.4.19",
3
+ "version": "6.4.20",
4
4
  "description": "WebGL & GLSL abstraction layer",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,20 +40,20 @@
40
40
  "dependencies": {
41
41
  "@thi.ng/adapt-dpi": "^2.2.19",
42
42
  "@thi.ng/api": "^8.9.5",
43
- "@thi.ng/associative": "^6.3.3",
43
+ "@thi.ng/associative": "^6.3.4",
44
44
  "@thi.ng/checks": "^3.4.5",
45
45
  "@thi.ng/equiv": "^2.1.30",
46
46
  "@thi.ng/errors": "^2.3.5",
47
47
  "@thi.ng/logger": "^1.4.21",
48
- "@thi.ng/matrices": "^2.1.68",
48
+ "@thi.ng/matrices": "^2.1.69",
49
49
  "@thi.ng/memoize": "^3.1.38",
50
- "@thi.ng/pixel": "^4.2.18",
51
- "@thi.ng/shader-ast": "^0.12.64",
52
- "@thi.ng/shader-ast-glsl": "^0.4.64",
53
- "@thi.ng/shader-ast-stdlib": "^0.14.10",
54
- "@thi.ng/transducers": "^8.6.3",
55
- "@thi.ng/vector-pools": "^3.1.69",
56
- "@thi.ng/vectors": "^7.7.11"
50
+ "@thi.ng/pixel": "^4.2.19",
51
+ "@thi.ng/shader-ast": "^0.12.65",
52
+ "@thi.ng/shader-ast-glsl": "^0.4.65",
53
+ "@thi.ng/shader-ast-stdlib": "^0.14.11",
54
+ "@thi.ng/transducers": "^8.6.4",
55
+ "@thi.ng/vector-pools": "^3.1.70",
56
+ "@thi.ng/vectors": "^7.7.12"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@microsoft/api-extractor": "^7.36.4",
@@ -219,5 +219,5 @@
219
219
  ],
220
220
  "year": 2014
221
221
  },
222
- "gitHead": "9dec130cc636c1da0bc4f2baa0d995579d3b7629\n"
222
+ "gitHead": "34c3bd36b0133af05abc7fe66affa01dd99704ac\n"
223
223
  }