- Home /
Depth and Mobile (Z values.. right?)
I'm rendering multiple meshes created manually (Graphics.DrawMesh), and I'm trying to order them using the Z value.
I can get it to work on unity editor (windows platform here), but I can't get it to work on my android device; one of the cubes (my player) is always below other meshes (like the background).
My background Z value is at 0.4. I tried putting my player Z value at 1.0 and 0.0 - invisible in both cases.
p.s. I'm creating a 2d game so I don't actually need the Z values; I only use them for depth, to hopefully order the drawing of the objects. Or am I confusing something?
Your answer
Follow this Question
Related Questions
Intersection Highlight Shader -1 Answers
Transparent shader for Android 1 Answer
Mobile alpha blended shader with UV rotation 0 Answers
Mobile/Particles/Alpha Blended + UV animation problem 0 Answers