Search Unity

Question Spot light leaks through door

Discussion in 'High Definition Render Pipeline' started by NewMagic-Studio, May 18, 2023.

  1. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    Hi,
    I am using a spot light in realtime and i have a door with a frame, i can see the light in the frame but shouldnt cause the light has shadows enabled and the door is set to cast shadows
     
  2. mgeorgedeveloper

    mgeorgedeveloper

    Joined:
    Jul 10, 2012
    Posts:
    324
    Please show some screenshots of your scene, the light settings and the door/frame mesh renderers, etc.
     
  3. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    upload_2023-5-18_13-37-32.png
    upload_2023-5-18_13-38-34.png
    upload_2023-5-18_13-39-8.png
    upload_2023-5-18_13-40-34.png
     
  4. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    Also the door meshrenderer
    upload_2023-5-18_13-53-55.png
     
  5. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    door is dynamic and frame is static
     
  6. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    The door frame is lightened in one side, but door doesnt block light leaking in the other side, i tried making door much wider but that is not the problem, light just leaks
    upload_2023-5-18_13-56-54.png