Quick question: I am trying to translate vertices by a vector from a constant buffer in my geometry shader and something is not working out. My vertex shader multiplies the vertices by the world, view, and projection matrix. I pass in my vector (1,1,1) and set the w-component to 1 as well to allow translation. Then I multiply the vector by the view and the projection matrices and add it to the position of the vertex. I am expecting this to give me a new position further from the screen but it makes it closer instead. It also causes lines that I expect to be parallel to come closer together towards the new point. Please look at the attached image for an example. The purpose of this is to generate shadow volumes with an orthographic light source. I have even tried doing the projection matrix multiply in the geometry shader after calculating the position but I get the same result. Help would really be appreciated! Thanks.

Shadow volume are extruded in the direction of the light vector in world space. Since this happens in the geometry shader, you'll have to do the view/projection transformation afterwards in the GS as well. The extruded volumes are transformed the same way as any other object in the scene.

Note that clipping and depth division takes place after the GS stage. The w-component has no meaning when passing data from the VS to GS. SV_Position is a required output of the geometry shader, not the vertex shader (when a GS is active).