Ali Al - Mosawi
Member
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
- iam tried draw tree model with out shader its work fine on android and iOS
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
- iam tried draw tree model with out shader its work fine on android and iOS