I'm trying to find a mask material that will allow me to apply a material based on the height and/or slope of a mesh. Does VRay have something like that? I can't find anything anywhere.
Announcement
Collapse
No announcement yet.
Apply material by slope and/or height
Collapse
X
-
I'm not sure if this will produce the result you are after but you can try using the VRayCurvature or VrayDirt map. Just plug them in the mask slot of the coat material in VrayBlendMtl.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
-
For the height, you can use a Falloff texture in World Z mode, for example. For the slope, you can take the blue component output of a VRaySamplerInfo texture with mode set to "Normal vector" and coordinate system set to World.
Best regards,
VladoI only act like I know everything, Rogers.
Comment
-
In a Vray Blend, Vray Distance Tex, based on an other object that could <control> the texture changeAlain Blanchette
www.pixistudio.com
Comment
-
-
-
Originally posted by vlado View PostFor the height, you can use a Falloff texture in World Z mode, for example. For the slope, you can take the blue component output of a VRaySamplerInfo texture with mode set to "Normal vector" and coordinate system set to World.
Best regards,
Vlado
For the height is usually take a gradient and use a planar mapping in x or y axis as mask.
For slope mapping there is also the Top Bottom material in max. It takes overhangs into account unlike a falloff but the blending between both materials is always linear and can not be as fine adjusted as with a falloff.
In hte attached example I used falloff for slope mappingLast edited by samuel_bubat; 18-04-2018, 01:41 AM.
Comment
Comment