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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...