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

Strange problem after lightmapping,

Discussion in 'Editor & General Support' started by jessica1986, Nov 27, 2014.

  1. jessica1986

    jessica1986

    Joined:
    Feb 7, 2012
    Posts:
    621
    My scene is not clear, why it is showing these lines ?
    How can i get rid of these ?

    https://www.dropbox.com/s/3cr0a82sgvdnv9x/Screenshot 2014-11-24 02.11.58.png?dl=0

    in my other project this problem is not there with the same room, problem is when i am made it an asset and imported it in my project, The problem is only in this project [ABOVE IMAGE - IMPORTED THE ASSET IN IT], in other projects if i run the same thing, it works fine

    check here [ORIGINAL PROJECT]
    https://www.dropbox.com/s/7mhu5b5p48ia2wc/Screenshot 2014-11-26 10.18.04.png?dl=0

    This above project has Direct3D 11* selected,

    now if i do the same in my project, i get everything so so bright, for reference see below image -
    https://www.dropbox.com/s/u35alhsztd43xne/Screenshot 2014-11-26 10.23.47.png?dl=0


    What do i do ? if i dont select Direct3D 11* , extra brightness issue is resolved but lines are coming, how do i get rid of them ?
     
  2. Skorn

    Skorn

    Joined:
    Oct 31, 2014
    Posts:
    22
    Did you restart the project after enabling the "Use Direct3D 11" option? Or try troubleshooting by using a different "type" of light. Not sure how to fix this as I only do programming and not much within unity itself. Hope you get this fixed!
     
  3. jessica1986

    jessica1986

    Joined:
    Feb 7, 2012
    Posts:
    621
  4. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Did you try to increase scale for the objects with those lines in the lightmap?
    Most likely the lightmaps are compressed, so you may to try it out without compression.
     
  5. jessica1986

    jessica1986

    Joined:
    Feb 7, 2012
    Posts:
    621
    compression settings are same, but i have noticed 1 thing -

    after baking , in my project with problem , the size is 5.3 mb but in othr project when i bake same, size goes to 10.7 mb

    i think the problem lies here but why is it happening ?


    When i import same unity package in my project, it shows issues, but if i import it in my new or in any other project, it is fine... My head is aching

    A message is coming in inspection > a shader is using white color, which does nothing: Consider using mobile diffuse shader for performance but this option is not coming anywhere else
     
    Last edited: Nov 27, 2014
  6. OllyNicholson

    OllyNicholson

    Unity Technologies

    Joined:
    Jun 17, 2011
    Posts:
    142
    Hi - this does indeed look like texture compression banding artefacts in the lightmapping texture. This may be caused by the way direct-x 9 (what it uses when you uncheck 'use direct x 11') renders the blending between the lightmapping and the surface shader on your graphics card. In any case you are best off with with direct 11 and adjusting the lighting to match. You may want to try switching to linear colour space before you start balancing you scene. Try also looking at the resulting lightmapping texures and adjusting the settings - more info is available here:

    http://docs.unity3d.com/Manual/LightmappingInDepth.html

    Then if you are still having trouble you can submit a bug with the project and we can try and take a look.
     
  7. jessica1986

    jessica1986

    Joined:
    Feb 7, 2012
    Posts:
    621
    I am all confused > same unity package is strangely happening in my project

    > Direct x 11 is behaving differently in that same project

    what do i do man ?
     
  8. jessica1986

    jessica1986

    Joined:
    Feb 7, 2012
    Posts:
    621
    Nothing seems to work for me, can you have a look at it ?
    Where do i submit the project ?
     
    Last edited: Nov 28, 2014
  9. OllyNicholson

    OllyNicholson

    Unity Technologies

    Joined:
    Jun 17, 2011
    Posts:
    142
    The bug reporter is inside Unity > Help > Report a bug. We can't guarantee how quickly your issue will be looked at, but if you you have no traction within a week or so, you can drop the reference number here and somebody will try and take a look. So follow the instructions above first, refer to the docs and try to make some changes and then submit your project once you have some steps to reproduce the issue.