Opacity slot and 2d displacement

Anyone knows if opacity slot and 2d displacement can work together or am I loosing my time?

As an example I’m tring to create a simple carpet using an original picture as diffuse, a black and white mask as opacity in order to preserve its irregular profile and another bitmap (a procedural noise rendered as image) as 2d displacement.

With displacement switched off everything works but when it’s on it seems not evaluating the opacity slot.

am I missing something?

thanx in adavance

a.

maybe you can use a mix map and mix your displacement map with the opacity map then use the displacement clipping (i believe its called waterlevel i havent used it in a while)

it seems to work just fine here:

rivoli: you got my goal!
what do u have to clip the displacement?

da_elf: I think that water level only works on horizontal direction

a.

it’s just a vray mat with a clipping map in the refraction slot, and ior set to 1,0. that’s about it, displacement is 2d as in your case.

ahh, I forgot to try with the refraction slot (ior 1) instead of the opacity one!

it seems a no-sense wasting that precious slot for a silly task like clipping but if it works I’ll follow that way! :wink:

thanx a lot

a.

well, at least in this case you can get away with no refractions. unless your carpet actually does refract light.

btw, I just tried the same mat with the clip map in the opacity slot, and it works just fine. can’t see why it doesn’t for you:

I tried with a sample scene like yours and yes, it works with the opacity slot too; so I supposed that it was someway related with the messy tiff that I was using; I solved cleaning all the extra channels from both maps and working only with RGB.
Now I’ve only some issue with antialiasing but this could be due to unclean masking or filtering.

thanx again for your help

a.

well, glad you sorted it out.