Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: golgoth77 on July 23, 2013, 03:27:43 AM
-
Hello,
The commented function BleedTexture in the UIAtlasMaker file was helpful to me.
As it have been removed in the latest version, have it been replaced with another feature ?
Thanks
-
It's a built-in function in Unity 4.2, enabled by default on all textures. It was never used in NGUI (it was always left commented out), which is why it was removed. What are you using it for?
-
I'm using it to avoid some artifacts in my UI when the user changes screen resolution on Windows.
All my sprites have a border at 0. I could change that but be would require job in Photoshop I would prefer to avoid.
To tell you more, the artifacts occurs in the button bar at the top left corner of my window.
- Panel
- Anchor [top-left, half pixel offset checked]
- Dummy named "Buttons"
- Button New at 0, 0
- Button Undo at 74, 0
- Button Pause at 148, 0
- ...
Do you have an idea please ? I'm currently using the previous bleeding code to get the job done properly.
-
Just upgrade to 4.2, it's a native function now. Select any texture, check "alpha is transparency", done.
-
Thanks !