I was wondering if it was possible to process stencil shadows only every second frame, as this would make the program more efficient, without much noticeable decrease in image quality.

If it is possible, could you give an example action for an entity that does this?