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,

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

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.