Open eggybot opened 2 years ago
THREE.Math.nearestPowerOfTwo is instead of THREE.MathUtils.nearestPowerOfTwo you can see(https://threejs.org/docs/?q=math#api/en/math/MathUtils)
I have made modifications to support aframe version 1.3.0 and above in the aframe-gif-shader. You can find the updated code at https://github.com/gloomcheng/aframe-gif-shader.
Got this error
Uncaught TypeError: THREE.Math.nearestPowerOfTwo is not a function
when I use the latest version of aframe.It works before on v1.2.0 but on the latest version 1.3.0 it has a compatibility. Any idea on how to fixed this issue?