eidosmontreal / unreal-vdb

This repo is a non-official Unreal plugin that can read OpenVDB and NanoVDB files in Unreal.
Apache License 2.0
686 stars 108 forks source link

VDBs not rendering in Depth pass #87

Closed xXchrizzoXx closed 1 year ago

xXchrizzoXx commented 1 year ago

Is it possible to make the volumes of the vdb render in the scene depth? Otherwise I have problems with the depth of field. The depth of field of the objects behind the volume gets applied to the volume. Normally you can enable the option "Output Velocity" in translucent materials, but that doesn't work for me.

Attached are images, that should show the problem. Beauty Pass: HighresScreenshot00024

Albedo Pass: HighresScreenshot00025

Scene Depth: HighresScreenshot00026

As a workaround I've placed a plane with a dither pattern right behind the fire, but this introduces artifacts in the final rendering.

thilamb commented 1 year ago

Hello, there's no way to write to depth with the current versions of the plugin but I do have a future branch that does it. I'm just waiting for a few stars to align to release the new updated plugin. No ETA for now I'm afraid, sorry.