> > I'm hoping that at some point they will add a "trapezoid" parameter to the HLSL > > settings for files like this where the monitor has slight perspective in the > artwork > > file. It would be great for games like these, Tron, and Cosmic Chasm. > > I'd prefer a tilt/trapezoid setting that is part of the standard LAY file options (or > at least some way to set HLSL parameters from the LAY file). Otherwise you've got to > rely on the user tweaking the HLSL setting to get things to line up with the artwork. > A "fisheye" setting for Aztarac would be nice too (though it would be a lot of work > just to support one game).
You could use the crt-geom shader from BGFX, as it has a tilt-prameter, that you can adjust on the fly. Also its easier to "correct" the screen, by doing it with the artwork itself, i.e. creating proper orthagonal views with Photohop or similar, rather than changing shaders. If you are satisfied with the tilt settings, you can duplicate the shader and change the tilt settings accordingly inside them. Afterwards you can change the game .ini setting to load your copy of the shader file. This way you dont need to change it everytime the game is loaded. This is a provisionally solution, until we have BGFX shader settings, that are saved automatically.
"fisheye" settings (and to some degree manipulations to fit the screen), can be done with HLSL with these parameters:
distortion 0.0 cubic_distortion 0.0 distort_corner 0.0 round_corner 0.0 smooth_border 0.0
you need to play with them, to find your settings.
|