webgl-operate
webgl-operate copied to clipboard
A TypeScript based WebGL rendering framework.
basic example showing from left to right, nearest, linear, anisotropic 4x and anisotropic 16x/8x (max)...
This example doesn't seem to work as it is: https://github.com/cginternals/webgl-operate/blob/fa0035e100ec728e964478ea0d694996f861b8ec/source/program.ts#L15-L17 Instead this works: ```typescript const vert = new Shader(this._context, gl.VERTEX_SHADER, 'testrenderer.vert'); vert.initialize(require('./testrenderer.vert')); const frag = new Shader(this._context, gl.FRAGMENT_SHADER, 'testrenderer.frag'); frag.initialize(require('./testrenderer.frag'));...
setting `controller._multiFrameDelay` does not work as expected
There are a bunch of unreleased changes and the [CHANGELOG](https://github.com/cginternals/webgl-operate/blob/master/CHANGELOG.md) is quite outdated.
this issue is intended for collecting small patterns that are heavily/frequently used within webgl-operates code basis. I would like to see these "snippets" replaced by, e.g., some form of meta...
provide major USPs for webgl-operate and suggestion when and when not to use it
It would be good to have a possibility to register a callback for all webgl errors. Khronos describes how that can be done: https://www.khronos.org/webgl/wiki/Debugging They have a repo containing helpers...