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. 

Self Shadow in realtime?

Hello! :)

I'm working on a project. Actually it's just to render a character. So I was playing with the lights to see what I can do.

I have this result with a spot light :

alt text

It's not that bad, but the cast shadow is kinda wierd. The shadow should be more something like that (done in photoshop) :

alt text

The question is : Is there something I missed to render a better realtime self/cast shadow or should I have to bake a lightmap on my mesh?

Product Version: UE 4.11
more ▼

asked Oct 19 '16 at 01:18 AM in Rendering

avatar image

3 2 5 5

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

1 answer: sort voted first

Hi MathieuSP,

When it comes to very small areas of the mesh like nostrils you can lower the Shadow Bias to create more accurate shadows. The lower the number the closer the shadows will generate relative to the caster surface. Here is a before and after pic of default Shadow Bias vs Shadow Bias = .02

alt text

alt text

You can also increase the value of contact shadow length however, the results don't look quite as good up close in the characters face.

Let me know if that helps,

Ed Burgess

more ▼

answered Oct 19 '16 at 05:41 PM

avatar image MathieuSP Oct 20 '16 at 03:38 PM

It's exactly what I was looking for, I will take a deeper look into the doc next time! Thank you Ed :)

(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