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

Bad shadow quality

Discussion in 'WebGL' started by Batigol, Apr 11, 2015.

  1. Batigol

    Batigol

    Joined:
    Oct 17, 2012
    Posts:
    234
  2. kenshin

    kenshin

    Joined:
    Apr 21, 2010
    Posts:
    936
  3. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    This is related to WebGL using the OpenGL ES 2.0 rendering backend - which has some hard-coded performance decisions which make sense for mobiles, but not so much for more performant desktop GPUs. WebGL 2.0 will fix this because it uses the GLES 3.0 rendering backend, but ultimately, we should change our shader code not to hard-code such decisions based on rendering APIs. This is something we want to do, but I have no idea when we will find time to do so.
     
  4. kenshin

    kenshin

    Joined:
    Apr 21, 2010
    Posts:
    936
  5. Prii

    Prii

    Joined:
    Apr 17, 2015
    Posts:
    20
    Im not sure how those settings affect the performance or loading times but I was able to eliminate jagged shadows. Don't ask me what setting solved this, I just played with random settings and this setup seems to work in every project.

    Check out the attachment.
     

    Attached Files:

    arumiat likes this.