Optimizing Shader Programs
The goal of shader optimizations is to increase its throughput (vertices/sec, fragments/sec) without impacting visual appearance.
Surface Effects and Combinations
Draw Objects Sorted by Texture Spherical Environment mapping for static surface reflections is s...
Use Specialized Shaders
Texture Cache Use Shaders that are customized to fit exactly your special situation. Reference ...
Carefully Design your Lighting
Use Texture Compression Per-vertex lighting is less expensive than per-fragment lighting. ...
Optimize Shader Program Coding
Avoid if-else Constructs in the Shader The use of if-else statements for non-constant variables ...