eidosmontreal / unreal-vdb

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

Shadows #68

Closed mszawdyn closed 1 year ago

mszawdyn commented 1 year ago

Sorry, I don't know if this it a right place to ask. I wonder about getting shadows on my vdbs. I noticed that checking on "Improved Skylight Sampling" brought self shadows on vdb. But only when Directional Light is enabled. If its not VDB emits light. Could you tell me what is correct way to deal with VDB shadows, both self shadows and the ones casted, for example on a ground?

thilamb commented 1 year ago

Sadly, with this plugin VDBs do not receive or cast shadows because of plugin limitations.

It's also only using the first directional light for similar reasons.

You can fake shadows with opaque proxy object if you really need to but that's outside of the plugin support.

Good luck !