UNPKG

@luma.gl/effects

Version:

Rendering and post-processing effects library for luma.gl

16 lines (7 loc) 339 B
# pack (ShaderModule, Experimental) Pack and unpack floats to RGBA8 values, enables use of 8 bit textures to store floating point valies. ## Functions ### pack_floatToRGBA8( float v ) : vec4 Convert a floating point value to an RGBA vector. ### pack_RGBA8ToFloat( vec4 v ) : float Convert an RGBA vector to a floating point value.