How to avoid flickering when conditionally wrapping a Shader #2496
Unanswered
krisidmisso
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you @william-candillon for this great tutorial : https://www.youtube.com/watch?v=vKYEFpO06Tk&ab_channel=WilliamCandillon.
I got inspired by it and wanted to achieve a more advanced animation but I get a flickering whenever I try to show the transition between 2 images. I know this is because I conditionally show
<Fill>
and apparently<ImageShader>
needs a bit more time to show the image from the re-render.Is there any other way to achieve image transitions without this flickering(instant showing of a Fill background)? Maybe another way of wrapping
<Shader>
or preloading and then delaying a bit the and its childrens?Code:
Render:
Shader Source:
Uniforms:
Beta Was this translation helpful? Give feedback.
All reactions