Cam3D2D Rendering Issues - Props behind is clipping through.
4 replies, posted
I'm having issues rendering my Entity, i've come to the conclusion that it's due to Cam3D2D, but i cannot find anything else.
If there is any kind of Entities behind it - that will clip through and look extremely wierd and completely ruin my addon, please help
https://imgur.com/a/8qoU92y
What hook are you using to draw the UI?
I have it in the draw function, it has worked with other projects - Is that an issue?
So is that plate part of your entity, or is that a random prop?
Because if that plate is the backboard for your menu or something, then I'd move the drawing functionality to ENT:DrawTranslucent
I have fixed the issue: The issue was i used Cam3D2D in the Ent:Draw() function directly, however when i put in a hook in the Ent draw function called "PostDrawTranslucentRenderables" and put the Cam3D2D code there it worked perfectly fine, thanks for reply.
Sorry, you need to Log In to post a reply to this thread.