This Android sample implements and compares several techniques for shading a scene with many lights. The full sample source code is available on GitHub. It can also be downloaded using this direct link. The most efficient method implemented in the sample is clustered shading, which is described in this paper. This sample is Android port of the more advanced windows-only version which is available here.
The sample implements the following methods:
The following picture shows the image generated by the sample:
The sample folder contains two visual studio solutions:
If you do not want to install visual GDB, you can follow the instructions in readme.txt file located in the sample folder to build it manually.
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804