"Of all the enemies to public liberty war is, perhaps, the most to be dreaded because it comprises and develops the germ of every other. War is the parent of armies; from these proceed debts and taxes known instruments for bringing the many under the domination of the few. No nation could preserve its freedom in the midst of continual warfare."
- James Madison

BSP Blending
Monday, February 6, 2017 | Permalink

Like my last demo, this is sort of a modern take on an old idea. Sorting rendering back-to-front with a BSP isn't exactly a new idea, but a parallel traversal in a compute shader might be. I've been pondering on this idea for a lot longer than I care to admit, it's probably been in my TODO list for over 5 years, but I finally got around to play with it and see if it was meaningful. My original idea was actually to traverse the BSP on the fly in the vertex shader, which of course is entirely possible, but ultimately decided that it makes more sense to do it in a separate compute pass.

Either way, enjoy the demo, and hope it's useful for something.

[ 7 comments | Last comment by shakira (2017-06-07 13:58:30) ]