Hiding object but still casting shadows onto Alembic geometry cache not working

Video explanation here - Allembic geometry cache hidden shadows - YouTube

Does anyone know how to cast shadows onto an alembic geometry cache mesh from a hidden object/mesh/primitive using a directional light (or any other light if needed).

#UE5 #allembic #geometrycache

I figured out a solution.

  1. Create a new material for the box you want to cast shadows but be hidden and assign it to the box
  2. Set blend mode to Alpha Holdout
  3. Set material domain to post process