Search Unity

Speedtree Lightmap UVs

Discussion in 'Formats & External Tools' started by edredar, Aug 3, 2017.

  1. edredar

    edredar

    Joined:
    Jul 26, 2012
    Posts:
    58
    Hi. I'm trying to bake lighting for Speedtree trees, but so far have no luck. The main reason - I cannot get UVs correctly to Unity. In SpeedTree Modeler UVs look like this:

    Then, I just hit Save in SpeedTree Modeler, copy the entire folder to Unity and drag tree into the scene. After this, I mark tree as static and wait for bake to complete. Here are my lighting settings and a horrible result:






    I pulled LOD0 out of prefab just for testing purposes, when the prefab is intact the results are the same. As you can see, UVs are messed horribly. What do I miss?
     
  2. chadmax

    chadmax

    Joined:
    Aug 13, 2015
    Posts:
    1
    I get the same thing. Please help?
     
  3. Tudor

    Tudor

    Joined:
    Sep 27, 2012
    Posts:
    150
    I have the same problem. I have .st assets and they have S*** lightmpap uvs (or none). And when you click on a speedtree like you do on an fbx, to try and click the Generate Lightmap UVs, the option is not there.

    Did anyone at Unity or Speedtree even test their own workflow? gOsh..!

    BTW I tried both Enlighten, and Bakery (which is a light baking asset that actually works), so the issue is not in the light baking settings.
     
    DSivtsov likes this.