Search Unity

Surfaces from merged submeshes are affected by light differently.

Discussion in 'General Graphics' started by pwnmonkey, Jan 27, 2021.

  1. pwnmonkey

    pwnmonkey

    Joined:
    Nov 15, 2019
    Posts:
    1
    Hi Unity Forums,

    I have some level geometry which is comprised of various meshes merged together at runtime. Where some of these meshes meet you can tell that certain meshes are more "reflective" than others causing their seams to be very apparent.

    upload_2021-1-27_12-7-0.png

    Wireframe view:

    upload_2021-1-27_12-7-18.png

    This doesn't seem to be related to their normals either. This problem happens both with and without Recalculating normals (on both the meshes before and after merging). Using a world space normal shader shows that the surface is uniform as well.

    upload_2021-1-27_12-8-54.png

    The materials are the same on both meshes.

    Does anyone have any idea what could be causing this?
     
    Last edited: Jan 27, 2021