Book Image

Learning Unreal Engine Android Game Development

By : Nitish Misra
Book Image

Learning Unreal Engine Android Game Development

By: Nitish Misra

Overview of this book

<p>Have you ever wanted to create games that will get users hooked to their phones? Unreal Engine 4, with all its tools and power, will help make your dreams come true! Designed to get you working with Unreal Engine 4 from the very first page, this book will quickly guide you through the basics in the first two chapters. Once you get the hang of things, we will start developing our game—Bloques!</p> <p>Bloques is a puzzle game with four rooms. Each room will be more challenging than the previous, and as you develop, you will graduate from movement and character control to AI and spawning. Once you've created the game, you will learn how to port and publish your game to the Google Play Store.</p> <p>In addition to building an Android game from start to finish, you will also discover how to generate revenue, and how to optimize game performance using the tools and functionalities the engine provides. With this book, you will be inspired to come up with your own great ideas for your future game development projects.</p>
Table of Contents (15 chapters)
Learning Unreal Engine Android Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Materials


In UE4, before you can apply textures to an object, you first have to create materials. A material is how an object will be rendered in a game, it is a collection of shaders containing many properties that can be applied to objects and rendered in the game. In more technical terms, when light from a light sources fall on a surface or object, the material is what determines how the light will interact with said surface or object (the color, texture, how rough or smooth the surface is, how metallic it is, and so on).

UE4 uses Physically-based Shading. In earlier versions of Unreal Engine, the material had some arbitrary properties, such as DiffusePower, Custom Lighting Diffuse, and so on. In UE4, the materials have more relatable properties, such as base color, metallic, roughness, and so on, making the process easier to understand.

A material is created in what is known as a Material Editor. So, before we start creating our own materials, let's first talk about it and its user interface...