samsam
Anyone successfully pulled this off or is it even possible?

I'm trying to blend 2 textures based on a boundingObject from an attributeTransfer plugged into a arrayToTexture2D...
Reply 0 0
pshipkov
Just to confirm - this is possible.
If you want to do it on per-pixel basis then you should use textureToArray2d. But this will work only in Maya Software render.
In MR you can use the colorPerVertex node - the blending will happen based on mesh connectivity.
Same goes with Arnold and VRay - just use their ways of passing vertex color info to the shader.
Reply 0 0
samsam
Thanks I got it working with shaderFx and attributeTransfer vertex colors :)
Reply 0 0
pshipkov
Sounds like you are aiming at VP2 representation, correct ?
Reply 0 0
samsam
Yup. So my setup is attributeTransfer colors with shaderFx vertexColor node set to the correct colorSet. Then in shaderFX i am doing a lerp between two texture maps based on the alpha of the vertexColor node in shaderFX.

It works great!
Reply 0 0
pshipkov
got it.
Reply 0 0
Reply