1
NGUI 3 Support / Problem: UI2DSprite with mip map enabled on OpenGL ES 2 (iOS)
« on: June 06, 2016, 04:52:34 PM »
Hi!
I have problem using UI2DSprite on iOS. Sprite has mip-maps enabled and I swap UI2DSprite.sprite2d in runtime with Sprite downloaded from asset bundle. The problem is that the sprite is half size and looks like texture is clamped. It exists only in OpenGL ES 2 with textures swaped in runtime. When using Metal API this problem doesn't exist.
Do you have any idea for fix or workaround?
I cannot disable mip-maps, because I need them.
I have problem using UI2DSprite on iOS. Sprite has mip-maps enabled and I swap UI2DSprite.sprite2d in runtime with Sprite downloaded from asset bundle. The problem is that the sprite is half size and looks like texture is clamped. It exists only in OpenGL ES 2 with textures swaped in runtime. When using Metal API this problem doesn't exist.
Do you have any idea for fix or workaround?
I cannot disable mip-maps, because I need them.