# OGL: a minimal WebGL library for writing custom shaders

Canonical source : [OGL: a minimal WebGL library for writing custom shaders](<https://sebastien.rigaux.be/en/tech-watch/links/ogl-a-minimal-webgl-library-for-writing-custom-shaders>)

OGL keeps abstractions to a minimum for WebGL rendering and custom shaders. This dependency-free ES module library shares some conventions with Three.js, but provides fewer features and leaves room to use native WebGL commands directly.

Its Math, Core, and Extras split helps keep integrations modular; the README lists 29 KB minified and gzipped for the full set before tree-shaking. Commented examples cover both a camera-based scene and a fullscreen shader. The low abstraction level makes the code easier to learn and extend, while leaving more WebGL details to the developer.

- Selected on : 2026-10-26

- Entry updated : 2026-11-07T20:32:37+0000

- Format : Documentation

- Source language : EN

Original resource : [OGL: a minimal WebGL library for writing custom shaders](<https://github.com/oframe/ogl>)

Tags : WebGL · [JavaScript](<https://sebastien.rigaux.be/en/tech-watch/tags/javascript>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/ogl-une-bibliotheque-webgl-minimale-pour-ecrire-ses-shaders>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/ogl-a-minimal-webgl-library-for-writing-custom-shaders>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
