4 Replies Latest reply on Jan 24, 2012 2:30 PM by Xoliul

    Pixel Bender kernel behaves completely different in Flash

    Xoliul Level 1

      Hi all. I just got started with Pixel Bender. I'm quite experienced writing HLSL shaders so it hasn't been hard for me to get used to the language.

      However, after having written a Kernel specifically for Flash, making sure to compile it with Flash compatibility check, it looks completely different when rendered with Flash! On top of that values seem to behave the other way, requiring me to invert them, etc...

       

      Here's an image illustrating the issue:

      flashvscpu.jpg

       

      I'm doing quite some heavy stuff on a perlin noise image, but it works fine on CPU, looks perfect, yet Flash renders a horrible ugly mess..

       

      I really don't know what's going on here, it seems like the out coordinates behave differently or the input image is of a different resolution ?

       

      I hope an Adobe employee can shed some light here. As great as the concept of Pixel Bender is, it's a bit rough around the edges to say the least..