glsl.app
[1.4] Performance tweaks
⚡Modern WebGL GLSL着色器编辑器,这是一个功能强大的Web应用程序,旨在为想要创建令人惊叹的图形和效果的开发人员和发烧友。
⚡高级Intellisense和自动完成功能,您可以轻松编写复杂的着色器,这些功能可帮助您快速编写干净,高效的代码。它超越了基础知识,还使您可以在工作中包含其他着色器,以增加合并性,并具有用于调整值和颜色的用户友好界面。
⚡由摩纳哥编辑和Shaderfrog GLSL解析器提供动力
该工具仍在Beta中!如果您遇到任何错误,请随时打开问题。
欢迎贡献,尤其是UI翻译!
如果要添加新语言,请检查/src/locales/ folder,并使用en.yaml作为翻译的基础。它包含有用的评论以帮助上下文。
但是,如果您想提供大型东西,请确保从检查项目更新板开始
# clone a fork of glsl parser
git clone -b modern-package+maps --single-branch --depth 1 https://github.com/Lutymane/glsl-parser.git
# clone this repository
git clone https://github.com/zeokku/glsl.app.git
# enter parser folder and build it
cd glsl-parser
# install deps
pnpm i
# linux
./build.sh
# OR windows
./build.ps1
# enter app folder
cd ../glsl.app
# link parser package to our repo
pnpm link ../glsl-parser
# install app's dependencies
pnpm i
# generate GraphQL files with auto update
pnpm run gql-gen:watch
# run dev server (run the command in a separate terminal)
pnpm run dev