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. 

Shadows not matching up with corners?

Updated Question I've been using blender to create my meshes and export to fbx. When I import them I get a message saying "No smoothing group information was found in this FBX scene. Please make sure to enable the "Export Smoothing Groups" option in the FBX Exporter plug-in before exporting the file." Blender doesn't seem to make use of smoothing groups, and there is no level of control for them in the exporter.

The mesh appeared in the editor as though it was just fine so I kept using it to see what would happen. When I finally got my walls put together, I noticed the corners of objects that are supposed to meet the shadow don't. I even tested this with a new project. I put a bsp on the ground and I get decent shadows, but the corners still aren't matching up. alt text

Product Version: Not Selected
Tags:
more ▼

asked Apr 17 '15 at 11:28 PM in Rendering

avatar image

_cDub
109 13 14 17

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

1 answer: sort voted first

This doesn't look like a Smoothing Group issue, but rather that you need to increase your lightmap resolution. The default resolution is 32, and if this is a single mesh you will need a higher resolution. Try something around 128, 256, or 512. This should be enough, but you may also need to go up to 1024. Anything much higher than that and you would probably want to break the mesh up into smaller chunks to use the Lightmap UV space effectively with a lower resolution.

You can find some helpful tips and basic troubleshooting on our wiki guide: wiki.unrealengine.com/LightingTroubleshootingGuide

more ▼

answered Apr 18 '15 at 02:41 AM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

avatar image _cDub Apr 18 '15 at 12:07 PM

As far as the warping goes that fixed it, but the corner being cut off just seems to get sharper instead of going away.

avatar image _cDub Apr 18 '15 at 11:48 PM

The shadow is perfectly straight, but the corners of objects aren't lined up with the shadow. Also part of the penumbra is slightly ahead of the object. alt text

avatar image Tim Hobson ♦♦ STAFF Apr 20 '15 at 02:34 PM

Depending on the size of the floor mesh this is expected to some degree as you would need to increase the lightmap resolution of the floor mesh to accommodate its size. You can use the view mode for Lightmap Density to compare mesh lightmap sizes relative to other meshes in your scene.

You can further refine this some by opening the Project Settings > Rendering > Distance Field Penumbra Size (Not to be confused with the dynamic DF soft shadows) > adjust the penumbra to be smaller. Default is 0.05.

Static Lighting Penumbra comparison

Floor Mesh LM res of 1024

Penumbra size of 0.5 alt text

Penumbra zie of 0.01 alt text

penumbra_0.5.png (280.6 kB)
penumbra_0.01.png (189.3 kB)
(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