evaluation of animated textures in string parameter dont work

I am trying to have an animated looped texture in vrayLightDirect or vrayLightSpot. I use the expression `padzero(4,$F%50)` and if i middle click i get the right evaluation to 0010(depending on the frame i am on). But when i render i only see the texture with 0001 and doesn’t pickup the correct one

/coppi/proj/geronimo/shottree/mvid/160/3d/textures/caustics/nmoq_assetb_caustics_shallowSlow_comp_v001.`padzero(4,$F%50)`.exr
/coppi/proj/geronimo/shottree/mvid/160/3d/textures/caustics/nmoq_assetb_caustics_shallowSlow_comp_v001.0010.exr

tell me if you need a scene, and i will try to find time to fix one

This is not supported unfortunately; I’ll check what we could do.

Hello,

we have limited support for expressions in the Image File node (that is what is used in the background for the Light texture parameters). If you need more complicated expressions, I would suggest using the Image File node directly, and referencing it in the light texture’s parameter.

I’ve attached an example here: https://drive.google.com/file/d/1V9F1jUJRUYule51C9Pv3zfQ6rFtR-fmz/view?usp=sharing
The sequence Frame Number is driven by an expression there.

We’ll try to figure out a way to expand support for expressions in the File field itself to make things more consistent.

Hope that helps!

this solves my problems, thanks guys!