Comments (1)
圆角V2在cocos creator 2.3.3版本中在web浏览器上无效,编辑器中可以看到效果
任何在编辑器表现正常,在浏览器表现不正常的问题,请参考以下解决方案
解决方案
- 使用我的demo在2.3.3去跑一下,而不是你的demo,检查我的demo是否运行正确
- 如果我的demo正确,那么大概率是你使用时忽略一些点,比如:
- 使用「特效」的纹理,被动态合图了
- 一些解决方案(选其中一个合适自己的):
- 关闭动态合图。如在
onLoad
中调用:cc.dynamicAtlasManager.enabled = false;
- 使用特效的纹理,不要打包进动态合图中,在编辑器选中你的纹理,不要勾选 Packable
- 关闭动态合图。如在
- 一些解决方案(选其中一个合适自己的):
- 使用「特效」的纹理,被动态合图了
from cocoscreator-shader-effect-demo.
Related Issues (5)
- 内外发光支持
- 内发光在模拟器不见了 HOT 5
- 圆角在编辑器内预览是可以的,到浏览器中整个sprite就不显示了 HOT 1
- 圆角裁剪-v2,在2.4.4版本下抗锯齿失效 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocoscreator-shader-effect-demo.