Closed michail-vestnik closed 2 years ago
Hi!
In src.js there are lines like this:
import fragment from './shaders/fragment.glsl'; import vertex from './shaders/vertex.glsl';
Please tell me which mime-type to pass to use GLSL as ES6 imports?
Дякую!
they should be imported as strings
Hi!
In src.js there are lines like this:
Please tell me which mime-type to pass to use GLSL as ES6 imports?
Дякую!