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"

Multiple Shaders compiling when using drag up and down on values.

Hi Guys,

I finally got into playing with the engine today (been busy in the UE3 UDK). Anyway I was playing around with the materials in default map, and found my computer maxing out all 8 CPU's after making some changes to material properties.

Heres to steps I took so you can reproduce.

  1. Turned off instant preview (thought this might slow things down)

  2. clicked on teh R value for a material expression constant (plugged in to the roughness multiplier in this instance.)

  3. Dragged my mouse up to increase the number.

  4. Instant Lock up. But It came back to life momentarily.

  5. Notice a message saying shaders are being recompiled.

  6. Save the cahnges to the material and hit play on the game

  7. Massive number of shaders being compiled (3000+)

  8. CPUS at 100% until all the shaders are built.

I think the dragging of the numbers is triggering and queuing a boat load of shaders to be compiled.

I tried the same thing by just entering the number directly rather than dragging with my mouse. And it was almost instant.

Cheers,

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 03:58 AM in Everything Else

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1988 9113

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

2 answers: sort voted first

Thank you for your report. This is an issue we are aware of and have documented.

more ▼

answered Mar 11 '14 at 03:58 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1988 9113

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

Just to make you aware, I'm having a similar problem. This may jsut be user error, but I'm simply trying to follow the materials tutorials you have. I dragged the Unreal matPreview mesh into my scene and when I try to drag a material from the content browser on it, it freezes as soon as it hits the viewport and then the material in the content browser switches to the default material. Trying to assign it the other way results in the same thing.

At the bottom is says "compiling shaders (306). My computer's not completely locked up, but I can't get any materials onto the object or onto anything.

more ▼

answered Apr 07 '14 at 01:13 AM

avatar image

ViRiX
0 1

(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