Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Volume Masking

6 REPLIES 6
Reply
Message 1 of 7
dhanad
476 Views, 6 Replies

Volume Masking

Is it possible to use a mask to blend between the volume shader and the surface shader that is applied to same mesh? So the geometry has a aiStandardSurface applied, as well as aiStandardVolume, I would like to use a mask to have only masked areas blending into volume and not the entire mesh.

Tags (1)
Labels (1)
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: dhanad

You can use StateVector (as Po variable ) with RampFloat as a mask in MixShader


Message 3 of 7
dhanad
in reply to: Anonymous

I would plug that in to the Mix slot. and have the 2 shaders (volume and standard surface) in the two shader 1 n 2 slots?

Message 4 of 7
Anonymous
in reply to: dhanad

something like this, but you have to change the input from Y to z or X as needed
7389-statevector.jpg

Message 5 of 7
dhanad
in reply to: Anonymous

Thanks rachid, I tried doing that. Maybe I am doing something wrong. It appears once set the step size in volume attributes for the mesh, the geometry renders complete as volume, and if dont use aiStateVector and RampFloat nodes, and just simply use the mix slider, the surface shader renders invisible.

Message 6 of 7
Anonymous
in reply to: dhanad

Here is a simple test scene: 90.1MB
https://wsi.li/dl/t4v4q9PLonCRgo7nm/274e6a
7390-statevector-mix.jpg


Message 7 of 7
dhanad
in reply to: Anonymous

Thanks rachid. I will download and check your test scene out. I am pretty sure I am doing something wrong. I will report back!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report