Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

ProBuilder ProBuilder meshes show weird bright lines within meshes from outside light sources

Discussion in 'World Building' started by CortiWins, Jan 12, 2020.

  1. CortiWins

    CortiWins

    Joined:
    Sep 24, 2018
    Posts:
    87
    The title says it all and i got a screenshot attached. How do i fix this? It's the same with realtime and baked lights. Unity 2019, newest probuilder-package.


    upload_2020-1-12_14-10-24.png
     
  2. CortiWins

    CortiWins

    Joined:
    Sep 24, 2018
    Posts:
    87
    So it's been a few days. Am i the only one with this problem?
     
  3. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    767
    Hi! The problem is actually a lighting thing - any time you have a Directional Light shining against a backface (invisible side of a mesh), it will "leak" through at the edges. Try with an inverted cube from Blender/Max/etc, you'll find the same thing, unfortunately.

    The workaround is to use "light blockers" (meshes facing the light, with "shadows only" enabled), or adjust the light's Bias properties:

    upload_2020-2-3_10-59-31.png
     
  4. CortiWins

    CortiWins

    Joined:
    Sep 24, 2018
    Posts:
    87
    Ah, thank you! Thats good to know.
     
unityunity