3 Replies Latest reply on Mar 29, 2009 7:52 AM by MiRaGe 508

    Pixel Bender on Textfield

    MiRaGe 508
      Has anyone else tried to apply a pixel bender on a movieclip containing a text field. When i try to apply a shader to the movieclip container, the container becomes black. I've tried straight outputting the the input image in my kernel but i had the same results:

      input image4 backgroundImage;
      input image4 foregroundImage;

      output pixel4 outPixel;

      void evaluatePixel()
      pixel4 foregroundPixel = sampleNearest( foregroundImage, outCoord() );
      pixel4 backgroundPixel = sampleNearest( backgroundImage, outCoord() );
      outPixel = foregroundPixel;

      Anyone have any ideas?