Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Does stencil buffer work well on android or iOS?

Discussion in 'Shaders' started by Louis April, Jun 26, 2015.

  1. Louis April

    Louis April

    Joined:
    Feb 14, 2015
    Posts:
    18
    I want to implament some effect. I know alpha test doesn't work well on some devices. But manual doesn't metion the situation of stencil buffer on mobile platform. If someone has the experience of using stencil buffer ,please give me some advices.:)
     
  2. colin299

    colin299

    Joined:
    Sep 2, 2013
    Posts:
    176
    it will work on mobile, don't worry.
    I use stencil buffer to do planar shadow for character on iOS & android.
     
  3. Louis April

    Louis April

    Joined:
    Feb 14, 2015
    Posts:
    18
    Thx!