- (breaking) removed
code
argument. Shader is passed throughVP
,FP
andInc
parameters. Shortcut syntax can be used inVP
andFP
independently. - (breaking)
vertex()
function now returnsvoid
, output should be written intovec4 VOut
variable.fragment()
output now should be stored invec4 FOut
. - (breaking)
tag
attribute it now obligatory for newly created render targets.
- WebXR support in the demo
- ParticleLife3d example
- replaced
includes
mechanism with hooks
VERT
/FRAG
definestorus()
glsl functionFace
option to control face culling- Shadowmap example
Grid
can be 3D (ColorCube example)
depth
texture format- removed
Perspective
option
- Mesh rows alternate diagonal direction (see MeshGrid example)
- wireframe() helper
- CubeDeform example
SURF(f)
macro to estimate surface normalcubeVert
function to simplify cube creation
- (breaking) removed
uv
argument fromvertex()
- (breaking) removed
P
, addedUV
andXY
special variables - (breaking)
float isoline(float v)
function (available in fragment shaders) - MeshGrid example
'mirror'
(gl.MIRRORED_REPEAT
) texture wrapping mode (commit)