Cool challenge! I used a two-phase approach. Phase 1 was to do a realistic day-for-night conversion. Phase 2 was to stylize the realistic version by forcing it to a single color like Mad Max did. Here are my results:
Realistic:
Stylized:
Step 1: Contrast
In the DaVinci Resolve tutorial, Waqas simulated the lower light level of the moon by lowering the exposure. This doesn’t work great in Shotcut because image data is stored as 8-bit integers, not 16/32-bit floating point numbers. (I’m assuming that GPU Effects are off.) Lowering exposure as a first step will irreversibly crush out useful details in the shadows. This is why 8-bit filter chains generally save filters that darken the image for last when possible.
With that in mind, I’ve chosen to reduce contrast instead of lower exposure, which simultaneously darkens the highlights and raises the shadows. This also better mimics a nighttime environment where clouds, humidity, and haze diffuse the moonlight into the shadows and reduce perceivable contrast compared to sunlight. Raising the shadows with the Contrast filter also has a side benefit of the image data being more easily manipulated by the remaining filters without being so dangerously close to the zero-clip point.
How much contrast to reduce? A good start point is where the brightest part of the image is just under the 75% mark on the RGB parade (the 191 line on Shotcut’s scope). Allowing more contrast can create a golden hour look, while less contrast will create flat lighting similar to midnight.
Step 2: White Balance
When video footage is shot near noon time, the colors will be vibrant because of the full-spectrum light from the Sun. But the moon does not provide such a full spectrum of light. The moon “averages” around 4100K as opposed to the Sun’s 5600K. I say “average” because horizon angle and atmospheric conditions can change the perceived temperature. But generally speaking, adding a White Balance filter of 4100K puts us in a good place of simulating the temperature of light provided by the moon, which will eliminate colors that only full-spectrum sunlight would reveal.
Step 3: Color Grading
If the moon reflects warm light from the Sun, why do we associate blue with nighttime? That is the Purkinje shift in action. We can simulate this with the Color Grading filter. For my example, I pushed shadows to pure blue, midtones to cyan, and highlights a little towards orange to prevent skin tones from looking cold and lifeless. This color split also explains why turning the entire frame blue rarely looks realistic. The Purkinje shift only turns low-light areas blue (technically minus-red), whereas bright areas should remain closer to neutral or warmer color. Then I raised the midtone level and lowered the highlight level, which is a further reduction of contrast. However, this differs in function from the first Contrast filter. The first Contrast filter was to reduce overall light levels to proper nighttime brightness. The contrast I’m creating here with the tone sliders is strictly to manage perceived color differences. There is a separation of duties there.
Step 4: Hue/Lightness/Saturation
When light is low, human eyes don’t perceive saturation as well. Therefore, I’m knocking Saturation down to 85% here to make the footage look like it didn’t have the saturation advantage of full sunlight when it was captured.
There is usually no need to touch Hue or Lightness here. Lightness should be handled by previous contrast adjustments, although changing Lightness here can be a quick fix if on a deadline.
Step 5: Deband
These filters have really stretched 8-bit data past its limit. In my example, the solid-color areas like the sky and pavement have started to show banding. To counteract this, I added a Deband filter and raised the pixel range until the banding went away.
This is my stopping point for a realistic day-for-night conversion, with obvious tweaks as necessary when the footage changes. As a side note, this process is pretty similar to a retro-film filter chain except for the Color Grading values. Here is the same footage with the first Contrast filter at 57% and all of the Color Grading wheels pushed to the right:
Now back to getting a Mad Max stylized look…
There are several ways to force an image to a single color, but I’m doing the fast method here. I put a color clip on a track above my footage, which will be the color being forced. The final result is very sensitive to this color choice, and I used RGB(37,120,192) as a start point. Then I added an Opacity filter at 89%, then a Blend Mode filter in HSL Color mode. This allows me to replace colors in the underlying footage at a strength I specify using Opacity. (It is also possible to set Saturation on the footage to 0% to turn it black and white, then use an Overlay blend mode on the color clip to colorize the B&W footage.) I also relaxed the first Contrast filter to 55% and relaxed the Color Grading tone sliders to get more brightness in the clouds to match the Mad Max look. The result is the “Stylized” image at the start of this post. There is a lot of flexibility to edit to taste from here.
EDIT: It just dawned on me that a much faster way exists to find the perfect color when forcing an image to a single color. Create the color clip as before, but choose one of the three full-saturation colors: red, green, blue. As in, RGB(255,0,0) for red. Then add a Hue/Lightness/Saturation filter at the top of the stack. Experiment with the Hue and Saturation sliders until the perfect color is found.
If anyone wants to shoot their own day-for-night footage, here are some tips to keep in mind:
- Shoot close to noon unless there is a reason not to. At noon, there aren’t long crisp shadows being cast. Those are a dead giveaway that the scene was lit by the Sun, not the moon. However, some creepy swamp movies want long shadows to make tree branches look menacing, in which case capturing long shadows is desirable.
- If the option exists, diffuse any remaining shadows to simulate the moonlight being diffused by the nighttime humidity and haze.
- If using reflectors to bounce sunlight, consider gold reflectors instead of silver or white. When adding blue during color grading, bounced white light will turn blue, whereas gold light will turn white.
- Be very careful about showing the sky. The sky will usually be too bright compared to the ground. Also, the cloud types will likely be wrong compared to nighttime clouds due to temperature differences.