{"action":"created","issue":{"url":"https://api.github.com/repos/prime31/Nez/issues/150","repository_url":"https://api.github.com/repos/prime31/Nez","labels_url":"https://api.github.com/repos/prime31/Nez/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/prime31/Nez/issues/150/comments","events_url":"https://api.github.com/repos/prime31/Nez/issues/150/events","html_url":"https://github.com/prime31/Nez/issues/150","id":193347502,"number":150,"title":"Help with correct layerDepth usage","user":{"login":"Vanit","id":852857,"avatar_url":"https://avatars.githubusercontent.com/u/852857?v=3","gravatar_id":"","url":"https://api.github.com/users/Vanit","html_url":"https://github.com/Vanit","followers_url":"https://api.github.com/users/Vanit/followers","following_url":"https://api.github.com/users/Vanit/following{/other_user}","gists_url":"https://api.github.com/users/Vanit/gists{/gist_id}","starred_url":"https://api.github.com/users/Vanit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vanit/subscriptions","organizations_url":"https://api.github.com/users/Vanit/orgs","repos_url":"https://api.github.com/users/Vanit/repos","events_url":"https://api.github.com/users/Vanit/events{/privacy}","received_events_url":"https://api.github.com/users/Vanit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-04T12:12:02Z","updated_at":"2016-12-05T01:31:20Z","closed_at":null,"body":"I can't for the life of me get this working correctly.\r\n\r\nI have a player sprite whose layer depth I've set to 0.1f, and my custom tilemap renderable component is drawing each tile with a depth of 0.2f (once this issue is resolved the idea is to set the depth based on tile coordinates/layer, same for the player sprite, such that the overlapping is nicely handled). Both components are on the same render layer (0).\r\n\r\nI've traced the draw calls through to the batcher and I can see the correct Z values are being assigned to _vertexInfo. I've tried adding my own renderer that changes the render material to use DepthRead as I thought that might be related.\r\n\r\nDespite all this, I can't get my player sprite to render infront of the map unless its layerDepth is 0. What am I missing?"},"comment":{"url":"https://api.github.com/repos/prime31/Nez/issues/comments/264748953","html_url":"https://github.com/prime31/Nez/issues/150#issuecomment-264748953","issue_url":"https://api.github.com/repos/prime31/Nez/issues/150","id":264748953,"user":{"login":"Vanit","id":852857,"avatar_url":"https://avatars.githubusercontent.com/u/852857?v=3","gravatar_id":"","url":"https://api.github.com/users/Vanit","html_url":"https://github.com/Vanit","followers_url":"https://api.github.com/users/Vanit/followers","following_url":"https://api.github.com/users/Vanit/following{/other_user}","gists_url":"https://api.github.com/users/Vanit/gists{/gist_id}","starred_url":"https://api.github.com/users/Vanit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vanit/subscriptions","organizations_url":"https://api.github.com/users/Vanit/orgs","repos_url":"https://api.github.com/users/Vanit/repos","events_url":"https://api.github.com/users/Vanit/events{/privacy}","received_events_url":"https://api.github.com/users/Vanit/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T01:31:20Z","updated_at":"2016-12-05T01:31:20Z","body":"Yep, exactly."}}
{"actor":{"display_login":"Vanit"}}