GLSL => Shader Node (converter)
Would be really incredible if someone is able to add functionality to create a shader node tree from a pasted snippet of GLSL code. HEre is an example of an open source parser (MIT license) that could be integrated for the parsing side to get an AST.
github.com/graphitemaster/glsl-parser (updated for C++ version)
Then, from that, loop over ast node tree and create a new material with corresponding shader node setup.
0 Comments