Announcement

Collapse
No announcement yet.

Random node breaks lighting each time the level is loaded

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

    Random node breaks lighting each time the level is loaded

    Hi, I'm sorry if this has been asked before but I can't find anything about this problem.

    I have a simple blueprint that creates a row of instanced folders. They are slightly transformed and rotated through random values. When I build lighting the folders have their lighting correctly built. They are set to "static". - But when I close the level and reopen it, the randomness seems to be re-triggered so the folders loose their lighting data and are unlit.

    What is the best way to solve this? Can I freeze the Random Integer node? When does it actually update? Below are images of the blueprint (construction script) and the folder with lighting built. There is nothing in the Event Graph.

    Thanks in advance.

    Click image for larger version

Name:	folder-blueprint.PNG
Views:	16
Size:	105.9 KB
ID:	1588220Click image for larger version

Name:	folders.PNG
Views:	33
Size:	447.3 KB
ID:	1588221
    www.s-dot.de/viz
    ArchViz User Interface :: UE4 Marketplace.

    #2
    I figured it out myself. I had to use the "Random Float from Stream" and not the "Random Float".

    Click image for larger version

Name:	folders-solved.PNG
Views:	16
Size:	113.9 KB
ID:	1588945
    www.s-dot.de/viz
    ArchViz User Interface :: UE4 Marketplace.

    Comment

    Working...
    X