zadvorsky / three.bas

THREE.JS Buffer Animation System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this library still supported?

alexander-macleod opened this issue · comments

commented

Seems that it doesnt work anymore with newer versions of Three.js

commented

no worries. have a good one.

if it helps, it looks like r108 of three.js broke it:

"THREE.ShaderMaterial: .shading has been removed. Use the boolean .flatShading instead."
"THREE.ShaderMaterial: .shading has been removed. Use the boolean .flatShading instead."
"THREE.WebGLProgram: shader error: " 0 "35715" false "gl.getProgramInfoLog" "Fragment shader is not compiled.
" "" "THREE.WebGLShader: gl.getShaderInfoLog() fragment
ERROR: 0:271: 'vUv' : undeclared identifier
ERROR: 0:271: 'texture2D' : no matching overloaded function found

when trying to update:

https://codepen.io/zadvorsky/pen/PNXbGo

commented

change the include source between r107 and r108 on the pen settings for three.js

Wanted to follow-up on above^. Library looks awesome would love to use it

I'm working on resolving these issues, should have an updated version later today.

I've updated the repo and published a version 3.0.0, which should work with THREE r141. There was a breaking change in a fairly recent version of three that renamed THREE.Math to THREE.MathUtils, which broke a lot of the examples and some of the utils used inside the package.