Reduce area lights data size
Currently it's one big JS array in a js file that weights 200kb. Zipped it's still 77kb. Can we convert it to a binary blob?
It's 20k floats. If i can encode it as 16bit half floats = 40k + 37% = 54kb (base 64 is up to 37% larger). Hmmmm. And that's assuming this precision is good enough.
More research needed how others are handling this.
dds textures are 32kb each, if we can convert/parse them properly as they're float16 encoded.
that would require copying them to assets in nodes right?
that would require copying them to assets in nodes right?
yes, separate assets
Most promising solution is to use dynamic imports and bundle splitting.