- Home /
Faking Texture Size
Is there a way to kinda fake the size of a texture so to speak. A 8x8 texture2D looks like this:
Is there a way to make say a 16x16 texture look exactly like that but just change the size so there would be no noticeable difference? Using Texture2D.Resize doesn't work because it resets all the pixels. So is this possible and how?
Thanks!
Answer by jahroy · Jan 17, 2012 at 01:23 AM
You can draw a texture at any size using GUI.DrawTexture().
Pay careful attention to the 3rd parameter, which sets the ScaleMode.
Note that if you're trying to make an image larger, it might get blurry.
Your answer
Follow this Question
Related Questions
Resizing GUI textures 0 Answers
Change Texture size but keep aspect ratio the same! 1 Answer
Guilayout problems with image resize 0 Answers
GUITexture aspect ratio resize 1 Answer
When resize ,texture is grey. 2 Answers