All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
6.0.5 (2021-10-25)
Note: Version bump only for package @thi.ng/webgl
6.0.4 (2021-10-15)
Note: Version bump only for package @thi.ng/webgl
6.0.3 (2021-10-15)
Note: Version bump only for package @thi.ng/webgl
6.0.2 (2021-10-13)
Note: Version bump only for package @thi.ng/webgl
6.0.1 (2021-10-13)
Note: Version bump only for package @thi.ng/webgl
6.0.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- webgl: add DefShaderOpts, rename ShaderOpts (ef46bf5)
- discontinue CommonJS & UMD versions
- only ESM modules will be published from now on
- CJS obsolete due to ESM support in recent versions of node:
- i.e. launch NodeJS via:
node --experimental-specifier-resolution=node --experimental-repl-await
- in the node REPL use
await import(...)
instead ofrequire()
- UMD obsolete due to widespread browser support for ESM
Also:
- normalize/restructure/reorg all package.json files
- cleanup all build scripts, remove obsolete
- switch from mocha to @thi.ng/testament for all tests
5.0.0 (2021-06-08)
- webgl: update multipass texture uniforms (86d363a)
- webgl: add passCopy() HOF pass gen (fb6b5b7)
- webgl: replace input tex
sampler2D[]
array w/ named inputs- new unis:
input0
,input1
, etc. to sync w/ same approach as already used for outputs - new approach also simplifies texture lookups in shader-ast code
- new unis:
4.0.0 (2021-02-20)
- webgl: update compileAttribPool() (6b5dd8e)
- webgl: update attrib type handling (542850b)
- webgl: attrib buffer data type use string consts
- part of unified umbrella-wide changes to thi.ng/api Type alias (see a333d4182)
3.3.0 (2020-08-20)
- webgl: only warn once re: unknown uni/attrib (7490aa1)
3.2.0 (2020-08-16)
- webgl: store texture filter/wrap mode (8a7420e)
3.1.1 (2020-08-12)
- webgl: update/add DrawOpts, add unbindTextures() (27021fa)
3.1.0 (2020-08-12)
- webgl: add DrawFlags opts for draw() (800382b)
- webgl: add opt unbind flag for .configure() (0e5cc2b)
3.0.1 (2020-08-08)
- webgl: unbind texture after configured (9612cdd)
3.0.0 (2020-07-28)
- webgl: bind FBO in readTexture() (6cb4448)
- webgl: add varying int support (webgl2) (c812800)
- webgl: add/update opts for defQuadModel() (13b7d9e)
- webgl: add/update opts for defQuadModel()
- update callsite in defMultiPass()
2.0.0 (2020-06-07)
- webgl: remove adaptDPI() (6d49da6)
- webgl: re-use adaptDPI() from new @thi.ng/adapt-dpi pkg
- update deps
1.0.7 (2020-04-21)
- webgl: unbind fbo after configure (25414b5)
1.0.5 (2020-04-11)
1.0.4 (2020-04-07)
1.0.0 (2020-03-28)
- webgl: rename factory functions (633f693)
- webgl: add DrawMode enums (5adaa23)
- webgl: #210, rename factory functions (
defXXX
)- rename buffer() => defBuffer()
- rename fbo() => defFBO()
- rename rbo() => defRBO()
- rename multipass() => defMultiPass()
- rename shader() => defShader()
- rename texture() => defTexture()
- rename cubeMap() => defTextureCubeMap()
- rename floatTexture() => defTextureFloat()
- rename cube() => defCubeModel()
- rename quad() => defQuadModel()
0.3.0 (2020-02-25)
- webgl: update Texture.config() default handling (4c62d87)
0.2.3 (2020-01-24)
- webgl: webgl1 depth texture (5c86165)
0.2.2 (2019-11-30)
- webgl: fix PHONG shader preset, minor update LAMBERT (792379f)
- webgl: use LOGGER for warnings (14d5025)
0.2.1 (2019-11-09)
- webgl: add LOGGER, update initUniforms() (4719110)
- webgl: ensure system defaults for all uniforms, update equiv checks (39dc83f)