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"

Problem with Instanced Static Mesh lighting in 4.6 preview

Instanced Static Meshes are not lighted correctly when Directional Light is switched to "Static" and Lightmaps are rebuild.

Result seem to be a bit random but can be reproduced in map attached bellow. Also please find a screenshot bellow. There are 3 cubes in an editor view. 2 of them are being normal StaticMeshActors and one cube is a part of Foliage. You should see that instanced cube is bluish instead of grayish in "Detailed Lighting" view mode.

Map attached contains cube used in Foliage with simple custom material. It seem that changing material color (from red to green) will affect the light computed by Lightmass.

link textalt text

Product Version: Not Selected
Tags:
repro2.png (1.4 MB)
maps.zip (1.1 MB)
more ▼

asked Nov 26 '14 at 04:22 PM in Rendering

avatar image

Esidar
68 5 10 16

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

1 answer: sort voted first

Thanks Esidar, your repro was very helpful!

The engine needs to rescale all of the lighting coefficient data for all instances so they're in a consistent range, but it seems like we apply the scale to the instances but do not save overall scale range for use when rendering.

I'm going to try to get this fix into 4.6, although it may be too late as we have a release candidate.

more ▼

answered Nov 27 '14 at 04:31 AM

avatar image

JackP_oldaccount
1.3k 37 11 48

avatar image JackP_oldaccount Nov 27 '14 at 10:37 AM

BTW if you're using source code, the fix is here.

avatar image Esidar Nov 27 '14 at 12:45 PM

Got it! Thanks for the 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