pcsx2/plugins/GSdx/res/glsl
Gregory Hainaut 61a7c747e1 gsdx-ogl: alternate implementation of half pixel offset
The previous implementation of HPO adds an offset on vertex position. It
doesn't always work beside it moves the rendering window.

The new implementation will add a texture offset so that instead to sample
the middle of the GS texel, we will sample the middle of the real texture texel.

It must be manually enabled with
* UserHacks_HalfPixelOffset_New = 1 (keep a small offset as intended by GS effect)
* UserHacks_HalfPixelOffset_New = 2 (no offset)

v2: always apply a 0.5 offset in case of float coordinates (Tales of Abyss)
Might break other games but few of them uses float coordinates to read
back the target
2016-11-29 17:22:02 +01:00
..
common_header.glsl gsdx-ogl: add a texture offset uniform parameter to vertex shader 2016-11-29 17:22:02 +01:00
convert.glsl gsdx shader: RGB => YUV conversion 2016-10-14 18:13:20 +02:00
fxaa.fx glsl: move shader into a separate directory 2015-04-19 18:49:02 +02:00
interlace.glsl gsdx: Add color component to OGL shaders 2016-10-14 18:13:20 +02:00
merge.glsl gsdx: Add color component to OGL shaders 2016-10-14 18:13:20 +02:00
shadeboost.glsl gsdx: Add color component to OGL shaders 2016-10-14 18:13:20 +02:00
tfx_fs.glsl gsdx ogl: of course some driver don't work with GL_ARB_enhanced_layouts 2016-10-23 12:48:23 +02:00
tfx_vgs.glsl gsdx-ogl: alternate implementation of half pixel offset 2016-11-29 17:22:02 +01:00