Original Post
hi, i would like to know the basics behind the formula for converting a normal map to rgb image. for example i've seen this conversion in a code ... R = (normal.x+1)*128 G = (normal.y+1)*128 B = (normal.z+1)*128 and i'd like to know the derivation.