I've broken light: Spotlight not working with ray traced shadows

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

In my scene, I have a single spotlight.

I had it set to Shadow Map while I positioned it and did tests, planning to change to ray traced when I was ready for real renders.

When I swithch it to Ray traced...the spotlight doesn't work...doesn't make shadows..doesn't make light.

If it's in shadow map, there's light and shadows. If it's set to no shadows, there's light.

In the screenshot below, the spotlight is set to 2000%. This is just for demonstration purposes.

I shut the program and restarted, but that didn't fix it.

I have NOT tried just replacing the light. I'd rather know what's happening than just get around it.

Any suggestions?

Screenshot-2015-03-13-00.36_.01_.jpg
525 x 210 - 56K

Comments

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

    Where is the light, in relation to items in the scene? I don't know, but ti would seem possible that if it's very close to a wall it might be blocked by ray-tracing but that the combination of bias and the granularity of the mapped shadows might let the light skip past the wall.

  • mjc1016mjc1016 Posts: 15,001
    edited December 1969

    Next question...is it the DzSpotLight, by any chance?

  • ScavengerScavenger Posts: 2,674
    edited December 1969

    It's the standard, comes with the program, spotlight.

    ----

    Richard had it nailed.

    I have a Node Instance of a wall between the spotlight and the ...everything else.
    "Cast Shadows" is set to off and the other modes of the light ignore it and pass through, but ray traced doesn't.

    turning the node to vis off, and it works like it should!

    Screenshot_2015-03-13_10.59_.20_.png
    162 x 187 - 29K
  • mjc1016mjc1016 Posts: 15,001
    edited December 1969

    Scavenger said:
    It's the standard, comes with the program, spotlight.

    ----

    Richard had it nailed.

    I have a Node Instance of a wall between the spotlight and the ...everything else.
    "Cast Shadows" is set to off and the other modes of the light ignore it and pass through, but ray traced doesn't.

    turning the node to vis off, and it works like it should!

    The DzSpotLight is also included, it's in the Shader Presets, under Shader Builder. The reason I asked is that the way they come, out of the box, shadows are broken.

    A quick tip...the 'box' part of the spotlight needs to be through the wall, not just the 'flaps'.

Sign In or Register to comment.