- Home /
Which mobile devices do not support stencil buffers?
I'm mostly interested in iOS, but knowing something about Android would be nice too.
I know I have to enable "24-bit Display Buffer" in order to get working stencil on iOS. Does anyone know which devices do not support that?
Answer by screenname_taken · Jul 24, 2014 at 10:27 AM
As far as i know, Tegra2 and Tegra3. I got really angry because of it :P.
Couldn't use Unity's realtime shadows. Tegra4 added stencil to the chip i think.
Thanks! good to know. Do you know situation with iOS devices?
Not exactly what you wanted but here's something that might help you to research further:
@Paulius: If i remember correctly, i simply enabled real time shadows in unity free for ios and they showed. So their GPU (PowerVR based) has stencil support.
@screenname_taken - I didn't think Unity's default realtime shadows made use of s stencil buffer for shadow volumes. Don't they just use a shadow map?
Unity's realtime shadows use zdepth-comparisson for shadowmapping, not stencil shadows. Just programmed my own stencil shadows for an mobile alternative. I don't own a Tegra-Hardware-Device. You think this might be a problem later on? Are there still a lot Tegra3 devices around?
Unity's doc's don't mention any limits about any hardware on the stencil-buffer-page.