Skip to content

Latest commit

 

History

History
208 lines (113 loc) · 8.46 KB

CHANGELOG.md

File metadata and controls

208 lines (113 loc) · 8.46 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

6.0.1 (2021-10-13)

Note: Version bump only for package @thi.ng/webgl

6.0.0 (2021-10-12)

Build System

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)

Features

  • webgl: add DefShaderOpts, rename ShaderOpts (ef46bf5)

BREAKING CHANGES

  • 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 of require()
  • 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)

Code Refactoring

  • webgl: update multipass texture uniforms (86d363a)

Features

  • webgl: add passCopy() HOF pass gen (fb6b5b7)

BREAKING CHANGES

  • 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

4.0.0 (2021-02-20)

Bug Fixes

  • webgl: update compileAttribPool() (6b5dd8e)

Code Refactoring

  • webgl: update attrib type handling (542850b)

BREAKING CHANGES

  • 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)

Features

  • webgl: only warn once re: unknown uni/attrib (7490aa1)

3.2.0 (2020-08-16)

Features

  • webgl: store texture filter/wrap mode (8a7420e)

3.1.1 (2020-08-12)

Bug Fixes

  • webgl: update/add DrawOpts, add unbindTextures() (27021fa)

3.1.0 (2020-08-12)

Features

  • webgl: add DrawFlags opts for draw() (800382b)
  • webgl: add opt unbind flag for .configure() (0e5cc2b)

3.0.1 (2020-08-08)

Bug Fixes

  • webgl: unbind texture after configured (9612cdd)

3.0.0 (2020-07-28)

Bug Fixes

  • webgl: bind FBO in readTexture() (6cb4448)

Features

  • webgl: add varying int support (webgl2) (c812800)
  • webgl: add/update opts for defQuadModel() (13b7d9e)

BREAKING CHANGES

  • webgl: add/update opts for defQuadModel()
    • update callsite in defMultiPass()

2.0.0 (2020-06-07)

Code Refactoring

  • webgl: remove adaptDPI() (6d49da6)

BREAKING CHANGES

  • webgl: re-use adaptDPI() from new @thi.ng/adapt-dpi pkg
    • update deps

1.0.7 (2020-04-21)

Bug Fixes

  • webgl: unbind fbo after configure (25414b5)

1.0.5 (2020-04-11)

Bug Fixes

  • webgl: disableVertexAttribArray in Shader.unbind (d3eab37)
  • webgl: add missing braces (5e6d5bf)

1.0.4 (2020-04-07)

Bug Fixes

1.0.0 (2020-03-28)

Code Refactoring

  • webgl: rename factory functions (633f693)

Features

  • webgl: add DrawMode enums (5adaa23)

BREAKING CHANGES

  • 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)

Features

  • webgl: update Texture.config() default handling (4c62d87)

0.2.3 (2020-01-24)

Bug Fixes

  • webgl: webgl1 depth texture (5c86165)

0.2.2 (2019-11-30)

Bug Fixes

  • webgl: fix PHONG shader preset, minor update LAMBERT (792379f)
  • webgl: use LOGGER for warnings (14d5025)

0.2.1 (2019-11-09)

Bug Fixes

  • webgl: add LOGGER, update initUniforms() (4719110)
  • webgl: ensure system defaults for all uniforms, update equiv checks (39dc83f)

0.2.0 (2019-09-21)

Bug Fixes