how to compile the shader?
chena1982 opened this issue · 1 comments
chena1982 commented
i want to modify some shader, but i don't known how to compile the shader.
it seems that you create shader from the compiled binary code.
can you tell me how to compile the shader?
thanks.
dariomanesku commented
Here: https://github.com/dariomanesku/cmftStudio/blob/master/src/common/appconfig.h#L63
To compile shaders (for OpenGL):
cd src/shaders
make TARGET=4
For that to succeed you need to have shaderc
in place. Shaderc comes with bgfx, compile it there (and put it manually in the necessary dir if necessary).