Jump to content

  • Log In with Google      Sign In   
  • Create Account

anindie

Member Since 19 Apr 2012
Offline Last Active May 08 2012 02:57 AM

Topics I've Started

Blend mode for signed color addition.

23 April 2012 - 01:23 AM

Hi,
I am trying to generate and merge normal map in runtime. I stuck upon adding rgb pixels of normal map.

Since opengl stores texture values in unsigned int format. I need to add texels signed.   glBlendFunc(GL_ONE, GL_ONE). Doesnot help

Exact combining is required is ((R1-127)+(R2-127))+127   How can I acomplish this. (Using blendequations)
Thanks

PARTNERS