glslEditor
glslEditor copied to clipboard
How to use multiple shader source files
If my fragment shader is implemented in shader1.frag
, shader2.frag
, ... , How can I use them in one shader? I had this problem because several shader programs in one page may share some same code so I can reuse it.