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"

What's the best file format for Textures? (Optimisation etc...)

Hello Everyone!

Just a quick question, I'm in the process of developing my first game, I had always used JPEGs as my general file format for Textures.

Does this matter? What is the most optimised (best) file format to use in UE4?

Thanks for any help!

Mike

Product Version: UE 4.10
Tags:
more ▼

asked Feb 29 '16 at 04:54 PM in Rendering

avatar image

MikeyBGames
41 18 24 28

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

1 answer: sort voted first

.jpg isnt the way to go, as it already has compression. Combine with with ue4's own compression and you will end up with images that are compressed twice. The best file format is .png, but that cant contain alpha. In that case .tga (32 bit) will work if you need alpha's.

If you want to go all out though, .psd also works :)

more ▼

answered Feb 29 '16 at 05:27 PM

avatar image

Luos
9.3k 286 65 330

avatar image MikeyBGames Feb 29 '16 at 05:59 PM

Do you know which format is the most efficiently rendered? Or are they all rendered in the same way?

avatar image Luos Feb 29 '16 at 07:17 PM

They will be compressed to an internal file type anyways, so the best way to go is as compressionless as possible. In that case .PNG is probably the best as I said before, unless you really need an alpha, then TGA is great.

avatar image MikeyBGames Feb 29 '16 at 07:20 PM

Thanks so much for the help! I appreciate it!

avatar image ScottSpadea Feb 29 '16 at 08:18 PM

i have been using .png textures with alpha channels, and they work just fine in ue4.

avatar image Luos Mar 01 '16 at 12:03 PM

Then you gotta show your workflow, because .PNG and alpha is messed up, especially if the alpha has nothing to do with the image itself. (i.e. 4 cloud textures in rgba) https://forums.unrealengine.com/showthread.php?15102-PNG-with-Alpha-How-do-you-get-them-to-work

So if you have a way to make alpha in png always work, I'd really like to know :)

avatar image ScottSpadea Mar 06 '16 at 09:37 PM

.PNG alphas work fine, its photoshop's PNG exporter that seems to be your problem. i use Gimp instead of photoshop, and it exports transparent PNGs without any special workflow, and they import into ue4 without any problems.

try importing this into UE4, it should work fine: alt text

test.png (657.0 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