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

Problem with transparent gif #14

Open jamess922 opened 5 years ago

jamess922 commented 5 years ago

Hi : When i try to use a transparent gif ,there is a problem that the frames all overlap like the image shows,could you help me? 360截图18720120715892

YugiyO commented 3 years ago

This issue still exist. Any update on this.

pyxtess commented 2 years ago

Like what @YugiyO said the issue still exists. I've tried different versions of A-Frame (0.8.0 to 1.2.0)* to no success. Any updates on a fix or workaround?

*Except 0.9.0, which broke the code and resulting in a white screen

meanderingleaf commented 1 year ago

See: https://github.com/mayognaise/aframe-gif-shader/pull/15

For some reason, the version I downloaded/linked doesn't have this fix. I'm being lazy and adding it in to the js I downloaded (add the this.__clearCanvas() as the first line in the nextFrame function(

kerren commented 5 months ago

Thanks @meanderingleaf this helped me a lot!