Jump to content

VDB Displacement - keeping textures intact (contain UV?)

Recommended Posts


I am using VDB with displacement and I would like the texture to follow the deformations of the displacement. As you see in my example the texture goes missing after VDB displacement. Is there any way to contain the UVs and texture within the transformation? 



Screenshot 2022-06-02 015931.jpg

Share this post

Link to post
Share on other sites
Posted (edited)

You can use a vdb surface attribute with the vertex.uv attribute, and advect it along your displacement, and then use an attribute from volume node to pass the displaced uvs to the polygon geometry. Note this won't be very precise depending on your displacement, new surfaces might have been created during the process, so a little attribute blur or a higher volume resolution might help. I've attached a simple example to show how it can be achieved.




Edited by DonRomano

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now