Hello guys
I wanna be able to create a Game Object - GUI Texture. But i want to use as a texture part of an image - not the hole image. set the uv for up left corner, up right corner, down left corner, down right corner.
How can i make this happen?
Thanks!
I don’t think you can do that with GUI stuff. Depending on what you’re doing, you could make a simple 2D plane in your 3D app and UV map it the way you want, and use the plane as a fake “GUITexture”.
–Eric
GetPixel(s) And SetPixel(s)? Texture1 is the base image. Define a rect for the area of Texture1 you want to read and use GetPixels(rect) (This isn’t the actual syntax used). Load that into Texture2, the texture you want to display.
Hey, good solution. That would work, though you wouldn’t be able to use compressed textures.
–Eric