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"

Compiling shaders (300+) for a single texture node

I have a project with not much in it, an almost empty map, a few textures, a few material functions and two materials:

one that uses the functions, and one that doesn't. This last one is a test material and only has 3 nodes: the material output, a multiply and a texture sample: 61 instructions!

If i change the this material and hit apply: ue4 instantly begins compiling 300+ materials.

How can i make it only compile the one i actually changed? Because this is getting insane. Compiling a single HLSL material should take a few milliseconds, yet it already takes so long for one shader, let alone 300 each time! And i suspect this number to grow the larger the project gets..

Surely people that use ue4 aren't just waiting for this every time, there must be a way to get rid of this?

Product Version: UE 4.10
more ▼

asked Jan 31 '16 at 09:35 AM in Using UE4

avatar image

16 1 2 4

avatar image Andrei Branescu Mar 10 '16 at 11:06 AM

Good question. I was also looking for the answer. Fortunately, for me it doesn't take more than 30 seconds, but it's still a lot since it must be done for every save of a material function.

avatar image imad laggoune Aug 25 '18 at 01:41 PM

same problem why this happen , a simple materail take 500 shader compile thing !!?

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

0 answers: sort voted first
Be the first one to answer this question
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