Howto:Optimizing FlightGear for mobile devices: Difference between revisions

Jump to navigation Jump to search
Line 141: Line 141:


=== Customizing and Disabling Effects/Shaders ===
=== Customizing and Disabling Effects/Shaders ===
Currently, all shaders are disabled by default.
However, shaders may actually help improve performance, i.e. using the stencil test to discard geometry that's invisible or by using a dynamic LOD algorithm: http://rastergrid.com/blog/2010/10/gpu-based-dynamic-geometry-lod/
Overall, some shaders could probably be ported to OpenGL ES GLSL, while others should remain disabled. Some new shaders may help to reduce the runtime footprint even further.


== Optimizing at the Source Code Level ==
== Optimizing at the Source Code Level ==

Navigation menu