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

WebGL Graphics looks bad in firefox browser

Discussion in 'WebGL' started by nsmith1024, Jan 1, 2017.

  1. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    Hello,

    I had this problem for a long while, i showed my WebGL app to a friend and he said the graphics looks terrible!! i felt so bad, but it looks good in the editor, but really crappy in the browser.

    I didnt change any settings, the quality cranked up to "fantastic" by default but it doesnt help, as you can see in the attached pics, the graphics looks blurry in the WebGl version, but looks decent in the editor.

    The problem is mainly the terrain, its very blurry!!

    I dont know what to do. I thought maybe i changed a setting somewhere by accident, so i created a new project and copied everything into that, but its still the same.

    Anybody have any ideas what could cause it? I have tried everything, i cant believe i cant even show simple grass on a unity terrain!!

    The images attached "sn-good.png" was taken from the editor, and the rest taken from a the browser running the WebGL app.
     

    Attached Files:

    Last edited: Jan 1, 2017
  2. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    UPDATE: I created a new unity project and imported the "environment" package provided by unity. Then i created a new scene, added a terrain and added the texture "grassHiillAbledo" grass provided by unity, then compiled it for WebGL. When run in the browser it still looks blurry. I changed no settings and used only the textures probided by unity with a default project, and the result is its still blurry (see attached image)
     

    Attached Files:

    • sn.PNG
      sn.PNG
      File size:
      1 MB
      Views:
      980
  3. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    UPDATE: The problem seems to happen only when i load the scene from the asset bundle

    When i include the scene directly into the WebGl build, it looks perfect in the browser, but when i load the scene bundle remotely from the server, the terrain looks like crap!

    Anybody knows what could cause that?

    Thanks!
     
  4. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    UPDATE: problem SOLVED, I found out that if i applied a new blank custom material to the terrain, the graphics in WebGL looks much better!
     
  5. Petter_G

    Petter_G

    Joined:
    Apr 19, 2016
    Posts:
    12
    Could you please still file a bug report about this issue? That's not how things are supposed to work.
     
    Marco-Trivellato likes this.
  6. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Yes, a bug report would be appreciated.
     
  7. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    How do i file a bug? can you please point me to the website?
     
  8. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654