Creates a Volume Material


## Description

This is experimental


## Parameters

<table>
<thead>
	<tr>
		<th>Name</th>
		<th>Type</th>
		<th>Description</th>
	</tr>
</thead>
<tr>
	<td>color</td>
	<td><div class='bg-lime-800 px-2 py-px text-white rounded-sm'>color</div></td>
	<td>color</td>
</tr>
<tr>
	<td>stepSize</td>
	<td><div class='bg-yellow-800 px-2 py-px text-white rounded-sm'>float</div></td>
	<td>stepSize. The smaller the value the more step the shader will make</td>
</tr>
<tr>
	<td>density</td>
	<td><div class='bg-yellow-800 px-2 py-px text-white rounded-sm'>float</div></td>
	<td>volume density</td>
</tr>
<tr>
	<td>shadowDensity</td>
	<td><div class='bg-yellow-800 px-2 py-px text-white rounded-sm'>float</div></td>
	<td>volume shadow density</td>
</tr>
<tr>
	<td>lightDir</td>
	<td><div class='bg-blue-800 px-2 py-px text-white rounded-sm'>vector3</div></td>
	<td>this volume material currently can only use a single white light, whose direction is defined by this parameter</td>
</tr>
</table>