Giter VIP home page Giter VIP logo

Comments (1)

zhitaocai avatar zhitaocai commented on July 22, 2024 1

圆角V2在cocos creator 2.3.3版本中在web浏览器上无效,编辑器中可以看到效果

任何在编辑器表现正常,在浏览器表现不正常的问题,请参考以下解决方案

解决方案

  1. 使用我的demo在2.3.3去跑一下,而不是你的demo,检查我的demo是否运行正确
  2. 如果我的demo正确,那么大概率是你使用时忽略一些点,比如:
    • 使用「特效」的纹理,被动态合图了
      • 一些解决方案(选其中一个合适自己的):
        • 关闭动态合图。如在 onLoad 中调用: cc.dynamicAtlasManager.enabled = false;
        • 使用特效的纹理,不要打包进动态合图中,在编辑器选中你的纹理,不要勾选 Packable

image

from cocoscreator-shader-effect-demo.

Related Issues (5)

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.