Game Development

Lava and Beyond -- Stylized Surface FX

This is an asset pack created for users who want to add lava or swamp to their 3d environment. It has ripple and dissolve into ashes effect and an example script to simulate interaction with the surface.

Lava and Beyond -- Stylized Surface FX preview

About the Project

It is a highly customizable asset pack that helps users create stylized reactive surfaces like lava. When an object collides with the surface, a ripper particle effect is spawned and the object starts dissolving into ashes. There are two types of ripple effects (particle systems), one spritesheet based ash particle effect, the main lava shadergraph, a dissolve shadergraph with a toggle that lets you choose when you want to trigger the dissolve effect and an example script that lets you see how the multiple effects inside can be used together.

Some of these effects were used in my game “The Adventures of Captain Smartypants”.

Development

This effect is procedural and uses voronoi and simple noise to create a wave effect.

Some Technical Details:

Challenges

One of the biggest challenges with making this assetpack was the documentation. It was hard to strike a balance between providing enough details and keeping it user friendly (an instruction manual worth several pages was only going to be skipped, after all). In the end I added several images and put up the information in bullet points so that it was easier for the user to navigate the document.

The lava shadergraph that I created doesn’t make use of a texture map or normal map. Everything is generated procedurally via noise. The noise created seem less random when tiled too high. One way to make this seem natural was to add multiple layers of noise maps and blend between them. However, too many layers would end up dealing a heavy blow to the performance. I ended up not using gradient noise as it is more performance heavy than voronoi or simple noise. The shader currently uses voronoi and simple noise layered together.