9 ms·
Really nice work and great post. Just to add, if you want smooth anti-aliased edges without the second super-sampling pass, you can use standard derivatives in
by mattdesl 2y ago
Really nice work and great post.
Just to add, if you want smooth anti-aliased edges without the second super-sampling pass, you can use standard derivatives in your SDFs. Basically, replacing your step functions with 'aastep', e.g.
https://github.com/glslify/glsl-aastep https://github.com/glslify/glsl-aastep
- deleted 2y ago[deleted]