Changing the entities order will do what you want, but you will need to make sure to position it as the last thing you do before render or at least the last object before render. In this way Terrain and other objects should work as normal and this object will appear on top of everything else. If you want it to appear after somethings and before others you will have to handle the way all objects up to it are rendered manually ( that is set entity order and then postition them all before render in the order you want them rendered. )
At least this is how I would do it. Now, one important point, Im not 100% sure how the entities rendering works, It seems to work as above, but then that may not be any gaurantee, if it works in the order they are created, then the above probably wont do what you want reliably.
|