i am working on improving my gbuffer and rendering. currently, i recreate my position using the Inverse View Projection. this works fine. however, reading thru a tutorial, and trying to implement his method, i have run into a problem. my shades do not use D3D10_SHADER_PACK_MATRIX_ROW_MAJOR flag, which the tutorial does. so i am assuming the problem lies somewhere in that issue.
inside the shader code, are the following segments, and i am hoping someone can help me port these over so that ROW_MAJOR is not required.