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. 

How to cast sharp shadows of skeletal meshes JUST using skylight with SLS cubemap specified set to HDR texturecube?

Hi,

I just want to my skeletal meshes to cast shadows in-line with direction of shadows present in HDR cubemap. I know it's straight forward with using DirectionalLight, but I don't want use DirectionalLight for some obvious reasons. Only light I've is Skylight with Source type set to SLS Specified Cubemap. When I was searching I found this blog link (http://timhobsonue4.snappages.com/lighting-capsule-shadows) in the forum that explains about indirect capsule shadows. Somewhat it looks reasonable but these shadows are not clear/sharp enough to produce the effect I wanted.

This is what i currently arrived at using the solution provided in the link: alt text

Further I want shadows of these skeletal meshes just as the shadow of barrel-like object in the above image. I think there must be a work-around to

  1. align these capsule shadows with shadows in the image and

  2. make them more clear and directional as much as possible

I also tweaked some lightmass settings as suggested in other forum answers but that didn't help me. :(

Here are lightmass settings: alt text

Skeletal mesh Lighting details: alt text

And Skylight details: alt text

Please note performance is not my top priority.

Please suggest me, if i'm missing something obvious.

Thank you :)

Product Version: UE 4.19
Tags:
more ▼

asked Sep 19 '18 at 11:46 AM in C++ Programming

avatar image

Vinayaka_P
11 1 5

avatar image Vinayaka_P Dec 20 '18 at 09:30 AM

Still I couldn't find any way to solve this. Any clues/suggestions are welcome!!!

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

1 answer: sort voted first

I don't know much about lighting, but I would try the following:

  1. Turn off capsule shadows.

  2. Set the Lightmap Resolution of the floor to a much higher number.

See if either of those or both together improves your shadow shapes.

more ▼

answered Dec 20 '18 at 04:48 PM

avatar image

mightyenigma
3.8k 18 20 20

(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