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"

png texture broken on Iphone4

what I expected: alt text

But on my Iphone4, I got:

alt text

My sample project: link text

Product Version: UE 4.10
Tags:
more ▼

asked Jan 05 '16 at 02:42 AM in Using UE4

avatar image

neckshot
6 3 3

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

1 answer: sort voted first

Hi Neckshot,

In order for your textures to work correctly you'll want to make sure that they're imported as a Power of Two texture. This is required to work on IOS.

You can find more information about texture creation for Texture Guidelines for Mobile Game Development. This stipulation is covered in the first section.

Thank you!

Tim

more ▼

answered Jan 05 '16 at 05:35 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

avatar image neckshot Jan 06 '16 at 09:06 AM

Hi, Tim, thanks for your reply.

I resize my source image to Power of Two, the texture can be seen now.

But the image quality is a bit low, and the flipbook made a blur effect on first second(seems like texture was in loading phase). This effect is ugly, can it be fixed?

Another question, I got a red alert on screen: TEXTURE STREAMING POOL OVER 430299.88 MB, why it is so big? Can this be fixed too?

alt text

avatar image Tim Hobson ♦♦ STAFF Jan 06 '16 at 02:10 PM

Are you using the padding option in UE4 to get the Power of Two image size or have you just reimported the image after resizing it?

Since I did not have a source asset for your snow screen texture, I simply exported this as a TGA file and resized in Photoshop and then reimported. That image was fairly close to a square size anyhow, so upping its size to 2048x2048 didn't really change all that much.

Woudl you be able to post the original source asset or detail the steps you used to change it in the engine. I've still got your original test project and didn't change any original assets so I can test and see what's happened.

As for the texture streaming, I'm not exactly sure on this one just yet especially seeing it's saying you're streaming ~430 gigabytes of images. I'll have to look into that one a little bit more. Was this happening in the editor only or was this being said on the Device? I can presume the device, but Just want to make sure.

Here is the resized asset that I used to reimport and apply to the snow screen material: Texture

Thank you!

avatar image neckshot Jan 07 '16 at 07:19 AM

Hi, Tim,

I used the padding option in UE4 in my first project, but it has no effect. So after your advice, I resized the textures and reimported them into UE4, then the textures can be seen.

The screen shot above is on my IPhone4. I have tested a mac export, I can't see any red alert, but I can see the loading lag of the snow_screen with my naked eyes, although it is only about 0.1s, not so long against my IPhone4(it is about 1s). This lag effect is not endurable through my customer's eyes, so I hope it can be fixed.

My project is over 5M if I put source img in it. If what further info I can provied, please comment to me

avatar image Tim Hobson ♦♦ STAFF Jan 18 '16 at 06:51 PM

Would you be able to upload the sample project with your latest fixed texture that causes the lag. I will test this on a IPhone4 and see if I can see the same issue.

(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