Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 541 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 541 Bytes

Webpack loader for OBJ

Loading OBJ files by using frenchtoast747's webgl-obj-loader. It's actually just a wrapper, it resolves new Mesh(source).

Install

npm install --save-dev webpack-obj-loader

Usage

{
    module: {
        loaders: [
            {
                test: /\.obj$/,
                loader: 'webpack-obj-loader'
            }
        ]
    }
}

and then

import myLovelyObject from './myLovelyShader.obj');