Casting Shadow without casting light

ScavengerScavenger Posts: 2,674
edited December 1969 in The Commons

I want to have basically a fake shadow in my scene...

I have the spotlight set up, and it sends the shadow where I want, but I'd prefer for the spotlight not to actually put light into the scene..

Is this possible?

Comments

  • KickAir 8PKickAir 8P Posts: 1,865
    edited December 1969

    Scavenger said:
    I want to have basically a fake shadow in my scene...

    I have the spotlight set up, and it sends the shadow where I want, but I'd prefer for the spotlight not to actually put light into the scene..

    Is this possible?


    Kinda-sorta possible, but tedious. Essentially, the material settings of each item in your scene determine how/if it reacts to light -- if you change every single material zone of every single one of them (which the exception of the thing you want the shadow on) to 0% Diffuse and 100% Ambient (with the Ambient color set to 255 255 255, or at least something reasonably light), I think that'll do what you want.
  • ScavengerScavenger Posts: 2,674
    edited December 1969

    Well, that wouldn't be how I'd want to go.

    I've played with shadow catchers before....will they grab light as well as shadow?

    (I was hoping to do everything in this picture in Daz..as a challenge..without compositing in PS, but if i has to, I has to).

  • Richard HaseltineRichard Haseltine Posts: 102,797
    edited December 1969

    If the light doesn't illuminate the non-shadowed areas how will you see the shadow? You could adjust the overall lighting, in DS or in post work, so that the total lighting was as before adding the spotlight but there'd still need to be a difference between the shadowed and unshadowed areas. Beth's method would let you do it in post, and adjust the opacity of the shadow layer, but it's still going to affect the lighting of the scene.

  • ScavengerScavenger Posts: 2,674
    edited December 1969

    In Photoshop terms, a shadow is a darker shape with some level of opacity placed over an image.

    I want that darker shape. I don't want the brightening made by the spotlight on the areas that aren't the darker shape. in those areas, I just want the light I'm already using.

  • Richard HaseltineRichard Haseltine Posts: 102,797
    edited December 1969

    Well, if you have the render with black shadow/white everything else, load it over the top of your real render, and ctrl-click the RGB channel to load it as a selection, invert the selection, then hide the layer, add a new adjustment layer (levels, say) which will take the selection as a mask you can selectively darken the shadow area.

  • millighostmillighost Posts: 261
    edited December 1969

    Scavenger said:
    I want to have basically a fake shadow in my scene...
    I have the spotlight set up, and it sends the shadow where I want, but I'd prefer for the spotlight not to actually put light into the scene..
    Is this possible?

    You can use the shader mixer to create a light that subtracts shadows instead of lighting non-shadows.
    shadow-cast.png
    800 x 389 - 72K
  • ScavengerScavenger Posts: 2,674
    edited December 1969

    Thanks SnowSultan & Millighost.
    right now, I've found a good illumination level that gives me the shadow I want without the light changing things, but I'll go thru both of yoru ideas to learn more.

  • FistyFisty Posts: 3,416
    edited December 1969

    Select the light casting the shadow you want, go to create another light of the same type and tell it to copy the selected light. Select the new light and turn off shadow casting, then turn off limits on the intensity and set it to negative the original value. Easy, simple, and works with the basic lights. I used to use it all the time before we had the ability to change the strength of shadows.

  • FistyFisty Posts: 3,416
    edited December 1969

    Also.. if you're using a more advanced light just set the intensity to 1% and turn off limits on the shadow strength and crank it up to 1000%

  • ScavengerScavenger Posts: 2,674
    edited December 1969

    Negative light...cool.

    If you stick that in a physics based render engine, does the world explode?

  • mjc1016mjc1016 Posts: 15,001
    edited December 1969

    Scavenger said:
    Negative light...cool.

    If you stick that in a physics based render engine, does the world explode?

    No, you just best make sure that everything is nailed down, first...because it would get sucked past the event horizon in a hurry.

  • ScavengerScavenger Posts: 2,674
    edited December 1969

    mjc1016 said:
    Scavenger said:
    Negative light...cool.

    If you stick that in a physics based render engine, does the world explode?

    No, you just best make sure that everything is nailed down, first...because it would get sucked past the event horizon in a hurry.

    I trust you have a script to ease this process. :D

  • ScavengerScavenger Posts: 2,674
    edited December 1969

    The negative light trick works like a charm.

Sign In or Register to comment.