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. Dismiss Notice

Material artefacts in WebGL build

Discussion in 'WebGL' started by leeprobert, May 8, 2018.

  1. leeprobert

    leeprobert

    Joined:
    Feb 12, 2015
    Posts:
    40
    My project has built to WebGL 1.0 almost perfectly. The only issue I can see are these artefacts on the materials. Is this due to the realtime lighting? Do I need to bake it all in? Any tips and advice on optimising this for WebGL?
     

    Attached Files:

  2. leeprobert

    leeprobert

    Joined:
    Feb 12, 2015
    Posts:
    40
    This is an accidental duplicate, but I can't delete it for some reason. Apologies.
     
  3. lightmapper

    lightmapper

    Joined:
    Jan 14, 2015
    Posts:
    27
    leeprobert likes this.
  4. leeprobert

    leeprobert

    Joined:
    Feb 12, 2015
    Posts:
    40
    There has been an issue with the label mesh clashing with the main mesh when it was low-poly, so this makes sense. Thanks. I'll hopefully be able to solve it using the camera settings.
     
  5. leeprobert

    leeprobert

    Joined:
    Feb 12, 2015
    Posts:
    40
    It worked! Adjusting the Clipping planes totally fixed this issue in the WebGL build. Thank you!
     
    lightmapper likes this.