O'Reilly logo

Unreal Engine 4 Game Development Essentials by Satheesh PV

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Common material expressions

There are some common Material nodes that we use most of the time when we create a material. To create a node you need to right-click on the graph canvas and search for it, or you can use the Palette window to drag and drop. Some nodes also have shortcut keys assigned to them.

Let's take a look at these common nodes.

Constant

Constant expression outputs a single float value and can be connected to almost any input. You can convert a constant expression to a parameter and make real-time changes to the Material instance. You can also access a parameter through Blueprint or C++ and see the changes in the game.

  • Shortcut key: Hold 1 and click on the graph area
  • Parameter shortcut key: Hold S and click on the graph area
  • Example ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required