- Home /
Mesh render overlays UI
I used the mesh rendering to create a dynamic background . To run the game in androd the mesh rendering overlays the UI. Anyone know how to solve? Follow the images. Thank you
same frame on android
Answer by belamessex · Mar 29, 2016 at 04:01 PM
What is your Canvas's transform? If it is the same Z position as your mesh background (which is zero in your picture) and you have the canvas set to world space, this would most likely cause problems. You could also try making your background an image on your canvas.
@belamessex Z position in both is 0. You suggest put -1 in canvas? Or Z = 1 in background? Thanks for answer
it doesn't matter if its on the canvas or not, but you need to make sure the z is different. Usually foreground is -z and background is +z.