frenchtoast747 / webgl-obj-loader

A simple OBJ model loader to help facilitate the learning of WebGL.
http://frenchtoast747.github.io/webgl-obj-loader/
MIT License
281 stars 59 forks source link

Layout.SPECULAR_EXPONENT Attribute size #72

Closed Andersgee closed 4 years ago

Andersgee commented 4 years ago

in webgl-obj-loader.js I had to change the line Layout.DISSOLVE = new Attribute("dissolve", 3, TYPES.FLOAT); to Layout.DISSOLVE = new Attribute("dissolve", 1, TYPES.FLOAT); for my materials to parse correctly