Hi everyone,
I made a simple custom shader which outputs custom values to the stencil buffer and another image effect shader which filters the display buffer based on the stencil values. Everything works perfectly well on the PC (camera follows an animated path and filters successfully stencil-marked parts), but the rendering breaks down on both Android and IOS platforms (camera doesn’t move and focus on a random part of the scene while filtering is off).
Do you guys have any idea of what I’m doing wrong? Possibly, I forget to set something relative to mobile settings to enable the use of the stencil buffer…
Thank you in advance.