- Home /
Can't draw GUI.Label text on subpixel values
I'm trying to code a scrolling dialogue system using OnGUI/GUI.Label with text effects.
Functionally, it works perfect. However, using a sine wave to create a "wave" effect with the text causes the text to jitter up and down, instead of smoothly floating up and down as usual. Every coordinate variable I'm using is a float.
My problem is being caused by my text being drawn by GUI.Label being automatically snapped to pixel-perfect values, how would I go across fixing this issue? The Canvas's pixel-perfect snapping is already off, if that's related at all.
Comment