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)
anindieMember Since 19 Apr 2012
Offline Last Active May 08 2012 02:57 AM