x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can different LODs have different lightmap layouts?

Hello,

I'm building LODs for a lot of models and sometimes it's incredibly hard to keep the original lightmap layout from LOD0. So instead of that I've begun to unwrap the lightmap UVs for the different LODs separately and then just running them through iPackThat - this way the lightmap layout of the different LODs are not the same but it is much faster for me to work this way.

My question is will this work with baked lighting or will the engine use the same baked lighting for example for LOD1 that was produced for LOD0 and create shading artifacts (because the lightmap layouts are different)?

I hope that makes sense and thank you for your time reading this!

Product Version: UE 4.13
Tags:
more ▼

asked Sep 23 '16 at 05:35 PM in Rendering

avatar image

ant1fact
8 2 4 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

It should work, as long as you specify the right UV index (channel) for each LOD in the mesh settings. Either way I would recommend you test it yourself with a very basic mesh and different LODs

more ▼

answered Sep 23 '16 at 06:52 PM

avatar image

Night Watcher
1.7k 44 12 71

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You can only have a single lightmap for your mesh. This is assigned in the Lightmap Coordinate index. The base LOD is used for the lightmap layout and then the Lightmap texture is applied to the lower LODs.

Typically this wouldn't post a problem unless you have a drastically different lower LOD mesh like going from a Sphere for the base to a cube for the lower lod, since the geometry wouldn't necessarily line up.

-Tim

more ▼

answered Sep 23 '16 at 07:13 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

avatar image ant1fact Sep 24 '16 at 03:20 AM

Thanks Tim for clearing it up

avatar image canarikal Dec 20 '17 at 10:45 AM

"Landscape Instanced meshes don't yet support unique static lighting for each LOD, lighting on LOD 1+ may be incorrect" Is this all about lightmap uv and how to fix? I'm stuck in this, please help

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question