Homepage › Forums › RetroPie Project › Video Output on RetroPie › help with OpelGL / barrel distortion › Reply To: help with OpelGL / barrel distortion
		09/21/2015 at 16:36
		
		#106548
		
		
		
	
Participant
		
		
	Save everything from the [b]#if defined(VERTEX)[/b] to the [b]#endif[/b] 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.