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!):
Hahahaha! Awesome! Looks great! :D
Thanks a lot for sharing the code! :)
Hehe thanks, and no problem :) If only it could be faster, it might actually be useful :D
Great work! Just sumbled across this – wondering if this will work in AE so I can render offline?
Thanks
Nick
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 :)