Search Unity

Webgl has some major issues with textures

Discussion in 'Web' started by Sir-Magic, Dec 17, 2016.

  1. Sir-Magic

    Sir-Magic

    Joined:
    Jul 20, 2015
    Posts:
    50
    Hi, recently I have been trying to export a game to the webgl when I noticed that things such as particles and the cursor were not rendering properly. The particles seem to be in strange shapes and the cursor was replaced with a black box.

    The first image shows the particles as they are in webgl (incorrect shape) and the seccond image shows the particles as they are supposed to be (and how they are in the exe).


    I have tried multiple things in project settings/graphic settings including adding the shaders to the "always load" but it doesn't seem to have any differenccce.

    Any/all help would be appreciated.
     

    Attached Files:

    • 1.png
      1.png
      File size:
      19.3 KB
      Views:
      1,097
    • 2.png
      2.png
      File size:
      81.1 KB
      Views:
      1,117
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Are you using non-power-of-2 textures?