Custom shaders #257
|
Hello Ethan, thank you for the great work. I have a question regarding shaders. I didn't find a way to add new one. Is is possible by a user? Or do I need to open an issue, list the shaders I would like to add (some lightweight ones) and hope you will find some time to add the shader? I'm a C# and JS developer so maybe I could contribute to the project and do this update myself but I don't know where the shaders are hidden in the code. I'm a bit afraid it's really obvious and I somehow missed it 😁. |
Replies: 1 comment 3 replies
|
Hello! Its not too hard to add custom shaders. First make sure you have To add new shaders from there:
Let me know if you have trouble with anything or have any questions! |
Hello! Its not too hard to add custom shaders. First make sure you have
EJS_DEBUG_XXset to true so the js knows to pull the non-minified file (I recommend re-minifying it when putting it into production).To add new shaders from there:
591in theemu-main.jsfile is a json object containing the shader data, just add your shader to this object.4369in theemu-main.jsfile is another object containing the shader menu items, add your shader there and it should workLet me know if you have trouble with anything or have any questions!