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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Lightmap resolution: Dark artifacts on Static Meshes

Hello world,

Could someone help me understand or suggest an approach to fix the following.

When i open a level (initial load) or rebuild the lighting, the static meshes (SM) have some sort of shadow artifacts. alt text

However, if i move closer, they disappear and will not return unless i open the level once again or rebuild light. alt text

Setup:

  • 4 static directional light & 1 stationary skylight in persistent level

  • Sub-Level containing all the Modular SM is streamed via blueprint on begin play

  • SM have single LOD.

  • Lightmap resolution (under SM settings) varies from 32 to 256 depending on the SM.

  • Min Lightmap resolution (under LOD 0 - build settings) is 64

Product Version: UE 4.14
Tags:
more ▼

asked Jun 09 '17 at 04:59 PM in Rendering

avatar image

hellwitu
85 8 10 14

avatar image hellwitu Jun 17 '17 at 04:17 PM

Bump: Could still use some help. Haven't been able to crack this one yet.

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

2 answers: sort voted first

Project settings -> Rendering -> disable texture streaming. \\^(0_o)^// Note: it does come at a cost by loading all used textures at max configured res. I was able to reduce the asset's lightmap & texture res though,. Thereby reducing the texture memory usage.

more ▼

answered Jun 17 '17 at 08:09 PM

avatar image

hellwitu
85 8 10 14

avatar image Ninjin Jun 17 '17 at 08:39 PM

If it's really because of texture streaming, you should be able to find the culprit by enabling it again and disable MipMaps in the textures you think might affect the shadows. Just to make sure you tested everything <3

avatar image hellwitu Jun 22 '17 at 04:36 PM

Will revisit to optimize them later after reading further into tex streaming. Will check performance gain with texture streaming when i resume mobile testing.

avatar image hellwitu May 18 '18 at 03:01 PM

Greetings World,

Thought its only fitting to end this post with a demo of the game.

Gameplay Demo: https://youtu.be/3t2sm5VZjv0


On another note, this forum obviously has a lot of skilled pros and enthusiasts around.

It would be wonderful if you could share your thoughts/feedback for me to work on.

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

Hello hellwitu

I can see the artefacts clearly. I think that is a lightmap issue. Did you ever get "lightmap" error after building lights?

You can also check this document about preparing UV's for lighting.

https://docs.unrealengine.com/latest/INT/Engine/Content/Types/StaticMeshes/LightmapUnwrapping/

more ▼

answered Jun 10 '17 at 12:15 PM

avatar image

KemalGunel89
121 2 5 15

avatar image hellwitu Jun 10 '17 at 03:24 PM

Hi Kemal,

No errors with build.

All the assets showing the artifacts were originally BSP assets which were later converted to SM. https://wiki.unrealengine.com/LightingTroubleshootingGuide#Invalid_Lightmap_Settings_When_Converting_BSP_to_Static_Mesh

The artifacts appear only when the level is loaded / rebuilt. When the assets are viewed closer through the viewport they disappear and do not appear again irrespective of the the distance they are viewed from. It would seem that a lower res is initially loaded and the higher res is streamed on demand.

Im currently looking into texture streaming to investigate if it has anything to do with it. https://docs.unrealengine.com/latest/INT/Engine/Content/Types/Textures/Streaming/Overview/index.html

avatar image KemalGunel89 Jun 10 '17 at 04:05 PM

I was thingking the same thing. Goodluck with it.

(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