TravisBarryDick / aframe-liquid-portal-shader

An A-Frame shader for creating a liquid portal effect
MIT License
14 stars 5 forks source link

Liquid Shader does not show in mobile VR mode #1

Open Seeingred0 opened 3 years ago

Seeingred0 commented 3 years ago

Really love this! Checked out the demo link on mobile VR, the shader example don't work.

Also tried to integrate into my project, attaching it to an image, same problem in VR mode.

TravisBarryDick commented 3 years ago

Thanks for the report. Are you able to provide some more information? I just tried the examples on my phone (Pixel 5) and an Oculus Quest 2, and both worked for me. What device are you using? Can you share some more information about your project?

Seeingred0 commented 3 years ago

I took a video from my Iphone 7+ running Safari 14 - https://imgur.com/a/waqKjbj

I also tried on brave browser on my phone. Same issue. Perhaps it's a device issue?

TravisBarryDick commented 3 years ago

Hmm, interesting. I read online that iOS devices sometimes have shaders that fail to work with medium precision in GLSL shaders. I've updated the repo to set the precision to high. Can you try again?

If there's still an error, can you see if there are any errors in the javascript console?