How to change the color of a scene.background texture video?

Is it possible?
Looking for a color.setHex(0xFF00FF) type solution to change the tint of the background video

Would setting the .color or .emissive of the material that the video texture is a map of suffice? videoMaterial.color.setHex(0xFF00FF)

EDIT: I just noticed you’re referring to scene.background rather than a mesh material so the above is irrelevant

From scratch: https://codepen.io/prisoner849/full/XWwbQZG

Pretty much the same idea: Cube skymap texture archives/websites - #3 by prisoner849

3 Likes

Thanks!

So not that straightforward.

  1. Draw video to canvas
  2. Apply canvas to texture
  3. Create color mix shader on texture

Here is another approach with WebGLRenderTarget, so no need to get direct access to render lists: https://codepen.io/prisoner849/full/LYopEBE

3 Likes