Hello. I’m trying to mod a Unity game for stereo 3D support (Nvidia 3D Vision) and I’m using a custom wrapper to dump and edit shaders (in ASM).
When stereo-izing a pixelshader, I’m trying to account for FOV. I’ve been using a fixed value, but in many games, the FOV changes from scene to scene. Is there a constant or variable that contains the FOV information that I can use? Or does the FOV constant vary from game to game? If it varies, is there another way I can find out what the FOV variable is?
Side question: With Unity engine games, no header information seems to be included in any of the Vertex or Pixel shaders. Is there any other way to retrieve the header information?
Thank you in advance.