1 Reply Latest reply on May 25, 2009 1:48 AM by francescp

    rippleblock / accessing phase parameters in flash

    francescp

      Hi there

       

      In Adobe pixel blender toolkit, I got two parameters for the phase: [0] and [1]

       

      When I want to change inside flash, I am using:

       

      shaderPB.data.phase.value = [3.5];

       

      But it chanes only the parameter [0].

       

      How can I access the other one ?

       

       

        • 1. Re: rippleblock / accessing phase parameters in flash
          francescp Level 1

          I have checked one point;

           

          Normally,; if i would like to adjust the seconde parameters, it should be writtern like that:

           

          shaderPB.data.phase.value=[0,newValuePB]

           

          Because I want a vertical shift, but doing that way, nothing change.

           

          Instead if I write: shaderPB.data.phase.value=[newValuePB,0] there is a correct shift in from right to left.

           

          Any ideas ?