pex-context icon indicating copy to clipboard operation
pex-context copied to clipboard

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.

Results 56 pex-context issues
Sort by recently updated
recently updated
newest added

Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

Changes: - [x] convert require to import and module.exports to exports - [x] docs: convert example to esm - [x] docs: fix examples - [x] docs: aggregate instancing/batching/shadows example -...

Can't make any rg.* node work with `pixelFormat: ctx.PixelFormat.RGBA32F`. I get empty texture. `ctx.PixelFormat.RGBA16F` works fine. Tried both Linear and Nearest filtering. Not needed (i can change older r.g. node...

type/feat

Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.3 to 0.4.4. Release notes Sourced from jpeg-js's releases. v0.4.4 v0.4.4 (2022-06-07) feat: add comment tag encoding (#87) (13e1ffa), closes #87 fix: validate sampling factors (#106) (9ccd35f),...

dependencies

As per https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D Should we warn in pex-context or rely on browser to fail? Is creates issue here https://github.com/pex-gl/pex-renderer/blob/v4/loaders/glTF.js#L1234

type/fix

According to [MDN WebGL_best_practices](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL_best_practices#understand_extension_availability), `ANGLE_instanced_arrays`, `OES_standard_derivatives`, `OES_element_index_uint` and `OES_vertex_array_object` are universally supported in WebGL 1. So we could remove the checks for their existence and just polyfill directly. Related #114.

Caused by `const NAMESPACE = "\x1b[31mpex-context\x1b[39m";` Chrome ![Screenshot 2022-06-07 at 01 56 36](https://user-images.githubusercontent.com/171001/172273307-4a67391c-0c35-4c9b-ba7e-f7d9cbe8639b.jpg) Safari ![Screenshot 2022-06-07 at 01 56 17](https://user-images.githubusercontent.com/171001/172273319-ab7d6a2e-4462-4548-88dd-06a121fab969.jpg) Firefox ![Screenshot 2022-06-07 at 01 56 09](https://user-images.githubusercontent.com/171001/172273337-b9827e18-805b-4b60-9e5e-63d15fd1430c.jpg)

bug

Used here https://github.com/pex-gl/pex-context/blob/master/examples/shadows.js#L283

Is available in WebGL 2 Example usage renderbufferStorageMultisample + blitframebuffer: https://stackoverflow.com/a/55976760/1527470

type/feat

To make this transition manageable i propose following steps - [x] update this repo to ESM - [x] port VAO (#85) from [85-vao-temp](https://github.com/pex-gl/pex-context/tree/85-vao-temp) branch - [ ] decide on UBO...