1 Reply Latest reply on Apr 21, 2011 4:23 PM by nou

    Deform vertex along normal

    kyma

      In my vertex shader...

      How can I take each position, move it x amount along it's normal and get a new position?

       

      float4 position

      float3 normal

      float amount