I do not know how to make Threejs add the VERTEX preprocessor definition for ONLY the vertex shader, so I must separate the shader sources into files like:
shader.glsl.vert
shader.glsl.frag
When I separate my shader sources, I do not know how to preview their result with this vscode extension.
How can I use separate shader sources?
I see the shader examples use a single source file and look like this:
I do not know how to make Threejs add the VERTEX preprocessor definition for ONLY the vertex shader, so I must separate the shader sources into files like:
When I separate my shader sources, I do not know how to preview their result with this vscode extension.