4 ms·
Makes me wish the css filter feature hadn't fizzled. Would be much more performant to do this in a single pass by giving a gradient to a box distance formula in
by MrLeap 5y ago
Makes me wish the css filter feature hadn't fizzled. Would be much more performant to do this in a single pass by giving a gradient to a box distance formula in a shader!
- user-the-name 5y agoThat will not generate a visually pleasing shadow, though.
- extropy 5y agoBecause? You could specify any formula you want. Including lookup tables. If you can describe it, the shader can render it.
- user-the-name 5y agoBecause a visually pleasing shadow does not follow a box distance function at all.