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"

How to make an emissive texture cast shadows

How is it possible to make my emissive texture cast shadows behind the player character as it moves in front of the door? Is this even possible using emissive textures?

There is a point light placed behind the player just for comparison, which casts the shadows that are visible in the screenshot.

alt text

Product Version: UE 4.9
untitled.png (1.2 MB)
more ▼

asked Sep 09 '15 at 04:07 PM in Rendering

avatar image

8 3 7 10

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

1 answer: sort voted first

Hello bertywerty,

To enable your emissive material to cast lighting there are a few steps.

  1. Create a material with an emissive color.

  2. Click on the object you have your emissive material on and go to your details panel

  3. Scroll down to the lighting section.

  4. There is a Lightmass Settings Roll out. Click that

  5. There is an option to " Use Emissive for Static Lighting"

  6. Click that check box.

  7. Rebuild lighting at production quality.

From what I've noticed the shadows are subtle so take care with the settings of other lights in the scene.

This only works for static lighting. So, for whatever object you attach this too keep it as static and not movable.



more ▼

answered Sep 09 '15 at 06:03 PM

avatar image bertywerty Sep 09 '15 at 06:05 PM

Hi Logan, thanks for your reply. The emissive texture is meant to be used on a door which will slide open. Is it not possible to cast shadows with a dynamic emissive texture?

avatar image Logan Bailey ♦♦ STAFF Sep 09 '15 at 06:27 PM

I do not believe so. This feature requires of the light being cast as static and therefore if attached to a movable object would not work as expected. It can cast Dynamic Inset Shadows however as the lighting is baked on it may only affect other movable objects. No guarantees on that.

There area few alternative solutions. One is to create an emissive material and apply this to what you want. Then create a light in near the same space and fake it.

Two is to create lights without the emissive texture and have them act as your emission.

You could try making the doors separate and apply the emission to the frame of the door and see if that works.

As far as I know there is not a way to have true dynamic emissive materials that cast shadows at this time.


avatar image bertywerty Sep 09 '15 at 06:29 PM

I think I will have to go with number one, I did try it earlier and it looks just fine. It is a shame that this feature does not exist for emissive materials yet.

(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