Re:Shadow Palette Generator
by MrLeap on Wednesday November 17, 2021 @05:46AM
(#29251310)
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!
[ Parent
| on HN ]
Re:Shadow Palette Generator
by user-the-name on Wednesday November 17, 2021 @06:23AM
(#29251564)
That will not generate a visually pleasing shadow, though.
Because?
You could specify any formula you want. Including lookup tables. If you can describe it, the shader can render it.
Re:Shadow Palette Generator
by user-the-name on Wednesday November 17, 2021 @07:41AM
(#29252283)
Because a visually pleasing shadow does not follow a box distance function at all.