Search Unity

WebGL on Microsoft Edge browser

Discussion in 'Web' started by liortal, May 7, 2015.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Art Scott and NTDC-DEV like this.
  2. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    I wonder if WebGL in Edge on Win 10 is actually using DirectX 12 to render!

    Look at the particle benchmark!
     
    Art Scott likes this.
  3. Art Scott

    Art Scott

    Joined:
    Aug 3, 2015
    Posts:
    1
    Thanks liortal and Arowx ... gr8 questions. I'd like to know too.
    Look forward to some clarity.
    (liortal your icon looks like a logic element ... my fav is the C-element.
     

    Attached Files:

  4. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    I've been working on a WebGL project and upgraded to Win 10, so far found that with my project Edge is not outperforming firefox.

    :rolleyes::D Just tried it again with asm.js turned on (about:flags in Microsoft Edge and select the “Enable asm.js”) and it's quite nippy!

    But music keeps playing after the game has closed and hardware cursor does not work.
     
    Last edited: Aug 3, 2015
    Art Scott likes this.
  5. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    DirectX 12 needs multi-threading in order to achieve the amazing performance improvements that are frequently presented. According to the roadmap, those changes might be introduced with Unity 5.3. Whether the multi-threading advantages can be used in WebGL at that time is another question, though it is not impossible.
     
    Art Scott likes this.
  6. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    It's more complex than that, a lot of the benefit of DirectX 12 is the reduced draw call overhead, materials and meshes data can be loaded onto the GPU and then a draw call just needs to update the changes e.g. scale/position/rotation of the rendered objects.

    And in theory draw calls via WebGL could be distributed across multiple threads within the browser.
     
    Art Scott likes this.
  7. DarkPixel

    DarkPixel

    Joined:
    Sep 13, 2013
    Posts:
    79
    Our game work fine in Edge (same as Firefox)
     
  8. IzzySofty

    IzzySofty

    Joined:
    Jul 4, 2016
    Posts:
    19
    Was an official reason, for the hardware cursor not showing in MS Edge, disclosed?

    I'm seeing that issue now in a WebGL demo i made here: http://goo.gl/XCKX8h

    It's a very simple UI, and works ok in Firefox and sometimes without the stuttering in Chrome (if I 1st load the same demo in MS Edge)

    Thanks.
     
  9. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    IzzySofty likes this.