[shader] 分享

播放完后 突然闪了下 这时候应该是重置了

3.1版本不能,导入就报错

cy…

1赞

战略MARK

战略mark too

2.x -> 3.0 的材质需要升级。
https://docs.cocos.com/creator/3.1/manual/zh/material-system/effect-2.x-to-3.0.html

3.0 -> 3.1 的材质需要升级。
https://docs.cocos.com/creator/3.1/manual/zh/material-system/Material-upgrade-documentation-for-v3.0-to-v3.1.html

3.0 参考
https://gitee.com/yeshao2069/cocos-creator-shader/tree/v3.0.x/demo/Creator3.0.0_2D_Sprite_ButtonAmbilight

3.4参考
https://gitee.com/yeshao2069/cocos-creator-shader/tree/v3.4.x/demo/Creator3.4.1_2D_Sprite_ButtonAmbilight

3.5参考
https://gitee.com/yeshao2069/cocos-creator-shader/tree/v3.5.x/demo/2d/Creator3.5.0_2D_Sprite_ButtonAmbilight

2赞