Search code examples
opengl3ddirectxxnaprojection

Fisheye projection matrix in Xna/OpenGL - 3D


I'm looking for a projection matrix I can use in 3D that will give me the effect of a fisheye. I'm not looking for a pixelshader or anything like that, that will manipulate pixels - but the actual projection matrix used in projecting from 3D space onto 2D.

Thanks.


Solution

  • Carlos isn't wrong but you might want to try playing with the "field of view (FOV)" parameter in your projection matrix builder.