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"

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. 

What is the "constant parameter"?

In the tutorial for materials, in the example is says to search the material palette for "constant parameter" and when found, to drag and drop in on the graph. There is no such thing as a "constant parameter" showing up when using the search window. Without this I cannot proceed in the tutorial. Now what?

Product Version: Not Selected
Tags:
more ▼

asked Mar 31 '15 at 02:07 AM in Using UE4

avatar image

thorargent
11 1 1 2

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

2 answers: sort voted first

Okay, after a few minutes I saw that it is simply "constant" and not "constant parameter". There are numerous spelling errors and lexical errors in the tutorial but whatever. It makes this more difficult and could turn off a lot of potential users. Somebody should have done a simple spelling check and then let a novice walk through the tutorial.

more ▼

answered Mar 31 '15 at 02:15 AM

avatar image

thorargent
11 1 1 2

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

Anything that is a parameter is basically just a value that can be changed on an instance.

So in this case, say you plug in a constant (which goes from 0 to 1, which is black to white) into the base color of a material with it's value at 0. The material will be black. If you right click the Constant and choose "Convert to Parameter" and give it a name, it will now be a constant paramter.

If you were to right click the material in the browser and choose "Create Material Instance" and open that, you now have access to that parameter in that material. You could change the paramter from 0 to 1 and the material instance constant will then become white. You can apply the material instance constant to a mesh like a regular material and now control the value through the instance which is much faster (and can be changed in game as well, while a regular material cannot)

Basically the main use for it is to make a master material once, and then that way you can make material instances from it and change the paramters (such as constants, textures, etc.) without having to rebuild the material every time.

Don't know if you were looking for such a long winded explanation but I figured I'd offer it just in case. :D

more ▼

answered Mar 31 '15 at 03:58 AM

avatar image

jessiegray88
6 3 5 7

(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