Git Product home page Git Product logo

instantglsl's Introduction

InstantGLSL

一个快速编写,即时显示 GLSL 效果的项目。

通过该项目,在 Android 设备上进行 OpenGL ES 的 Shader 相关开发时,不需要每次编写完着色器脚本 GLSL 后运行应用看效果,而是即时显示着色器效果。

在 PC 上编写 GLSL 脚本,借助一些编辑器对 GLSL 语法的高亮、自动补全或错误提示,从此加快对 GLSL 的学习和开发。

使用

  1. 在 Android 设备上运行 InstantGLSL 应用。

  2. 在 PC 上通过 ADB 连接到设备。

  3. 在 PC 的编辑器上编写 GLSL 脚本。

  4. 运行 Python 程序 shaderwatch.py ,监听 GLSL 脚本的变化。

  5. GLSL 脚本编辑结束,点击保存,在 Android 看到显示效果。

待做

  • GLSL 编译失败提示
  • 支持在相机预览时改变 GLSL,即时响应
  • 支持 OpenGL ES 3.x 版本的 GLSL
  • 提供更多内置变量 attribute、uniform 之类

instantglsl's People

Contributors

glumes avatar

Watchers

James Cloos avatar  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.