   [SOLVED]Issues with normal format
  I think I have a problem with the format in which I save my normals. I do all my calculations in world-space. To use the normals in my deferred renderer I've built I save the normals to a texture. Problem is that the normals are in the range of [-1, 1] and I (as far as I know) can only write to textures in unsigned format (I'm using XNA). So basically I have to change the format of my normals to [0, 1] before I save them right? But I don't know how to transform the normals to that range. Any ideas how I'd go about doing that?EDIT: I browsed the forum a bit and I think I found the answer in a post. normal * 0.5 + 0.5 Will transform the normals to the right range.[Edited by - sidstyler on April 5, 2010 7:59:36 AM]