Normal mapped Paper2d sprites display wrong light position ingame, but perfect in editor
Using the paper2d platformer example project as a base, I set up a scene with a dynamic point light (that is not moved in game) in front of 3 non-rotated normal-mapped sprites as such:
In the editor, this looks correct, but once I start the game i get displayed with this:
The light however works correctly on "normal" models in the scene, i.e the tiny white orb displayed in the second picture. I cant for the life of me find out how to fix this, anyone have an idea what I have done wrong? I tried moving the point light and different normal-maps, but it never seems to work! (Ignore the dark line, that is from the underlying texture).
asked Jan 05 '16 at 10:16 PM in Rendering
This is a known issue that has been reported with UE-11446, but it is currently backlogged due other priorities at the moment. This is a problem with the Orthographic view that is used with the paper 2d character. You can go into the BP and select the camera. You can change the Projection Mode from Orthographic to Perspective and this will resolve the streaking issue.
To better demonstrate if anyone else comes to this issue and do not quickly see it in your images this is the issue:
This is just using a simple base color material with a low roughness.
answered Jan 06 '16 at 06:26 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here