Pandora's Tower: Difference between revisions

m
no edit summary
(→‎Testing: ##GHz to ## GHz mass edit)
mNo edit summary
Line 27: Line 27:
=== HD Textures ===
=== HD Textures ===
[https://forums.dolphin-emu.org/Thread-pandora-s-tower-hd-texture-2017-02-24 Pandora's Tower HD textures]
[https://forums.dolphin-emu.org/Thread-pandora-s-tower-hd-texture-2017-02-24 Pandora's Tower HD textures]
=== Gamma Correction ===
The in-game brightness setting is nonfunctional in Dolphin, and the default is -1 click which doesn't get applied, resulting in a lighter image with less contrast.  A gamma correction can be applied using Dolphin's post-processing effects shader to approximate the default setting:
<pre>
void main()
{
    float4 col = Sample();
    float red = pow(col.r, 1.3);      // >1 = darker midtones, <1 = lighter midtones
    float green = pow(col.g, 1.3);
    float blue = pow(col.b, 1.3);
    SetOutput(float4(red, green, blue, col.a));
}
</pre>
Save the above code as eg. C:\Program Files\Dolphin-x64\Sys\Shaders\PandorasTowerBrightness.glsl, and enable it by pasting the following in the game's right click menu > Properties > Game Config > Editor > User Config:
<pre>
[Video_Enhancements]
PostProcessingShader = PandorasTowerBrightness
</pre>


== Configuration ==
== Configuration ==