---
title: "Lava Flow"
canonical: "https://documentation.chaos.com/space/PHX4MAX/125054126/Lava%20Flow"
format: markdown
---
## Overview

---

> Macro (ui-text-box)
> 
> This is an Advanced Level tutorial. The workflow for setting up the shot, and the Phoenix settings involved in the simulation are explained in detail. However, it's recommended that you have at least basic knowleage in lighting, materials, and the Phoenix simulation.

## **Units Setup**

---

## **Scene Layout**

---

---

---

## **Scene Setup**

---

---

> Macro (ui-text-box)
> 
> In this tutorial we have many steps to follow. To keep it concise, let's focus only on the Phoenix related steps and feel free to use the camera and light settings in the provided sample scene.
> 
> For your reference, below you can find the light and camera settings.
> 
> 
> > Macro (legacy-content)

## **Anatomy of the Lava Flow**

---

## **Phoenix Simulation**

---

---

### **List of Liquid Sources and their Settings**

---

### Add Low Viscosity Liquid Source 

---

---

---

---

---

### **Slow Down the Liquid**

---

---

### **Mask the Low Viscosity Liquid Source Emission**

---

---

### Add High Viscosity Liquid Source

---

---

### **Mask the High Viscosity Liquid Source Emission**

---

---

---

---

### **Increase Surface Tension**

---

---

### **Enable Wetting Option**

---

---

## **Solidify with a Particle Tuner**

---

---

---

---

---

---

---

---

---

---

## **Increase Steps Per Frame**

---

---

---

---

---

## **Map the Grid RGB and Final Simulation**

---

---

---

---

---

---

---

---

---

---

---

## **Shading for the Lava Flow**

---

- The Dark Lava material for the high viscosity part of the liquid;
- The Light Lava material for the low viscosity part of the liquid;
- The Mask that blends the two materials.

### **Dark Lava Material**

---

---

### **Light Lava**<span style="color: #205081"> </span>Material 

---

---

---

---

### **Texture for the Mask**

---

---

---

---

## **Complete the Lava Shader**

---

---

### **V-Ray Frame Buffer**

---

---

---

---