cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.25k stars 7.06k forks source link

ui::Scale9Spite使用pvrtc4纹理中间区域拉伸问题 #16564

Open nimabi8984 opened 8 years ago

nimabi8984 commented 8 years ago

Steps to Reproduce:

在创建ui::Scale9Spite时使用 pvrtc4的纹理时,虽然中间区域是纯色的,但是拉伸出来有竖条状图形。 qq20160912-1

zilongshanren commented 8 years ago

是你不是有用什么软件处理过这个纹理啊? scale9sprite 的渲染是不会导致竖形条纹的

nimabi8984 commented 8 years ago

使用TexturePacker 打的整图 @zilongshanren

nimabi8984 commented 8 years ago

我稍后用确认下具体 重现步骤然后提供下代码和图片。 @zilongshanren