mayognaise / aframe-gif-shader

A shader to display GIF for A-Frame VR.
https://mayognaise.github.io/aframe-gif-shader/basic
MIT License
107 stars 44 forks source link

Floor power #11

Open NoBodyButMe opened 5 years ago

NoBodyButMe commented 5 years ago

I always get this error: "THREE.Math.floorPowerOfTwo"

mayognaise commented 5 years ago

@KrisMerckx Thank you for asking. Could you provide me the gif?

jrDev1 commented 4 years ago

Hello,

I get an error that says "[Warning] THREE.Math: .nearestPowerOfTwo() has been renamed to .floorPowerOfTwo(). (aframe.min.js, line 110)".

Also, one of my gifs doesn't seem to show if it's over 700x700. I have one that is 1080x1398 and works so what would be the reason my other doesn't work?

smarbos commented 4 years ago

I'm facing the same problem here. I cant display a GIF. Right now I only have a white box. I'm algo geting this error: aframe-gif-shader.min.js:1 Uncaught TypeError: THREE.Math.floorPowerOfTwo is not a function at NewShader.ready (aframe-gif-shader.min.js:1) at NewShader.setTexure (aframe-gif-shader.min.js:1) at aframe-gif-shader.min.js:1 at Array.forEach () at aframe-gif-shader.min.js:1 at Image. (aframe-gif-shader.min.js:1)

Versions: aframe: "0.5.0" aframe-gif-component: "0.2.0" aframe-gif-shader: "0.9.1"

alvinzjoe commented 11 months ago

Any update for this? I've facing same issue here