I use the following syntax for my shader development in javascript in order to get syntax highlighting:
const shader = /* glsl */`
uniform vec3 color;
void main() {
gl_FragColor = vec4( color, 1.0 );
}
`;
Is it this plugin to lint code within these kinds of tagged templates? Thanks!
I use the following syntax for my shader development in javascript in order to get syntax highlighting:
Is it this plugin to lint code within these kinds of tagged templates? Thanks!