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"

Sprite Lit when Unlit

I'm having a bit of a weird issue, I have several Sprites playing different Paper flipbooks. All fine so far. Recently I've added in lighting to my levels and converted the Materials used from Lit to UnLit allowing them to be effected in the level by dynamic lighting.

This works fine of the Sprites but once the are added to a Flipbook the lighting seems to have less of an effect

alt text

The Red box is unlit in a level with no lights. The Green box is unlit in a level with a directional light right in front of the character.

Very slight difference is visible.

Anyone have any ideas? I want the sprites to be consumed by shadows so darkness is the goal.

Product Version: UE 4.16
Tags:
more ▼

asked Aug 28 '17 at 03:53 PM in Rendering

avatar image

Jiyko
34 5 8 9

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

1 answer: sort voted first

You may have figured this out already or stopped caring but I had this same issue and needed my sprites to be able to hide in actual shadows in the level. I edited my flipbook default material from MaskedUnlitSpriteMaterial to MaskedLITSpriteMaterial and viola!! My sprites can move in and out of shadows now.

https://imgur.com/a/wUox7

more ▼

answered Nov 08 '17 at 03:02 PM

avatar image

Kjoltblod
6 1 2

avatar image Jiyko Nov 13 '17 at 07:28 PM

Thanks for the delayed response! Never stopped caring, just decided to not think about it till the core game-play is done. :D

alt text

That is not working for me sadly. Still showing in the level. If I drag the textures that make up the flipbook into the level, those individually are effected by shadows, just not as a flipbook. Regardless of what I do it won't receive light/shadows. I might have messed up the parameters in the default materials ages back. Might re-import them.....

fadsfdasfdsa.png (14.4 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