glsl-loader
Webpack GLSL loader allows you to import glsl files as raw text for WebGL
Example
This would import the raw text from "dots/vs.glsl" as a variable called "vs".
import vs from './dots/vs.glsl';
Webpack GLSL loader allows you to import glsl files as raw text for WebGL
This would import the raw text from "dots/vs.glsl" as a variable called "vs".
import vs from './dots/vs.glsl';
npm i @bartkus/glsl-loader
0
1.0.2
BSD-3-Clause
2.55 kB
5