• Advertisement
Sign in to follow this  

Reducing perceived object stretch caused by wide-angle game cameras. Demos included.

This topic is 1128 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Using a virtual camera with a large FOV can cause objectionable distortion near the screen’s edges. The article at http://www.decarpentier.nl/lens-distortion introduces a novel barrel distortion post effect that may be used to reduce stretch in this case. The effect can be controlled through multiple tweakable parameters, and requires only 2 additional instruction slots of a post effect’s fragment shader. 

Before:lensdistortion_strength_no-568x477.jpg

After:lensdistortion_strength_full-568x477.jpg

 

It also contains a link to an open-source Ogre3D and WebGL example to play with the effect in real-time.

 

Giliam de Carpentier

www.decarpentier.nl

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement