WebGPU Shader Toy - WIP 2
ฝัง
- เผยแพร่เมื่อ 12 ก.ย. 2024
- My WebGPU Shader Toy is progressing quite nicely!
* Load external shaders
* Drag and drop
* Show Inputs value live
* Show errors
* Store current window sizes (local storage)
Technologies used:
* emscripten (c++) for the compiler
* contrib.glfw3 for the GLFW implementation (multi / resizable windows)
* ImGui in one window
* Straight WebGPU / Fragment shader in another (using webgpu_cpp.h)
#wasm #webgpu #emscripten #glfw #imgui
Nice! I'm really excited to see where this goes! I've been looking for a tool like this. I see there's one already out there for compute shaders, specifically, but I don't think you can use fragment shaders with it.