1 Reply Latest reply on May 28, 2009 11:51 PM by si-robertson

    Pixel Bender (Shader) and Graphic Fills

    si-robertson Level 1

      Hi guys,

       

      If I pass an image to a Shader for use with Graphics.beginShaderFill() does the Shader process the entire bitmap image passed to it or does it only process the drawn area? In other words, if I pass a 640x480 bitmap image to the Shader and I draw a 10x10 rectangle will 307200 or 100 pixels be processed?

       

      We're talking AS3 here obviously.