• Cam3D2D Square corners?
    5 replies, posted
Basically when making the Cam3D2D round it looks fine from the front side but from behind it's got ugly squares. How can I fix this? My only solution was to make two of these and flip one of them 180 degrees but it doesn't really solve the issue unless transparency is at 255. https://imgur.com/a/fFe5psy
Code?
You need to switch the rotation of the UV values so it can be viewed from that side compared to the other.
    camText = "5" local ang = self:GetAngles()     ang:RotateAroundAxis(self:GetAngles():Right(), 0)     ang:RotateAroundAxis(self:GetAngles():Forward(), 90)     local ang2 = self:GetAngles()     ang2:RotateAroundAxis(self:GetAngles():Right(), 0 - 180)     ang2:RotateAroundAxis(self:GetAngles():Forward(), 90)     cam.Start3D2D(self:GetPos(), ang , 0.1)     draw.SimpleText(camText, "DrugFont", textX,-600, Color(180,180,180),90,90)     cam.End3D2D()     cam.Start3D2D(self:GetPos(), ang2 , 0.1)     draw.RoundedBox(10, -200, -630, 400, 200, screenClr)     draw.SimpleText(camText, "DrugFont", textX,-600, Color(180,180,180),90,90)     cam.End3D2D()
If they are positive make them negativd. if they are negatice make them positive ( - to + and + to -)
ohh thanks for clarification
Sorry, you need to Log In to post a reply to this thread.