Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片渲染问题--边缘多出多余的黑色像素 #43

Open
dingmingxin opened this issue Apr 6, 2019 · 1 comment
Open

图片渲染问题--边缘多出多余的黑色像素 #43

dingmingxin opened this issue Apr 6, 2019 · 1 comment

Comments

@dingmingxin
Copy link
Contributor

image

同一张png图片,用cocos自带的创建sprite的接口渲染出来边缘就没有问题,
请问这是我在编辑器哪里设置的不对么,我就是把图片直接拖到编辑器里面使用,没有做其他的额外设置。

@dingmingxin
Copy link
Contributor Author

dingmingxin commented Apr 6, 2019

尝试修改图片属性里的选项:

  1. 允许平滑
  2. 使用原始数据

这两个试过了都不管用。

跟图片是否是圆形无关,测试过矩形的图片也是有边缘像素的

版本信息:
FairyGUI Editor 3.10.4(MacOS)
cocos2d-x-3.1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant