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

Texture quality problem

Discussion in 'WebGL' started by manlaikin1994, Dec 16, 2015.

  1. manlaikin1994

    manlaikin1994

    Joined:
    May 15, 2015
    Posts:
    179
    when i output the webgl, the quality become this 螢幕快照 2015-12-17 上午4.11.13.png

    but its perfectly when i output as apk, pc, mac and webplayer
    螢幕快照 2015-12-17 上午4.12.57.png

    My Setting is :
    螢幕快照 2015-12-17 上午4.13.59.png

    What i am missing? please help me!
     
  2. alexsuvorov

    alexsuvorov

    Unity Technologies

    Joined:
    Nov 15, 2015
    Posts:
    327
    Hello manlaikin1994.
    I suppose your background texture is NPOT (non power of two)?
    Incorrect scaling of NPOT textures in WebGL will be fixed in 5.4 release. The issue affects textures with mipmaps, so as a temporary solution you can try to disable Generate Mip Maps in your background texture settings. This should resolve the problem.
     
    manlaikin1994 likes this.
  3. manlaikin1994

    manlaikin1994

    Joined:
    May 15, 2015
    Posts:
    179
    Thankyou very much, its solve my problem.