hughes 2 days ago

What's the physical basis for this effect? Does it happen in reality or is it a style choice?

  • Dave_Rosenthal 2 days ago

    Simple answer: There is no physical basis, it's style

    Pedantic answer: Unless the light source has different colors on different sides

    Complex answer: Kind of. Even a linear color fade (from reality) can turn non-linear (and therefore induce color effects) when pushed through a color grading pipeline. So if you count e.g. film emulation as a "physical effect", then yes.

    • dylan604 a day ago

      > when pushed through a color grading pipeline. So if you count e.g. film emulation as a "physical effect", then yes.

      I've seen some footage from a particular Red camera body that introduced some very interesting effects. This particular camera had an issue with the Green channel. The camera was used in a commercial shoot for some fast food chain's shakes. The whip cream would turn magenta when the exposure was pushed because the green channel just wouldn't get there as fast as the red and blue channels. The secondaries had to go dig out extra green channel data plus other tricks to get the whip cream to end up white. After pushing other footage, the magenta tint could be seen else where as well.

      TL;DR it's not just film emulsion issues where weird edge case things like this happen.

      • dgently7 9 hours ago

        wasnt that magenta highlights thing a pretty well known deficiency of the reds for a long time? (unsure if they resolved it in recent ones)

        • dylan604 7 hours ago

          Not sure. I never had to work with Red footage to that extent. I just remember the colorist showing it to me. Maybe he knew about it and just pointed it out to me because it was such an extreme example. I wasn't a colorist, just someone that worked with a colorist. An assistant would even be glorifying it.

  • soraki_soladead 2 days ago

    The post links another that goes into the theory a little: https://shahriyarshahrabi.medium.com/in-the-valley-of-gods-s...

    Apparently a combination of Mie and Rayleigh scattering.

    - https://en.wikipedia.org/wiki/Mie_scattering

    - https://en.wikipedia.org/wiki/Rayleigh_scattering

    • skupig a day ago

      I think the effect the author is talking about is definitely caused by atmospheric scattering, but the painted effects are different. Those are more likely inspired by overexposure, aberration, HDR, etc. Makoto Shinkai specifically is a filmmaker and often emulates camera effects like lens flare.

  • AlotOfReading 2 days ago

    It happens in reality, though I've only noticed it with desert sunlight. It's caused by light cast into the penumbra from scattering and diffuse reflection. You can't see this in the lit area because your photoreceptors saturate, which looks white.

  • adamjs 2 days ago

    This seems more like a chromatic aberration "hack" for HDR landscapes (intensely-lit portions of the scene would have color fringing apparent at the boundaries of light/dark due to dispersion in the observer's lens).

    (And it's def a style choice, looks cool when done right! :))

    https://en.wikipedia.org/wiki/Chromatic_aberration

  • alnwlsn 2 days ago

    Not sure it happens with the sun, but if you have differently located light sources of different colors you can get shadows of different colors (because the shadow area is one source being blocked but it is still illuminated by the other sources)

  • tobr 2 days ago

    Came to ask this. I suppose if the edge of the sun glows in a different color than the rest, it would tint the edge of the shadow too? So maybe appropriate for sunsets, where the sky near the sun is red but the sun itself still glows bright white. Honestly just guessing.

kqp a day ago

This page helped me understand what they’re going for: https://patapom.com/blog/Lighting/Colored%20Penumbra/Colored....

The way I’m intuiting it: some things will “glow” when strongly illuminated, and the glow is more colored than the reflected light, so if the illumination has a hard edge then the penumbra can end up saturated by the more strongly illuminated part’s glow.

OP’s rendition isn’t quite landing for me, though, and I’m not enough of an artist to be sure why. Maybe it’s just that saturation is cranked way up for the demo, but it might also be that it shouldn’t occur on rock, or that color seems sometimes to not react to a change in which material is glowing.

NichoPaolucci a day ago

How refreshing it is to see an old school “find line X in file Y and insert this snippet of code” style tutorial.

That’s how I got my start, at least. Minecraft mods, specifically - figuring out how to tweak those little behind the scenes values.

sambaumann a day ago

Cool!

FYI the arrows on both photos only actually control the top photo.

realityloop a day ago

causes the external display I have plugged into my MBP (clamshell mode) to flicker quite badly