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!):











Mr.doob
on Oct 14th, 2008
@ 12:52 pm:
Hahahaha! Awesome! Looks great!
Thanks a lot for sharing the code!
David
on Oct 15th, 2008
@ 11:28 am:
Hehe thanks, and no problem
If only it could be faster, it might actually be useful
Nick
on Jan 15th, 2009
@ 9:45 am:
Great work! Just sumbled across this – wondering if this will work in AE so I can render offline?
Thanks
Nick
David
on Jan 15th, 2009
@ 10:54 am:
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