Computer Graphics Asked by weichsem on January 2, 2021
I’m using 2d signed distance fields in my current project for drawing shapes (example: https://www.shadertoy.com/view/4llXD7) and I want to add drop shadows to them. At first I thought I could exploit the sdfs distance property to achieve good enough looking drop shadows, but I found that in many cases this left undesirable results in the interior of the shapes where there is often a darker ‘x’ in center.
I found this shadertoy https://www.shadertoy.com/view/tdSGDc which is produces exactly what I am looking for in terms of quality and performance, but I can’t seem to figure out how I would combine this 1d box blur effect with arbitrary sdf shapes to achieve a nice looking drop shadow. Is there a way I can combine these two techniques to get great looking shadows?
0 Asked on August 27, 2021 by b1skit
1 Asked on August 27, 2021 by emil-kabirov
1 Asked on August 27, 2021 by makogan
computational geometry geometry mathematics subdivision tesselation
1 Asked on March 3, 2021 by lucio-coire-galibone
2 Asked on February 10, 2021
filtering global illumination monte carlo physically based raytracing
2 Asked on January 29, 2021 by adrian
0 Asked on January 5, 2021 by bisma
0 Asked on January 2, 2021 by weichsem
2 Asked on August 12, 2020 by jheindel
0 Asked on July 23, 2020 by przemek-b
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP