An open API service indexing awesome lists of open source software.

https://github.com/archo5/shadereditorhtml5

a HTML5-based shader editor prototype
https://github.com/archo5/shadereditorhtml5

game-development graphics graphics-programming html5 prototype shader shader-editor webgl

Last synced: 11 months ago
JSON representation

a HTML5-based shader editor prototype

Awesome Lists containing this project

README

          

## Shader Editor prototype

[Online Demo](http://archo.work/ShaderEditorHTML5/shaderedit.html)

Special features:

- expression editing
- automatic layout

Regular features:

- realtime preview of any node
- PBR (metallic/roughness) shader
- texture, math and function nodes
- autocomplete resource selection
- calculator for entered values
- some sample textures are included

Some GIFs:

![Expression editing 1](http://archo.work/ShaderEditorHTML5/gifs/se_expredit.gif)
![Expression editing 2](http://archo.work/ShaderEditorHTML5/gifs/se_expredit2.gif)

![Pick resource](http://archo.work/ShaderEditorHTML5/gifs/se_pickres.gif)
![Calculator](http://archo.work/ShaderEditorHTML5/gifs/se_typecalc.gif)

Credits:

- main programming & UI design: [Arvīds Kokins](http://archo.work/)
- Editor:
- [UI framework: Wabi](https://github.com/tenjou/wabi)
- [Noise generator](https://github.com/josephg/noisejs)
- [Font Awesome](https://fontawesome.com/)
- Resources:
- [Cubemap: Venice Dawn 2 from HDRI Haven](https://hdrihaven.com/hdri/?c=urban&h=venice_dawn_2)
- Cubemap converter:
- [stb_image.h](https://github.com/nothings/stb)
- [tiny_jpeg.h](https://github.com/serge-rgb/TinyJPEG)