This repository contains examples that show how to use vector fields with Unity Visual Effect Graph.
- Unity 2019.3
- High Definition Render Pipeline 7.1
Firstly, you have to install Unity_VFX_Tools.hda
to your project. Download
and import it from the VFXToolbox repository.
You can export a .vf
file using Volume Exporter SOP. There are a few things to
take care of:
- It only supports the standard volume. If you're using a VDB volume, you have to convert it to a standard one.
- It only supports uniformly sized volume (x size == y size == z size). You may have to resize it before exporting.
- The default wrap mode of
.vf
file is "repeat." It should be changed to "clamp" when using a distance field volume.
For details, please see the example Houdini project contained in the
Houdini
directory.