i use GUI.DrawTexture and Screen.width/height to fill the screen with a texture, but Screen.width gives me Screen.width - 1.
even when i write Screen.width + 1 in code i can’t get it to fill up the last vertical row of pixels.
i use GUI.DrawTexture and Screen.width/height to fill the screen with a texture, but Screen.width gives me Screen.width - 1.
even when i write Screen.width + 1 in code i can’t get it to fill up the last vertical row of pixels.
may be your texture aspect ration is different a little to screen aspect ratio and it fits vertically but not enough for 1 pixel to fit horizontally?
Check your texture´s import settings on the inspector:
i found out that this is an editor bug