Preferred Shadowing Solution#

There are many techniques for creating shadows. One technique that performs exceptionally well on PowerVR hardware is stencil shadowing, as the hardware is very good at handling stencil buffers. The data is stored in on-chip memory and never has to be written out to system memory. Therefore, if hard shadows are acceptable, employ a stencil shadowing algorithm.

Techniques that require results to be written to off-chip memory, such as shadow mapping, will usually perform worse than techniques that can be computed entirely in on-chip memory.