Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAshaman73

Posted 02 January 2013 - 09:25 AM

The easiest way to do this is to use some kind of lookup table. Determine an alpha value (0..1) on the x axis and use this alpha value to look up the mapped color in a 1d lookup table. This can be done on the GPU using some simple shader.

#1Ashaman73

Posted 02 January 2013 - 09:24 AM

The easiest way to do this is to use some kind of lookup table. Determine an alpha value (0..1) on the x axis and use this alpha table to look up the mapped color in a 1d lookup table. This can be done on the GPU using some simple shader.


PARTNERS