Animated object visibility doesn't work with decals

Hi,
It looks like the animate object visibility does not work with decals from my testing, (I am doing so via LiveLink) this would be really helpful so we can animate things like footprints etc.

It works in Vray GPU and CPU.

Thanks

EDIT: I can get a version of it working as long as you go from 0.0 visibility to 1 in a single frame. When it is over multiple frame you get the attached image/
ezgif-2-1160c1b065.gif

It works in Vray GPU and CPU.​

Are you sure about this ?
The setup I have works in V-Ray GPU, but not in V-Ray CPU.
The visibility of the decal object is completely ignored it seems in the CPU version.

As a workaround you can use a VRayColor texture connected to the Mask slot of the Decal object and animate its RGB multiplier.
The cutout texture of the decal goes in the opacity slot of the decal’s material.
This works in V-Ray CPU/GPU and Vantage.

See attached example file.

I will log the issue about the object visibility of decals in Vantage.

Greetings,
Vladimir Nedev
anim_mask_vray_color.zip (87.4 KB)

I think I fixed it.
If you could send me an example scene, I can use it to confirm the fix works with your exact setup.

Greetings,
Vladimir Nedev

Apologies, yes I thought I switched to CPU as well, but just double-checked and CPU it is ignored.

Took me a while to get this working! I didn’t realise that you were NOT animating the visibility as well. After leaving visibility at 1, it works perfectly with the color in the mask slot and animating the multiplier. However, in my case animating the multiplier to 2 instead of 1 made it look correct, 1 it was still only semi-transparent.
My decal setup had a proper mask in the opacity slot of the decals material already.

Thanks for the workaround
sanddecalworking.gif

The scene is super heavy but this was the original setup


However, in my case animating the multiplier to 2 instead of 1 made it look correct, 1 it was still only semi-transparent.

I guess it’s because the Red, Green and Blue components of the VRayColor texture are 0.5 by default, I set them to 1 first.

Greetings,
Vladimir Nedev