Skip to content
Discussion options

You must be logged in to vote

Hello! Its not too hard to add custom shaders. First make sure you have EJS_DEBUG_XX set 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:

  1. On line 591 in the emu-main.js file is a json object containing the shader data, just add your shader to this object.
  2. Then, on line 4369 in the emu-main.js file is another object containing the shader menu items, add your shader there and it should work

Let me know if you have trouble with anything or have any questions!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mirobartovic
Comment options

@ethanaobrien
Comment options

@rpeveri
Comment options

Answer selected by mirobartovic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants