←back to thread

596 points consumer451 | 1 comments | | HN request time: 0.213s | source
Show context
zamadatix ◴[] No.42161296[source]
I absolutely love these firehose projects. So much fun. Makes me hope Bluesky gets 10x bigger soon :D.

If you add the following line just prior to the return in createTextTexture() the blurriness goes away:

  texture.anisotropy = renderer.capabilities.getMaxAnisotropy();
The perf could probably be largely solved with reusing texture objects as a pool instead of creating then destroying them as needed. I'm too lazy for that though :p.
replies(3): >>42161375 #>>42164005 #>>42192417 #
1. Etheryte ◴[] No.42164005[source]
Yeah, managing your own memory is a good performance optimization a surprising amount of time when working with large data sets in Javascript. I've seen it used in 3D code, graph problems, etc, and so long as you keep it isolated, it's not too much of a hassle.