Posts

Showing posts from August, 2021

Creating Terrain from Heightmaps - Unity Game Development Tutorial

Image
In this Unity game development tutorial we're going to look at how we can create realistic looking terrain from real world height data. You can either watch the video version below or continue reading for written instructions. You can hand sculpt terrain using the tools in Unity, but in this tutorial we're going to look at an alternative - using images known as heightmaps. A heightmap is a grayscale image that contains height information. The darker pixels represent areas of low height and the lighter pixels represent higher areas. Below is an example of a heightmap. There are various sources online that you can get free heightmaps, but we're going to look at this one that allows you to create heightmaps of the real world - https://cs.heightmap.skydark.pl/ This resource was created for generating terrain for the game Cities Skylines but it will work just as well in Unity. Basically, it allows us to select any 18km square area on the map and then create a hei

Fix for Missing Terrain Tools Package in Unity 2021 - Unity Game Development Tutorial

Image
At the moment, the Terrain Tools package doesn’t show in the package manager for some reason, so this is just a quick tutorial showing how to install the package manually.

Show a Silhouette When Hidden Using URP Renderer Features - Unity Game Development Tutorial

Image
In this Unity tutorial we're going to look at how we can use URP Renderer Features, to create a silhouette of a character when they're hidden by an obstacle.