It seems common for people to put their shader code in the html or in string literals in the js. But does anyone recommend extensions or ways of working with separate shader files in VSCode? I have .frag and .vert files that I’m loading. This works, but VSCode shows errors when I use methods that are natively included by three.js/webGL but might otherwise require explicit declaration like oes_standard_derivatives.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Custom shaders and GLSL syntax highlighting | 0 | 1208 | June 17, 2022 | |
Is it possible to access the vertex/fragment shaders in formatted form? | 2 | 647 | February 3, 2019 | |
Three Shader Reader VS code Extension | 1 | 572 | August 29, 2023 | |
How can I have shader syntax highlighting in Three.js? | 5 | 3013 | October 8, 2022 | |
Using shaders in the Editor | 2 | 1391 | October 1, 2020 |