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"

Lighting in Paper2D

Hello!

My question is whether it's possible to create lighting effects in 2D games using UE4. I tried to test lighting and in the editor viewport it seems to be working. You can see this in the picture below. alt text

However, when I start the game. it's completely dark. I also tried to change the DefaultSpriteMaterial Shading model to "Default Lit" and plug out the emissive color and instead use the base color. I am starting to think the problem has something to do with my player camera, because in spectator mode it looks exactly like in the previous picture.

EDIT: The problem gets solved whenever I switch from Orthographic camera to Perspective camera. Is it possible to use Orthographic camera and also have lighthing effects?

Waiting for you response

Product Version: UE 4.16
Tags:
2d-lighting.png (242.4 kB)
more ▼

asked Sep 22 '17 at 12:49 PM in Using UE4

avatar image

Rasponien
124 7 11 20

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

orthographic cameras are currently broken, have been for quite some time, and have no ETA on a fix.

more ▼

answered Sep 29 '17 at 09:35 AM

avatar image

Nuclear Arbitor
308 4 7 10

(comments are locked)
10|2000 characters needed characters left
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