跟我一起学glsl编程02 - shader开发的其他一些工具

2,990 阅读1分钟

shader开发的其他一些工具

  • GlslViewer,
    • GlslViewer is a flexible console-base OpenGL Sandbox to display 2D/3D GLSL shaders without the need of an UI. You can definitely make your own UI or wrapper using the Python Module (include) or any other tool that communicates back/forth with glslViewer thought the standard POSIX console In/Out or OSC.
    • 详细的说明可以参考 p1-jj.byteimg.com/tos-cn-i-t2…
    • 安装步骤可以查看github.com/patriciogon…,我的系统是MAC OS
        brew update
        brew upgrade
        brew install glslviewer
    
    • brew的安装可以访问 brew.sh/,复制/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"到终端执行就可以按照了
    • 安装好了,在终端执行glslViewer test.frag,就会弹出一个可视化的窗口,当你修改代码的时候,窗口中的结果立即更改。
  • shaderfrog,访问网址 shaderfrog.com/ 它是一个在线编辑shader的网站,有很好用的glsl编辑器,同时你也可以搜索到各路高手编写的shader效果代码,你可以导出代码,推荐给大家!
  • glslCanvas,
    • GlslCanvas is JavaScript Library that helps you easily load GLSL Fragment and Vertex Shaders into an HTML canvas. I have used this in my Book of Shaders and glslEditor.
    • 你可以使用它,导入编写好的Vertex ShaderFragment Shader 并允许在你自己的网站中。