Thoi Posted June 2, 2022 Share Posted June 2, 2022 Hi! 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? Quote Link to comment Share on other sites More sharing options...
DonRomano Posted June 2, 2022 Share Posted June 2, 2022 (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. Cheers, vdbs_displacement_uvs.hipnc Edited June 2, 2022 by DonRomano typo Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.