Archiwa tagu: UE4

Pseudo realistic sand accumulation material

Introduction

In this article I’m going to show how to create realistically looking rocky surfaces covered with sand in Unreal Engine 4. Most basic approach is to linearly interpolate two textures based on some designer defined value(i.e.. vertex painting). While the effect looks acceptable in some cases, there are situations where simple blending breaks the realism. One such situation will occur when trying to mix sand with gravel or rocks.

Czytaj dalej Pseudo realistic sand accumulation material

Tutorial – Creating outline effect around objects

Outline effect as post process – tutorial

Introduction

In this tutorial I will present a way of creating outline effect for meshes inside UE4. There are two popular methods of creating outline/stroke effect around objects in the game:

  • Render mesh twice. Draw first mesh with a standard material and then draw second mesh with slightly higher scale and emissive material.
  • Add outline to objects in post-process using edge detection

I’ll focus on the second method, as it requires very little effort to integrate it into existing projects. This tutorial assumes, you are familiar with basics of Unreal Engine 4 and it’s systems (material editor in particular). If you wish to fully understand how to implement edge detection algorithm as UE4 material, some basic image processing knowledge will be useful.

Czytaj dalej Tutorial – Creating outline effect around objects