Switching textures
#2254
-
I'm attempting to switch textures while a video is loading to show a preview image, then show the video when it loads. I tried a couple of approaches, basically only applying the video texture when it's loaded or swapping the texture map
First approach gives me this error: Uncaught TypeError: Cannot use 'in' operator to search for 'requestVideoFrameCallback' in undefined at new VideoTexture The second approach results in the texture disappearing. Can you let me know the best way to swap a texture out? |
Beta Was this translation helpful? Give feedback.
Answered by
bknill
May 5, 2022
Replies: 1 comment
-
Got it working with
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bknill
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got it working with