VideoTexture on MeshStandardMaterial - is it possible?

Hello,

I’ve baked from Blender the ambient occlusion of an animated mesh into a sequence of images, and now I’d like to use them for the ambient occlusion map of a MeshStandardMaterial.

I don’t think the loading them one by one and swapping each frame would be a great idea, so I gave a look to VideoTexture, but it seem to me that it work only with MeshBasicMaterial (and all the example that I’ve found use this one). I’ve tried to apply the video as color map of a MeshStandardMaterial but it doesn’t show.

Should it work with MeshStandardMaterial too? Or, is there maybe a better approach?

Many thanks!


EDIT

Sorry… it work! In the documentation they forgot to mention that you must use “video.play()” method! :face_with_raised_eyebrow:

1 Like