【文件属性】:
文件名称:threejs-glsl-loader:Webpack加载程序,允许加载threejs内联GLSL块
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-12 05:27:25
JavaScript
threejs-glsl-loader
一个Webpack加载程序,允许加载threejs内联的GLSL块。
ALPHA版本,已通过Threejs r92测试
Webpack配置
module: {
rules : [ {
test : / \. ( glsl | vert | frag ) $ / ,
loader : 'threejs-glsl-loader' ,
// Default values (can be omitted)
options : {
chunksPath : '../ShaderChunk' , // if chunk fails to load with provided path (relative), the loader will retry with this one before giving up
【文件预览】:
threejs-glsl-loader-master
----.eslintrc(3KB)
----index.js(3KB)
----package.json(623B)
----LICENSE(1KB)
----package-lock.json(2KB)
----.npmignore(171B)
----.gitignore(81B)
----README.md(1KB)
----.editorconfig(214B)