Homepage › Forums › RetroPie Project › Video Output on RetroPie › help with OpelGL / barrel distortion › Reply To: help with OpelGL / barrel distortion
Hi again Dave. Sorry, but I can’t get the shader to work. I copied everything from “#if defined(VERTEX)” to “#endif” and made a .glsl file, put it in there with the rest of the shaders. It’s listed, but without effect. Probably something stupid I missed. Any idea?
[quote=106548]Save everything from the <strong class=”d4pbbc-bold”>#if defined(VERTEX) to the <strong class=”d4pbbc-bold”>#endif inclusive to a file with a name that ends in .glsl and copy it into the same directory as the other .glsl files. It should list it when you next try to pick a shader in retroarch.
You can tweak the amount of barrel distortion by altering the value in the BARREL_DISTORTION line. Changing it to 0.0 will produce no distortion, the 0.25 it’s currently set to is quite large to demonstrate the effect.
[/quote]