Book Image

OpenGL ES 3.0 Cookbook

By : Parminder Singh
Book Image

OpenGL ES 3.0 Cookbook

By: Parminder Singh

Overview of this book

<p>"Write once, use anywhere" is truly the power behind OpenGL ES and has made it an embedded industry standard. The library provides cutting-edge, easy-to-use features to build a wide range of applications in the gaming, simulation, augmented-reality, image-processing, and geospatial domains.</p> <p>The book starts by providing you with all the necessary OpenGL ES 3.0 setup guidelines on iOS and Android platforms. You'll go on to master the fundamentals of modern 3D graphics, such as drawing APIs, transformations, buffer objects, the model-view-project analogy, and much more. The book goes on to deal with advanced topics and offers a wide range of recipes on the light shading, real-time rendering techniques with static and procedure textures to create stunning visualizations and runtime effects.</p>
Table of Contents (21 chapters)
OpenGL ES 3.0 Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing fast approximate anti-aliasing


There are two very important factors in anti-aliasing: performance and quality. A good anti-aliasing technique must be fast and should produce acceptable quality results. FXAA stands very positive on these aspects. It's faster compared to MSAA, which provides roughly 25 percent reduction in performance overhead compared to the SSAA technique. This works in the same resolution as the texture, which eliminates extra overhead similar to other techniques, where the texture has scaled to a higher resolution and then downsampled.

FXAA works on the specific details of an image; it systematically detects the stair-step case effect in the given image and blurs it out. Stair-steps are recognized with an edge detection algorithm. Therefore, the quality of edge detection and blurring algorithm are very important factors here. An incorrect algorithm may miss important edges or detect incorrect edges, which may produce an unpleasant quality after blurring.

Getting...