Homepage Forums RetroPie Project Video Output on RetroPie help with OpelGL / barrel distortion Reply To: help with OpelGL / barrel distortion

#106213
kraken0667
Participant

Yeah, that’s what I’ve heard too, way too demanding on the RPI. But then I got the answer below from a guy at RPI official forum:

Yes it’s possible. The HLSL shaders you’ve seen do a lot more than just barrel distortion and whilst the Pi might have problems implementing the full range of effects it should be easily able to do the barrel distortion and probably a few others as well.

It’s not complicated OpenGL ES to do this. It’s basically upload the image you want to display as an OpenGL texture, draw two triangles to make up the rectangle representing the full screen and run something like the above code in a fragment shader.

When this guy realized I couldn’t do programing myself, he didn’t want help out anymore.