@pcwalton By the way, two questions that just popped into my head regarding Pathfinder:
1. Since context switches are expensive, do you render each tile to a texture atlas? Or does each tile get its own float texture?
I don’t support multiple layers yet other than just stacking paths on top of each other, but I’ve discussed with @nicalsilva and the tentative plan is for the composite step to have a color and mask.
-
-
Ah, so right now, each layer is essentially two render passes? One to compute the coverage mask, one to do the painting?
-
Yeah. This is the main downside of Pathfinder 3. I’ve thought of ways to mitigate the issue, though, mostly using extensions to do the coverage calculation and compositing in one pass. One nice thing, though, is that the mask can be cached from frame to frame in many cases.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.