Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Bug MSAA - Light leaking through edge of mesh

Discussion in 'Universal Render Pipeline' started by RGVexed, Jul 27, 2022.

  1. RGVexed

    RGVexed

    Joined:
    Jul 14, 2015
    Posts:
    8
    Hello,
    I'm experiencing some odd lighting artifacts when viewing an edge at a steep angle. The wall and the floor are part of the same mesh. the wall's thickness is atleast 0.5m. Attached is a gif of the issue.
    lighting.gif
    Here are my settings for shadows:
    upload_2022-7-27_14-48-53.png

    Any ideas what might be causing this? I've tried higher resolution lightmaps, lower/higher shadow distance etc.

    Thanks!

    Edit. See my reply. MSAA was culprit
     
    Last edited: Jul 27, 2022
  2. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    437
    Mip mapping ?

    if your in HDRP i would first suspect a problem related to affect secular a setting found on man dir light
    affect specular has been the plague of unity with destroying AAA work and impossible to work with when enabled for all things such as hair skin vegitation .. basically anything that uses diffusion profiles as they have no way to disable it locally.. multiple PR changes have been submitted now for the last 2 years and still never merged into the main branch
     
  3. RGVexed

    RGVexed

    Joined:
    Jul 14, 2015
    Posts:
    8
    Thanks for the reply. Using URP at the moment. Did discover what the issue was. MSAA. For whatever reason it doesnt play nice in this scene...

    urp (2).gif
     
    DEEnvironment likes this.