How to create a shadow function?

so collision volume?