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"

Performance of Atlas vs individual textures

Hello there!

I am looking into the most efficient way to load in details that are not on a mesh or baked into a texture.

Is it more efficient to have a 2048x2048 texture resolution with bolts, handles etc or several small individual 128x128 / 256x256 textures?

Product Version: UE 4.15
Tags:
more ▼

asked Mar 11 '17 at 05:53 PM in Using UE4

avatar image

Phenakist
6 1 3 4

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

1 answer: sort voted first

Few things:

If a mesh has 1 material, it has one drawcall. If it has 2 materials, it has two drawcalls. If two meshes have 1 (the same/different) material its two drawcalls total.

If a material has three textures, it needs to tell gpu/cpu to fetch a texture three times. If those three textures could be combined, it only needs to tell the gpu/cpu to fetch it once. Generally speaking its faster to load 1 1024x1024 than a few 128/128's.

I would try to combine small bolts/handles that are used together as much as possible and get a few atlasses going instead of separate textures.

more ▼

answered Mar 12 '17 at 02:03 PM

avatar image

Luos
9.2k 283 63 330

avatar image Phenakist Mar 12 '17 at 07:15 PM

Thank you for the reply!

I imagined this was the case from the reading up I have done, but a few commends made me question whether it was the most resourceful way.

I am sure it would be even better to bake the bolts onto the mesh outright in a normal map, but after reading about how Star Citizen are doing it, it really does sound the way forward especially if things are to be modular, it makes altering the look painfully easy vs traditional methods.

(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