Allow passing animated values to expo-gl as uniforms #1739
sergeymorkovkin
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Unfortunately, I'm not convinced it would be impactful for people. In our opinion, Lottie covers most of the cases that (GL + animations) would cover. However, I would like to hear your arguments why It's not true. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Also, what do you think about this thread? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Of course, this is not something directly related to reanimated, but rather a feature request. This would require cooperation from both expo and reanimated teams.
The thing is Reanimated 2 claims to support worklets which execute on a UI thread. Unfortunately, expo-gl is only available on the JS thread and therefore we can't move animation-related code to UI. To make a long story short, there are only a couple of things which are missing from using reanimated with GL context: requestAnimationFrame inside worklets and expo-gl availability on the UI Thread.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions