Hello, I am kind of having a problem when I try to create planes on top of my map. It is most likely not the best way to do things, but I am kind of creating a tiled map on top of ground for showing the area where the unit can move. It looks normal and fine on desktop (both windows and linux), but the problem is my phone. This same thing even happens on the sample: 10_RenderToTexture.
Here is the picture http://i.imgur.com/Q8rX41q.png the whole area should consist blue planes of same size, like tiles.
I know that the cause is that the plane is too close to the object behind it. I set the planes to be 0.1f higher, and I also noticed that if I set the camera closer to the planes, they appear without the lines, so it is somehow distance based thing.
This thing also sometimes seems to happen even with the decals at least on my phone, which makes me wonder if this is mostly something to do with my phone (Nexus 5 + lollipop 5.1), or does it also happen on other opengles systems?
Something that I noticed is, that the lines always appear to be horizontal line. Also the width of a single line seems to be the same. Considering that the blue area consists of 11 different planes, it is interesting how it actually creates the lines horizontally regardless from what angle the camera is.
Also for some reason depending on what angle from the ground I am watching, the lines appear to be wider, same goes depending how far the camera is from the planes. If I set the camera close enough, the blocks are shown completely and there is no “lines” at all.
Pictures to compare camera angle:
http://i.imgur.com/06IkRGx.png vs
http://i.imgur.com/ldiV5uE.png
I guess one way to fix it would be to simply just set the distance further away from the ground, or maybe I can set the height of the tiles higher if the camera is further away from the ground.
Edit: Also this thing has been on the urho as long as I have been dabbling with urho (at least 3 months), so it is not something that has appeared in recent patches.