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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Does the size (in pixels) of an alpha/opacity mask within a texture affect render performance?

Hi guys!

if you have a for example 1024x1024 texture with an alpha channel. for example a leaf on it and a plane mesh uses that texture. (using complete UV space)

does the size of the masked area (black area in alpha channel) affect performance?

means: if the leaf on that texture is bigger and using the texture space better (alpha area is smaler). is the performance better? (if you place thousands of these leafs into a scene).

hope the question is understandable and thanks in advance! :-)

Product Version: UE 4.8
more ▼

asked Jan 28 '16 at 08:07 PM in Rendering

avatar image

1 1 2

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

1 answer: sort voted first


It all depends on how you are calling the material to be rendered and the amount of instructions within the shader. For example, if you have a low instruction count and are an unlit masked material, your performance should be fine. However if you have a high instruction count in conjunction with per pixel lighting and two sided masked translucent material, it will be quite expensive to render that single plane.

The size of the mask is all preference on how you plan on using the texture. If it is going to be a particle effect like falling leaves, you need to be precise to set up the proper Sub UV so optimizing your texture space is important. You generally want to optimize your UV space anyway so you do not need to a bunch of scaling.

I hope this clarified a bit.


Andrew Hurley

more ▼

answered Jan 28 '16 at 10:59 PM

(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