View Single Post
Old 06-26-2013, 07:05 AM
sleiN13 sleiN13 is offline
Join Date: Dec 2008
Posts: 83
Barrel Distortion

I'm trying to create a post process effect shader that does a barreldistortion on the created image.

A side effect of the barreldistortion is that less of the screen is filled with the actual image of the environment. To combat this I should give the post process a higher resolution image to work with and use a window resolution part of the post process output. Basically cutting away the empty area's created by the barreldistortion.

My question is, is there a way to do this with vizard?

Alternatively I could probably use a renderNode and renderTexture and apply those to a on screen quat and apply the shader to this texture. But I can't seem to find a method to only render the left or right eye to a renderTexture. So is there a way to do this?
Reply With Quote