Search found 1 match

by jazztickets
Sat Mar 30, 2019 6:01 pm
Forum: Advanced Help
Topic: [GUI] Blurry text in OpenGL with high AntiAlias values.
Replies: 8
Views: 4504

Re: [GUI] Blurry text in OpenGL with high AntiAlias values.

Just so y'all know, setting glTranslatef(0.375, 0.375, 0) globally is very, very bad. Read up on the diamond exit rule: https://stackoverflow.com/a/10341863 When drawing NON-FILLED rectangles, that's when you apply a 0.5 (not 0.375) shift in the coordinates. When drawing FILLED quads, no shifting sh...