DEV Community

Discussion on: Creating a custom shader in Three.js

Collapse
 
adambernath profile image
adambernath

Have you played with the webgl shader editor yet? this - victhorlopez.github.io/editor/
I'm trying to use the output code as a vertex/fragment shader, but I cant make it work, I don't really know what I'm doing wrong, but mixing the two together would create a really awesome shader editor for three js

Collapse
 
maniflames profile image
Maniflames

No I haven't but it looks cool! The code generated by the environment contains a lot of uniforms, it might be that some of them are defined with a different name in threejs' environment. There are a lot of things that could go wrong though, I've only glanced a bit over the code generated by the example.