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?
|