Announcement

Collapse
No announcement yet.

Import FBX into Modeler, UV0 is used for lightmap.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • macrod
    replied
    That means, if you want to replace a Count 2 frond with a mesh frond, and utilize two-sided frond mesh for lighting, you need to repeat the diffuse texture 4 times.

    Leave a comment:


  • Dave Ohlman
    replied
    Hey,

    At this point there is no way to reassign the lightmap UVs. SpeedTree uses UV0 for the lightmap. If you have overlapping UVs in UV0, the lightmap will not work.

    I have logged your need for consideration.

    Regards

    Leave a comment:


  • macrod
    replied
    Leaf quads initially shared the same 0~1 UV, so before compilation, they use the same non-atlas leaf diffuse texture <-- we definitely need this, however, we won't want this UV used for lightmap.

    Leave a comment:


  • Dave Ohlman
    replied
    Hey there,

    Yes, you are correct. You cannot have overlapping UVs in UV0.

    Leave a comment:


  • macrod
    replied
    Hi, it's easy to see from the 1st post that, you either get the leaf quad UV (lightmap UV will overlap) only or the fully unwrapped lightmap UV only (diffuse UV will be a mess), from UV0, there's no way to have both.
    Last edited by macrod; 05-18-2015, 10:49 PM.

    Leave a comment:


  • Dave Ohlman
    replied
    Hey there,

    Do you have a specific question in regards to your conclusion?

    Regards

    Leave a comment:


  • macrod
    started a topic Import FBX into Modeler, UV0 is used for lightmap.

    Import FBX into Modeler, UV0 is used for lightmap.

    I have FBX files, each is a cluster of quads.

    FBX file 1:
    UV0/1: All quads are unwrapped.
    FBX file 2:
    UV0: All quads overlap.
    UV1: All quads are unwrapped.
    FBX file 3:
    UV0: All quads overlap.
    UV1/2: All quads are unwrapped.

    Import these FBX files into Modeler as mesh assets to make multiple clusters, assign each mesh as Leaf Geometry, see the Lightmap.
    Mesh 1:
    All quads are unwrapped.
    Mesh 2:
    All quads overlap.
    Mesh 3:
    All quads overlap.

    Conclusion:
    It uses UV0 as lightmap UV.
    Last edited by macrod; 05-18-2015, 03:14 AM.
Working...
X