GithubHelp home page GithubHelp logo

albertmunto / cocoscreatorshadereffectdemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhitaocai/cocoscreator-shader-effect-demo

0.0 0.0 0.0 18.01 MB

Cocos Creator 2.2.1 版本 Shader Effect Demo(边学边写)

License: MIT License

TypeScript 100.00%

cocoscreatorshadereffectdemo's Introduction

Cocos Creator Shader Effect Demo

一、项目说明

  1. 此项目为我在学习过程中的一些分享和实现,因此项目名字以 Demo 为后缀。
  2. 项目重点在于 「渔」,不在于 「鱼」
  3. 如果你有意将此Demo中的效果加入到你的项目中,请认真评估是否适合你的项目使用!

二、系列文章

那么现在,我们先来轻松地看下有哪些特效效果吧~

三、特效预览

扫光(实现原理同点光一样,可参考点光实现原理文章)(2020.01.13更新)

点光(实现原理)(2020.01.12更新)

内发光(实现原理

马赛克/像素化(实现原理

老照片(实现原理

灰度渐变(实现原理同老照片一样,可参考老照片实现原理文章

圆角裁剪

外发光(完善中...)

外描边(完善中...)

四、TODO

  • 图像模糊
  • 波浪
  • 雨滴
  • ...

五、支持一下作者吧

如果此项目对你学习和理解Shader有帮助,不妨支持一下我吧~

ps:支持扫码催更哦🤣🤣🤣👇👇👇👇

LICENSE

MIT License

Copyright (c) 2020 Zhitao Cai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

cocoscreatorshadereffectdemo's People

Contributors

zhitaocai avatar

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.