Creating video filters using OpenGL ES is something that I’ve mentioned a few times and I’ve mentioned the GPUImage project that simplifies the creation of video filters using OpenGL ES and a tutorial demonstrating how to create filters with GPUImage.
Here’s an example from Erik M. Buck demonstrating how to create a green screen effect filtering out a green area of the video stream and replacing it with another image using an OpenGL ES using a custom fragment shader .
Here are some images from the download page showing the effect in action:
You can download the source code here.
You can find an updated example from Tim Sawell with a few changes that tweak the filter a little to make less yellowish colors not become transparent that will also work on retina screen iPadsĀ on Github here.
You can read some more details about the example and some tips for creating real time video filters on the Informit site here.
A great example on creating video filters on the iOS platform.
- Example: Create A Lightning Effect In Cocos2D Using OpenGL ES
- Open Source: Ultra-Realistic Page Curl Effect Library
- Example: Creating A Magnifying Glass Effect In Cocos2D
- Tutorial: A Colored Lens On A Black And White Background With Core Graphics
- Open Source iOS UIView Category For Great Looking Easy Fan Fold Style Transitions
Original article: Example: How To Implement A Real-Time Green Screen Effect On iOS Using OpenGL ES
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.






