hi!
i think the way you get the normal vector from the pixel color of a normal map iscan someone please tell me whether this formula is correct?Code:nx=128-red ny=128+green nz=256-blue
thanks
hi!
i think the way you get the normal vector from the pixel color of a normal map iscan someone please tell me whether this formula is correct?Code:nx=128-red ny=128+green nz=256-blue
thanks
thats amazing. i felt over this link while searching but i didn't find it much useful...
edit: whats also bothering me is how to calculate the world space normal from the surface normal + the normal from the normal map.
adding them only works on flat surfaces pointing up...
Last edited by Devils Child; 08-09-2009 at 01:51 PM.