Closed leakec closed 1 year ago
I think the solution here is just to run glslify
via the command line before compiling index.js
to main.js
. All this command does is replace the proper pragma
s, so we can run it on our custom SIHM_*
files with no issue.
This is very close to working. Just need a way to automate putting the #DEFINE
(s) in a different line other than the first.
Got this working as of 2f4ec620cc5421e884eed7791f751652f51fe5e4.
I'm having issues compiling shaders that use glslify code. I believe this is related to what is happening here. I think my best bet at this point is to convert the code before saving it in the
SIHM_*
file.