Releases: jsulpis/usegl
Releases · jsulpis/usegl
v0.5.0
🚀 Enhancements
- Handle multi-pass post-processing effects (3250a47)
- Add useCompositeEffectPass hook to have more control over multi pass effects (45a0528)
- Make the texture loaders synchronous and re-render when loaded (9829a6c)
📖 Documentation
- Add an example for drawing modes (0ef7432)
- Add an example for particles (a4deedd)
- examples: Add an example of data texture (7653a1a)
- examples: Add an example of image texture (20a6a00)
- examples: Add an example of canvas 2D texture (83ac9fd)
- examples: Add an example of play/pause (1441aff)
- examples: Add an example of pointer coordinates (cdc6159)
- examples: Add an example for uniforms (bd0cbd0)
- examples: Display render count (47ce9c2)
- examples: Add example of vertices with indices (bfb1293)
- examples: Add an example of video texture (229b2a8)
- examples: Add an example of single pass post-processing (05bad31)
- Setup Vitepress with Sandpack (a77b367)
- Setup example editor in VitePress (875fb38)
- Import all examples in VitePress (78ca377)
- Complete the migration to VitePress (9f20077)
v0.4.0
v0.3.0
v0.2.0
🚀 Enhancements
- Add basic support for textures without mipmaps (5fc5341)
- Allow to provide the canvas as a CSS selector (a7f8d0f)
- Add useLoop hook with play/pause controls (f3e2cf3)
- Add useBoundingRect hook (8d1851e)
⚠️ Change onPointerEvents to usePointerEvents and add more events (ddeabd9)
🩹 Fixes
💅 Refactors
⚠️ ChangeonCanvasResize
touseResizeObserver
and provide controls on the observer (31e38ff)
🏡 Chore
- Update dependencies (45efec1)
- Enforce Typescript consistent type imports (70d9e4a)
- Setup the playground (a0d37d1)
- Move the playground in the lib package (6e58fc8)
✅ Tests
- Add screenshot tests with playwright (67517c8)
🤖 CI
- Add basic workflow (32aaf60)
⚠️ Breaking Changes
v0.1.0
🚀 Enhancements
- Add a first version of useWebGLCanvas, onCanvasResize, and add a gradient demo (f464f08)
- Make the vertex shader optional (6a987b3)
- Convert GLSL 100 shader source to GLSL 300 to handle both versions (3e693ad)
- Automatically detect the time uniform and trigger the render loop only if it is set (fd2276e)
- Automatically detect the UV varying name if a vertex shader is not provided (4466dd7)
- Add blob demo + loop and onPointerEvents helpers (d9aaccf)
- Automatically detect the resolution uniform (4a7f935)
- Automatically resize the canvas if it is not an OffscreenCanvas (b89f230)
- Add setAttribute function (4b9ee84)
- Trigger render when updating a uniform (47ff764)
- Add useRawWebGLCanvas (2cc2e57)
- Add requestRender + code cleanup (8237d51)
- Add support for particles, draw modes and indices (4062756)
- Add first draft of post processing functions (9f20196)
- Add more post processing functions (6f1f3e6)
- Add compositor for post processing (e855390)
- Add lifecycle callbacks (87e4534)
💅 Refactors
- Reorganize into folders and create a barrel file (a7d84f8)
📖 Documentation
- Add circle demo (21b6bf7)