This repository has been archived by the owner on Oct 9, 2019. It is now read-only.
Releases: elm-community/webgl
Releases · elm-community/webgl
2.0.0
- support setting WebGL context attributes (by setting depth, stencil, antialiasing, alpha with premultipliedAlpha options)
- a new indexedTriangles geometry has been added, that allows to specify indices separately
- each render operation now starts with clean environment, the only shared information between them are the color, depth and stencil buffers
- all capabilities (depth test, stencil test, blend, etc.) are toggled automatically when the corresponding Settings is used
- Blend, DepthTest and StencilTest settings were extracted into separate modules
- Texture API was improved, e.g. it now fails the Task, when trying to load non-power-of-two textures with wrong options
- Texture performance was improved, because there is no need to generate mipmaps, if the texture filter is not using them
- Renamed Drawable to Mesh, Renderable to Entity
- Improved the documentation with more use cases, and even some ascii art