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