Changelog
0.5.1 (2021-03-26)
New:
OES_vertex_array_object
extension for improved drawing performance.Changelog
0.5.0 (2021-03-04)
New:
beforeDraw
callback now takes an argument time
that will get the timestamp param of rAF injected into it.params
argument, an Object
that contains initial values to set.turbulence
effect now takes a new argument params.output
which results in a code injected to the fragment shader for controlling the output of the effect. You can use the static properties of the effect:
turbulence.COLOR
: render the result value as a grayscale vector into color
.turbulence.ALPHA
: render the result value into alpha
.Breaking:
blend
effect now takes noise
as a property of params
object.displacement
effect now takes wrap
as a property of params
object, which are now static properties of the effect:
displacement.CLAMP
displacement.DISCARD
displacement.WRAP
tubulence
effect now takes the noise string argument as a property of params
, as in: params.noise
.Changelog
0.3.5 (2019-11-09)
Fixed:
percision
to highp
.Changelog
0.3.4 (2019-10-22)
New:
displacement
effect: CLAMP
, DISCARD
, WRAP
.Fixed:
sourceCoords
in displacement
transition.Changelog
0.3.0 (2019-09-24)
New:
noSource
argument for rendering without a media source.turbulence
effect.alphaMask
effect now supports luminance mode via isLuminance
getter/setter.beforeDraw
callback to kampos config.Fixed: