Hacker News new | ask | show | jobs
by Rapzid 704 days ago
Having that knowledge sounds just as expensive if the operations aren't commutative.
1 comments

Yeah, somehow between comments I forgot this was about shadows and I was thinking more about drawing polygons. In that case, you can break up the polygons and work out the colors for each of the (theoretically 2^N) regions of overlap.