I'm trying to add displacement to some parts of my object. I'm using Multi/sub-object material where only one of the materials has displacement and a VRayDisplacementMod is applied to the object with "Use object material" turned on. However, displacement gets applied to the whole object. Is this supposed to happen?
Announcement
Collapse
No announcement yet.
VRayDisplacementMod doesn't work with material IDs?
Collapse
X
-
VRayDisplacementMod doesn't work with material IDs?
Aleksandar Mitov
www.renarvisuals.com
office@renarvisuals.com
3ds Max 2023.2.2 + Vray 7 Hotfix 1
AMD Ryzen 9 9950X 16-core
96GB DDR5
GeForce RTX 3090 24GB + GPU Driver 566.14Tags: None
-
Not really, even without VrayDisplacement Mod, displacement its only applied to the part where has it (while with modifier you need to activate "use object material" just like you said).
Could you share your material and modifier setup?
"use object material" in Displacement Mod
Displacement on Material
No "use object material" on Displacement Mod
Last edited by ChuckRT; 29-02-2024, 04:37 PM.
-
Thanks, ChuckRT. I found what the problem was! The "Shift" parameter of the VRayDisplacementMod modifier shifts the whole objects, not just the materials with displacement. If I set Shift to 0, things look correct. Unfortunately, the displaced geometry now expands too much and I can't shift it back to it's original place as this will shift the whole object. Is there a way to shift it in the material?Last edited by Alex_M; 01-03-2024, 09:22 AM.Aleksandar Mitov
www.renarvisuals.com
office@renarvisuals.com
3ds Max 2023.2.2 + Vray 7 Hotfix 1
AMD Ryzen 9 9950X 16-core
96GB DDR5
GeForce RTX 3090 24GB + GPU Driver 566.14
Comment
-
What if you shift via subtracting a VRayColor from your map?
Be sure the texture high and low settings cover your range (e.g. -1 to 1 ).
So if your original image is 0-1.0 then subtract 0.5 via VrayCompTex and a VrayColor.
Note I did not test this just now, and there may be some other gotcha.
Comment
-
Good idea! I will try it out and report the results.Aleksandar Mitov
www.renarvisuals.com
office@renarvisuals.com
3ds Max 2023.2.2 + Vray 7 Hotfix 1
AMD Ryzen 9 9950X 16-core
96GB DDR5
GeForce RTX 3090 24GB + GPU Driver 566.14
Comment
Comment