0.4
Pre-release
Pre-release
Changelog
- Non-perspective-correct interpolation now corrects for perspective only along the Y axis, rather than none at all
- This produces less severe texture warping, but still some of it, which may be the aesthetic you're looking for
- About 10% faster than full correction, whereas the old method was slower than full correction
- Points and lines now have optimized raster paths
- Wireframe rendering without depth buffering is 25% faster
- Point and line rasterizers now (or for now) ignore the fragment buffer
- Can now build a module-format distributable, in addition to the global variant
- Vertex shaders now receive the render state object as an argument
- Pixel shaders now receive only the render state object as an argument
- You now need to manually pass
useFragmentBuffer: true
in the render options if a pixel shader intends to access the fragment buffer
- You now need to manually pass
Rngon.color
now has convenience aliases for CSS color names (e.g.Rngon.color.hotpink
)matrix
is now exposed in the public API- Tweaked the presentation of various render samples, and added a texture-painting sample
- The first mip level of a texture is now a direct reference to the base texture data
- Refactored the API reference manual
- Refactoring of source code