• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

3D alpha issue with default shader on mobiles platforms

Hi guys ...
I am working with 3D game on android and iOS platforms I will make the tree in two plane models with png transparent texture
I set alpha testing true and alpha ref value on pc the trees was shown fine but on android and iOS it's shown as with out alpha test such
I was used pass through shader and same issue on pc ok but on mobile it's no

I use same the code

Shader set ( default shader )
Set culling false
Set alpha test true
Set alpha test ref 254 or 1 same thing
Draw plane tree model
Set alpha test false
Shader reset
But Ian tried false z buffer before draw and true after its work ok on mobiles but I loss depth of buffer
I don't know where the problem in alphablend on mobile or in shader alpha channel on mobile or in z buffer on mobile


Screenshot Iam using another shader but iam tried default shader pass through and same thing therefore iam surely the problem it's not in shader on mobile only

IMG_0005.JPG IMG_0002.JPG IMG_0003.JPG IMG_0004.JPG IMG_0005.JPG

- iam tried draw tree model with out shader its work fine on android and iOS
 
Top