Book Image

Unreal Engine 4 Game Development Essentials

By : Satheesh PV, Satheesh P.V
Book Image

Unreal Engine 4 Game Development Essentials

By: Satheesh PV, Satheesh P.V

Overview of this book

Unreal Engine 4 is a complete suite of game development tools that gives you power to develop your game and seamlessly deploy it to iOS and Android devices. It can be used for the development of simple 2D games or even stunning high-end visuals. Unreal Engine features a high degree of portability and is a tool used by many game developers today. This book will introduce you to the most popular game development tool called Unreal Engine 4 with hands-on instructions for building stunning video games. You will begin by creating a new project or prototype by learning the essentials of Unreal Engine by getting familiar with the UI and Content Browser. Next, we'll import a sample asset from Autodesk 3ds max and learn more about Material Editor. After that we will learn more about Post Process. From there we will continue to learn more about Blueprints, Lights, UMG, C++ and more.
Table of Contents (19 chapters)
Unreal Engine 4 Game Development Essentials
Credits
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Preface
Index

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 usage: Brighten or darken a texture

Tip

Constant parameter is called a scalar parameter

You can see a constant expression (0.2) being used to darken a texture.

Constant2Vector

The Constant2Vector expression outputs two float values, which is a two-channel...