Parallax Mapping with Pixel Bender (still burning cpu’s)

Aw man, Mr. Doob went ahead and made me all stoked about Pixel Bender again (and there goes my patience, curse your leet hide!). I went back to the parallax mapping effect from my last post to see if I could make it work more correctly in Pixel Bender (using the steep parallax algorithm). And since we’re using Flash Player 10 anyway, I made the surface rotate in 3D to illustrate the effect a bit better. Because of the lack of loops when using PB in FP10, it’s limited and some things could look a bit weird (especially since I’m exaggerating the effect here). Pixel Bender in Flash also has its speed limits, so this is still a cpu killer… As a result, I had to throw out the part handling lighting and self-shadowing :(

 

Enough rambling, here’s the demo (Flash Player 10 needed!):

  • demo for FP10 browser plugin
  • swf for the standalone player
  • the source (including pixel bender code)

4 thoughts on “Parallax Mapping with Pixel Bender (still burning cpu’s)

  1. Great work! Just sumbled across this – wondering if this will work in AE so I can render offline?
    Thanks
    Nick

  2. Hi Nick,

    Thanks :) I reckon it should work in After Effects, however it might be best to rewrite it just for that, so you can take advantage of loops etc :)

Leave a Reply

Your email address will not be published. Required fields are marked *