Sorting and culling done in lua, no more per pixel depth testing. :(