Giter VIP home page Giter VIP logo

Comments (9)

minggo avatar minggo commented on May 24, 2024

在android 上使用非正方形(512x1024)astc纹理

只需要场景里有用到就会出现问题吗?如果能够直接给个重现的 demo 会更好些。

from cocos-engine.

Yuki001 avatar Yuki001 commented on May 24, 2024

DemoForBugProject_1.zip

这个demo工程,注意这个图片的filter mode 要设置成mipmap才行,压缩纹理只选astc
Snipaste_2024-03-28_17-35-51

打出来的apk 18m我就不传了。在一部分真机上崩溃,一部分真机上能进去但是一半在闪烁,在电脑模拟器上显示半黑(说明mipmap错了)

web
web

pc 模拟器
pc simulator

from cocos-engine.

Yuki001 avatar Yuki001 commented on May 24, 2024

DemoForBugProject_1-release.zip
apk 还是传上来吧。

from cocos-engine.

minggo avatar minggo commented on May 24, 2024

好的,谢谢。

from cocos-engine.

minggo avatar minggo commented on May 24, 2024

我使用三星的 galaxy 12 测试,显示是正常的。你用什么手机测试的?

from cocos-engine.

minggo avatar minggo commented on May 24, 2024

但是用你上传的 apk 就有问题。编辑器的配置我看了也一样。

from cocos-engine.

minggo avatar minggo commented on May 24, 2024

我用的引擎是 3.8.3 最新的版本(还未发布)测试的。你可以用 3.8.2 试一下。

from cocos-engine.

Yuki001 avatar Yuki001 commented on May 24, 2024

好的,我是3.7.3 的编辑器,我自己修复也是在3.7.3的引擎上的。如果你这边测试新的引擎没问题,那可能就已经在其他的地方顺带修复了这个问题。
这个issue如果没问题就可以先关了,不过就是麻烦多测试一下这个情况了。
另外也可以看看你那边打出来的apk是不是这个图片仅有astc。就确保这个astc的纹理被使用上。

from cocos-engine.

minggo avatar minggo commented on May 24, 2024

确认过是 astc 文件,我们多找几个设备试一下。

from cocos-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.