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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Unlit material that casts shadows

My character has an unlit material on him, and so far that's worked great, but now I want to have him cast a shadow. I would simply change the material from unlit to lit, but the problem is that this character doesn't have any normal maps, and isn't very smooth naturally, so when full lighting is turned on, he has a lot of edges clearly visible. Is there any way to make a material seem to be unlit, but still cast a shadow?

Product Version: UE 4.7
Tags:
more ▼

asked May 26 '15 at 04:53 AM in Rendering

avatar image

Anti049
6 1 1 3

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

3 answers: sort voted first

Hi!

You can try to do fake unlit material based on lit material.

alt text

unlit_fake.png (854.6 kB)
more ▼

answered May 26 '15 at 07:44 AM

avatar image

svv3dUDN
8.4k 254 41 399

avatar image CazOki Mar 04 '18 at 06:53 AM

You freaking genius. I have no idea why your comment wasn't marked as an answer. FYI if you have custom ground textures that are also unlit. You will need to make the texture Base Color and Emissive Color for shadows to show up.

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

Unlit materials by definition do not interact with light, so they don't cast shadows. However you can usually get what you want by using a lit material, setting BaseColor and Specular to 0, then just keep your EmissiveColor input.

more ▼

answered May 26 '15 at 07:32 PM

avatar image

DanielW STAFF
1.9k 31 11 72

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

I got the same problem: unlit material cast shadow and second method odesn't work aswell. I am using 4.16.1

more ▼

answered Jul 28 '17 at 10:12 PM

avatar image

Bartosz Kamol Kamiński
31 1 5

(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