Licenses and Licens terms

Hi everyone,
Question is: while I was making VFX for movies i could buy assets, textures and models and use them how i wanted to create whatever effect i needed in that movie and my client would have rights to that movie. I am wondering how its working with VFX for games. Final product will be game so its not reselling textures or materials. I am making some VFX as freelancer and I buy some asset from lets say fab like textures,models or decals, can i give my effect that use them to some company to use it in their game or this company would need to buy rights to use them?