
Some Googling revealed that originally this shader was written for console emulators to make the games appear as close to how they'd look like on a CRT TV screen as possible. It also turns out that the shader is very customizable - a very detailed description can be found here, although not everything is applicable to the DOSBox version.
To set up DOSBox SVN Daum with this shader (Gulikoza's build should also work though), the following lines need to be changed in dosbox.conf:
Quote
output=direct3d
pixelshader=CRT-geom-curved.fx
[render]
aspect=true
scaler=hardware2x
To modify the various settings of the shader itself, you'll need to edit the shader file. Thus to entirely disable the screen curvature imitation,comment out (with a double slash) the following line:
Quote
//#define CURVATURE
It is also possible to make the screen less curved but not entirely flat, by editing the following parts of the shader file:
Quote
float2 aspect = { 0.5, 0.5 };
and
Quote
float cornersize = 0.02;
Unllike the built-in DOSBox scalers that only enhance 320x200 resolution output, the shader modifies all screen output in DOSBox and will work with higher resolutions as well:

The same scene in 640x480:
