Jump to content

  • Log In with Google      Sign In   
  • Create Account


milaoshu1982

Member Since 24 Dec 2010
Offline Last Active May 27 2014 07:16 PM

#5124600 Pack two 8 bits into a 16 bits channel _ HLSL

Posted by milaoshu1982 on 17 January 2014 - 10:33 PM

u can pack as this  (float)((a << 256) / max_short) + ( (float)(b / max_short))




PARTNERS