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"

Weird shaped shadows on mobile preview.

alt text

Somehow when I tried to make my game into a phone app, the shadow became like this. What is the source of my problem? I'm well aware that Anti Aliasing does not work in mobile preview except for temporal. Can someone explain or tell me how to fix this? Thanks.

Product Version: UE 4.9
Tags:
untitled.jpg (230.2 kB)
more ▼

asked Oct 20 '15 at 10:49 AM in Rendering

avatar image

Sunnyseah
26 3 7 15

avatar image Sunnyseah Oct 21 '15 at 11:20 AM

bump......

avatar image AndrewHurley Oct 21 '15 at 07:43 PM

Hello Sunnyseah,

Thank you for taking the time to report your issue, but we ask that users do not 'bump' their questions on the AnswerHub as this can get a bit messy. We try to respond within 24 to 48 hours of the questions being post. With that in mind, we cannot get to all of the questions within this time frame, but we ask you remain patient while we get to your issue.

This seems like a lightmap resolution issue as your shadows being cast on your objects are a bit pixelated. Would you provide me with the device you are testing on so I can take a look at its specifications. I see in the screenshot you are using Feature Level ES2 which helps narrow down the list.

You can try increasing the Lightmap resolution of the objects and surfaces in which the shadows are experiencing the blocky like edges. Keep in mind though, mobile devices can only pack so much information and hold a certain amount of quality on the screen. So increasing the shadow map resolution could cause a small performance hit as well.

Thanks,

Andrew Hurley

avatar image Sunnyseah Oct 27 '15 at 03:17 AM

Noted. Sorry for the bump.

I have not test it on a mobile as i've only tested it on a mobile rendering level as well as mobile game preview.

I assume that increasing the lightmap of my meshes would not be of any help as those are the shadows from the walls/ceiling which are at 2048 resolution and not to mention this problem persist on my entire build.

My packed light and shadow maps texture sizes are at 4096. So i have no clue on what is going on.

Thanks for the reply. Will be waiting for a further explanation if possible.

avatar image jldevoy Oct 30 '15 at 02:31 PM

try manually altering the UVs in a 3d app so they get the most space on the visible flat surface.

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

1 answer: sort voted first

I will tell you using resolutions that high on mobile will not work. So 4096 resolution textures are not supported on Mobile as these are incredibly high in memory usage. Even the 2048 resolution textures are going to occupy a lot of memory on your device. If you run out of memory, the resolutions of some textures that are deemed not necessary will be streamed out and could cause some low resolution textures to appear.

I highly recommend taking a look at our documentation on guidelines for developing on the mobile platforms.

Texture Guidelines for Mobile

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Textures/index.html

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Performance/index.html

It is hard to determine what could be going on unless I have the project in front of me. Increasing the resolution of your floor will increase the received shadows from objects since it is increasing the density of pixels for that mesh.

Thank you,

Andrew Hurley

more ▼

answered Oct 27 '15 at 01:54 PM

avatar image Sunnyseah Oct 30 '15 at 10:49 AM

Oh ok. Thanks. I will give it a try.

avatar image AndrewHurley Oct 30 '15 at 02:06 PM

Let me know if you are still having trouble, and we can keep troubleshooting.

(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