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"

Material compilation optimization

Hi, I want to know more about how materials/blueprints are compiled/built and how much Unreal Engine optimizes them.

Let's say I have a material with some nodes that aren't connected to the Result node of the material. When I save the material and it's compiled, is it going to remove these nodes that have no effect or are these nodes going to be processed anyway when the material is drawn? I have a custom material function with many outputs, but I don't use some of them and I want to make sure that the processing of these useless outputs isn't actually done after my material is compiled.

Is there a difference between regular materials, material instance constant and material instance dynamic?

alt text

Thanks.

Product Version: UE 4.17
Tags:
materialoptim.png (56.4 kB)
more ▼

asked Sep 08 '17 at 03:41 AM in Blueprint Scripting

avatar image

ItBurn
68 7 7 12

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

1 answer: sort voted first

In respect to material, there are several layers of optimization and commonly, all potential useful optimizations are already in place. Unconnected nodes and node networks will not be processed.

more ▼

answered Sep 08 '17 at 08:38 AM

avatar image

Deathrey
7.8k 130 30 292

avatar image ItBurn Sep 08 '17 at 05:20 PM

Thanks! Where did you get that information from?

(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