- Home /
Thin Line on top of GUI
When I run GUI.DrawTexture with a Rectangle on the GUI that extends past the boundary of the screen. It leaves the very last line of pixels on the top of the screen transparent. Does anyone know of a way to fix this?
Oh it should be noted that this error only shows up when running the game in the editor. If you build it the error goes away. So very low priority.
I believe this has to do with the pixel information in the Game View for drawing a texture across the whole screen. When you free aspect the Game View or in any other view and pull and expland the window to odd dimensions, there is always going to be that 1 or 2 pixel space because of dynamic screen information fed from the Game View.
Your answer
Follow this Question
Related Questions
full screen wide GUI.Box 3 Answers
Interface 3D 1 Answer
how to render line between gui element and mouse position 1 Answer
know GUILayout current screen position 2 Answers
Problem Trying To Get GUI.Label Centred 2 Answers