4 ms·
This is really cool! I think it might look a bit cleaner if you changed the filtering on your shader to be nearest, instead of linear. I posted this previously
by xigency 10y ago
This is really cool! I think it might look a bit cleaner if you changed the filtering on your shader to be nearest, instead of linear.
I posted this previously but I didn't want to distract from your submission, so I made my own submission to a similar thing I created: https://news.ycombinator.com/item?id=12183383 https://news.ycombinator.com/item?id=12183383
- erkaman 10y agoThanks for the tip!
- xigency 10y agoI think the code for regl for filtering is here: tex: regl.texture({ min: 'linear mipmap linear', mag: 'linear', wrap: 'repeat', data: makeWireframeTexture() }), So the change would be to use 'linear' or 'nearest'. It's actually the mipmaps that are making things look blurry. Basically, the graphics card is scaling down the image and scaling it back up, which makes it blurry.