Unity ... Draw an image on GUI?

Hello there,

This question will make me sound like a COMPLETE N00B, but here you go:

How do i draw a png file onto the screen?
I am basically making a splashscreen and i don’t like that when i put the texture on a cube (from a material) then my logo BLURS SO MUCH. I even checked the quality etc., the image looks very nice and HQ whereas if i load it into a material and drag it onto a cube, it’ll be extremely blurry. So what i want to know is how i draw an image onto the screen, just like when i “draw” a button.

If this was confusing, then I am sorry. My english is not very good.

Screenshots:
What I mean by blurry:

What the original image is:

GUI.DrawTexture will be fine.

The actual reason why your image became blur is mostly because you set it as a Texture not GUI in the inspector. If u set it as a texture, it will resize to pow of 2, and it may even use more compressed mipmap to show.

Make a script, and have a public Texture2D variable. Then, under OnGUI() use the function:

GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), variable_name);

to draw it onto the screen. Just change the “rect” inside of the DrawTexture function to have it where you want, and at what size!

You can use GUI.Draw Texture.

But for me both the images look same.