{"action":"created","issue":{"url":"https://api.github.com/repos/evshiron/IngressCraft/issues/1","labels_url":"https://api.github.com/repos/evshiron/IngressCraft/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/evshiron/IngressCraft/issues/1/comments","events_url":"https://api.github.com/repos/evshiron/IngressCraft/issues/1/events","html_url":"https://github.com/evshiron/IngressCraft/issues/1","id":86430849,"number":1,"title":"Wrong depth order of PortalEntity","user":{"login":"WeAthFoLD","id":3516419,"avatar_url":"https://avatars.githubusercontent.com/u/3516419?v=3","gravatar_id":"","url":"https://api.github.com/users/WeAthFoLD","html_url":"https://github.com/WeAthFoLD","followers_url":"https://api.github.com/users/WeAthFoLD/followers","following_url":"https://api.github.com/users/WeAthFoLD/following{/other_user}","gists_url":"https://api.github.com/users/WeAthFoLD/gists{/gist_id}","starred_url":"https://api.github.com/users/WeAthFoLD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeAthFoLD/subscriptions","organizations_url":"https://api.github.com/users/WeAthFoLD/orgs","repos_url":"https://api.github.com/users/WeAthFoLD/repos","events_url":"https://api.github.com/users/WeAthFoLD/events{/privacy}","received_events_url":"https://api.github.com/users/WeAthFoLD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-09T03:44:35Z","updated_at":"2015-06-09T05:28:49Z","closed_at":null,"body":"I noticed that the rendering of portal entity sometimes have a wrong order. Entities that should be rendered after it are not correctly covered. In the PortalRenderer.java I see that you've closed the depth mask, maybe opening that will solve the issue?\r\n\r\nAnyways, minecraft has 2 render stages (opaque and transparent), you can use the following code in entity to make it render in transparent stage:\r\n```java\r\n@Override\r\npublic boolean shouldRenderInPass(int pass) {\r\n    return pass == 1; //0:opaque 1:transparent\r\n}\r\n```\r\nWhere the rendering is much more free. You can close the depth mask and alpha test without causing too much trouble."},"comment":{"url":"https://api.github.com/repos/evshiron/IngressCraft/issues/comments/110228855","html_url":"https://github.com/evshiron/IngressCraft/issues/1#issuecomment-110228855","issue_url":"https://api.github.com/repos/evshiron/IngressCraft/issues/1","id":110228855,"user":{"login":"evshiron","id":8800643,"avatar_url":"https://avatars.githubusercontent.com/u/8800643?v=3","gravatar_id":"","url":"https://api.github.com/users/evshiron","html_url":"https://github.com/evshiron","followers_url":"https://api.github.com/users/evshiron/followers","following_url":"https://api.github.com/users/evshiron/following{/other_user}","gists_url":"https://api.github.com/users/evshiron/gists{/gist_id}","starred_url":"https://api.github.com/users/evshiron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evshiron/subscriptions","organizations_url":"https://api.github.com/users/evshiron/orgs","repos_url":"https://api.github.com/users/evshiron/repos","events_url":"https://api.github.com/users/evshiron/events{/privacy}","received_events_url":"https://api.github.com/users/evshiron/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T05:28:49Z","updated_at":"2015-06-09T05:28:49Z","body":"Sounds reasonable. Will take a look at it."}}