Correcting Color and Brightness of Video applied to Mesh
hey everyone,
i'm applying a texture from a video to a mesh. but the video seems to be way to dark. i already tweaked some material and color parameter of mesh but it did not help.
what can i do?
Is the video already too dark in the jit.pwindow connected to jit.gl.movie, or only on the mesh? Your patch already has that preview connected. Please compare the same frame in those two views without changing the mesh settings.
this one's a little tricky. a jit.gl.gridshape in matrixoutput mode actually send color planes as well (you can hook a jit.fpsgui in plane mode and see 12 planes are output). so the jit.gl.mesh is actually taking color values from those planes, which means you need to set the default color of the gridshape to 1 1 1 1 as well. alternatively you can chop those color planes with a [ jit.pack 1 @jump 8 ] after the gridshape.
also, make sure you set automatic 0 on the gridshape if you only need the matrices once, rather than continuously each frame.
Thanks! This solved it! I guess it’s a good practice to check on what the actual output of a jit object is.