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. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

Terrain: Tree Creator Billboard Artifacts

Discussion in 'Unity 5 Pre-order Beta' started by Zylex, Feb 9, 2015.

  1. Zylex

    Zylex

    Joined:
    Nov 25, 2008
    Posts:
    238
    So we have all of our trees created in the tree creator but it seems now that the terrain billboard gives issues. As you can see below the right 'tree' is using tree creator standard shaders such as the Tree Creator Bark and then finally the optmized shader. This gives a washed out effect and also some strange blue highlights on the left side. The left tree is from the terrain assets pack which uses the Soft occlusion shaders. This does seem to work like intended.



    Is this a bug in Unity or are we doing something wrong? I would expect that the optimised shader would work out of the box on terrain billboards. (Unity 5 RC 1)
     
    Last edited: Feb 9, 2015
  2. netvortex_dc

    netvortex_dc

    Joined:
    Jan 13, 2014
    Posts:
    126
    Same issue here...
     
  3. Zylex

    Zylex

    Joined:
    Nov 25, 2008
    Posts:
    238
    Anyone else having this issue? I would like some more backing before I submit a bug report.
     
  4. zeroyao

    zeroyao

    Unity Technologies

    Joined:
    Mar 28, 2013
    Posts:
    169
    Feel free to do so :)
     
  5. Zylex

    Zylex

    Joined:
    Nov 25, 2008
    Posts:
    238
    I had another look at the issue while creating a repro scene and it seems we had a shader in our project from a Unity package which seemd to overwrite the standard shader. This seemed to work well before but gave issues in U5. So not a bug in Unity it seems, sorry for the potential false alarm.

    I did however still have a difference between billboard and actual model:



    The billboard always seems more washed out(grayish) than the original. is there something we can do about this? Also how we would we go about if the actual model tree is in a shadow and thus darker but the billboard doesnt have that information. For example:

     
    Last edited: Feb 11, 2015
  6. zeroyao

    zeroyao

    Unity Technologies

    Joined:
    Mar 28, 2013
    Posts:
    169
    Previously we had issues about billboards appear to be different to mesh trees in linear color space. Are you in linear? Also we changed the lighting function recently and it may be possible that the lighting in imposter rendering is left over. It will be very helpful if you can provide us your scene.

    For the shadow I guess it's possible to add self-shadows when rendering imposter images, and after that when rendering billboards receive the shadow from the scene. This could work for most of the outdoor scenes that only one sun light casts shadow. It's worth exploring later as it may also apply to SpeedTree too if we switch to imposter technique.
     
  7. netvortex_dc

    netvortex_dc

    Joined:
    Jan 13, 2014
    Posts:
    126
    Zylex, are you using any ManufacturaK4 packages ? I got the same issue here, could you find out which asset contains the shader ?